News for hackers. Stuff that matters.
Re:Pocket Released (Formerly Read It Later) by camiller on Tuesday April 17, 2012 @11:13AM (#3852930)
OK, I think the bookmarklet/text scraper needs a little tweeking. I just tried Pocket's bookmarklet vs. Instapapers's on the "How Microsoft Fought True Open Standards" article that is also on the Hacker News front page. Pocket mis-identified the headline, instead getting the name of the blog. In fact the title of the article/blog post is not anywhere in Pocket's scrape.

Link to the article: http://blogs.computerworlduk.com/open-enterprise/2012/04/how...

Edit: It also didn't do well with Bruce Schneier's Crypto-Gram Newsletter at http://www.schneier.com/crypto-gram-1204.html

In both of these instances the simply needed to get the content of the <title> tag in the HTML. I would think (careful, here be dragons!) more often than not that the <title> tag should be a reliable way of getting the title of the story.

Re:Pocket Released (Formerly Read It Later) by LinaLauneBaer on Tuesday April 17, 2012 @02:10PM (#3854108)
The good thing is that Instapaper's extraction process can be modified by anyone who has an account:

http://www.instapaper.com/bodytext (Login required)

So if something is not working properly you can improve Instapaper on a site by site basis.

Re:Pocket Released (Formerly Read It Later) by camiller on Tuesday April 17, 2012 @02:15PM (#3854128)
I had no idea you could do that! That's cooler than the other side of the pillow!
Re:Pocket Released (Formerly Read It Later) by vincentmac on Tuesday April 17, 2012 @02:32PM (#3854240)
I just tried adding that Microsoft article via the Pocket Chrome extension (https://chrome.google.com/webstore/detail/niloccemoadcdkdjli...) and had no problems with it identifying the content correctly.
Re:Pocket Released (Formerly Read It Later) by camiller on Tuesday April 17, 2012 @05:57PM (#3855237)
I haven't tried the Chrome(or Firefox) extension(s), just the bookmarklet javascript that Pocket provides here: http://getpocket.com/welcome?b=Bookmarklet

I'll have to give the extensions a try when I get a chance.

Re:Pocket Released (Formerly Read It Later) by TazeTSchnitzel on Tuesday April 17, 2012 @12:19PM (#3853329)
Some web devs (like me! :D) are lazy and make the <title> tag always just the website's name.
Re:Pocket Released (Formerly Read It Later) by mikeklaas on Tuesday April 17, 2012 @01:40PM (#3853933)
As someone who writes an html content extractor, you have no idea how much I hate you.
Re:Pocket Released (Formerly Read It Later) by TazeTSchnitzel on Wednesday April 18, 2012 @11:59AM (#3858578)
Oh I hate myself too. I can't distinguish the tabs.
Re:Pocket Released (Formerly Read It Later) by Tyrannosaurs on Tuesday April 17, 2012 @12:27PM (#3853377)
The first H1 tag might be better (and would also work in this case).
Re:Pocket Released (Formerly Read It Later) by camiller on Tuesday April 17, 2012 @02:12PM (#3854116)
The first H1 tag in the computerworlduk article says "Blogs", the second has the title.