Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by nicpottier on Wednesday March 02, 2011 @01:24AM
(#2278662)
We built a backend similar to this for our NewsRoom mobile client. (Android and Pre) Actually used some genetic algorithms to do the training for our content extraction, one of the more fun projects I've done.
Word of warning, if it takes off, you basically start turning into someone who is both caching and harvesting the web every 15 minutes. There is an incredibly long tail on RSS feeds and it starts killing you to keep them all up to date. Storing and serving it is no big deal, but harvesting actually turns into real money when you figure out total bandwidth used. (we harvest about ~30,000 feeds every 15 minutes)
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by nicpottier on Wednesday March 02, 2011 @07:28AM
(#2279313)
Amazon EC2, MongoDB, S3. The EC2 instances scale with how many stale feeds we have, but it is usually less than 2.
Just checked and we have ~25k feeds in the system, though not all are deep harvesting as we call it.
Note we do a few things over just extracting the full content as well, we also try to grab out images and create a pleasing thumbnail using face detection etc.. So that probably slows things down a good deal as well.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by yesimahuman on Tuesday March 01, 2011 @07:55PM
(#2278011)
Boilerpipe is by far the best tool for this that I've ever found (http://code.google.com/p/boilerpipe/). I'd be interested to hear if he is using something better, but I'd be surprised if he is.
I think this is a great idea and very similar to a lot of stuff I have worked on recently. It's cool to see so much interest in these text-related services.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by nikcub on Wednesday March 02, 2011 @02:11AM
(#2278740)
Thanks for that link - exactly what I was looking for
btw I know that at Techmeme, Gabe spent years perfecting his story parsing for the 50k+ sites he tracks. Even something that would seem simple such as parsing the date of a story from a webpage has a ridiculous number of permutations that you have to grep for.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by benmccann on Tuesday March 01, 2011 @11:09PM
(#2278407)
I don't think it's quite as good as what he's doing though. He has the title and date specifically pulled out and he doesn't have any extra text included. I think he manually handles CNN. If I try a HuffPost feed it doesn't work at all.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by yesimahuman on Wednesday March 02, 2011 @12:47AM
(#2278600)
Yea, I'd be curious to see exactly what he's doing. I can only guess there is a heuristic which results in a lot of failed feed processing noticed on here (I know it's just a weekend project :)) that doesn't generalize well. Boilerpipe, in my experience, works very well on almost all news/blog type content. Finding the date in the first few sentences and the title are extra heuristics that can be added later.
EDIT: The date and title are in the RSS feed already! No further analysis needed.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by spidaman on Tuesday March 01, 2011 @06:48PM
(#2277808)
Does this work for anybody? I've plugged in 3 feeds, one was "unable to retrieve full-text content" (an sfgate.com feed) and the other two returned nothing at all in the preview (one a feed from kqed.org, the other an older wordpress blog).
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by spidaman on Tuesday March 01, 2011 @07:04PM
(#2277849)
Hrm, that one loads fine... but fulltextrssfeed.com/www.sfgate.com/rss/feeds/blogs/sfgate/offtherecord/index_rss2.xml fails with "unable to retrieve full-text content" and fulltextrssfeed.com/www.kqed.org/rss/arts.xml fails with "Unable to parse this page for content."
I have a lot of experience with fetching and parsing feeds and pages, so I'm not trivializing the problem, just observing issues I'm seeing with this solution.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by clvv on Tuesday March 01, 2011 @09:10PM
(#2278183)
A similar service: http://fivefilters.org/content-only/ and it is opensource too. It uses a PHP version of readability to extract the full content. Also can the author of fulltextrssfeed.com explain some of the implementation details? I was planning on a similar project with node.js, jsdom and readability.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by hokkos on Wednesday March 02, 2011 @05:31AM
(#2279094)
Is it legal ? Can you legally copy all the content of a site and publish it while striping the ads ?
I've tough of this idea since 2 years, but I am so ineffective at building my own ideas that it doesn't surprise me that someone else built it, as the idea was really floating more and more since instapaper mobilizer.
Considering the legal aspect I had more ideas about that. It is to hide behind the DMCA takedown, and provide an email address to take-down a feed. But do not map the www.example.com/feed.xml to http://fulltextrssfeed.com/www.example.com/feed.xml , but use an alias, so the take-down just remove the alias not the whole * .example.com*.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by yahelc on Tuesday March 01, 2011 @10:58PM
(#2278390)
Considering the impending lawyer-takedown, it would be great if this was made open source, so people can implement their own local versions on their own servers.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by yagibear on Tuesday March 01, 2011 @06:32PM
(#2277749)
Could you also do the opposite: Take bulky feeds (e.g. http://feeds.feedburner.com/tedblog) and truncate them; showing title & first para & include a link? I use RSS primarily to scan what is available and mark some for later reading, and bulky feeds interrupt the scanning process.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by cvandyck76 on Tuesday March 01, 2011 @11:41PM
(#2278476)
Is there an argument to be made that the content providers only get 'paid' if the RSS reader is enticed to click through to the site? I'm all for neat services, but I think that this is a little bit unfair to the other party.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by tuhin on Wednesday March 02, 2011 @02:53AM
(#2278814)
Not trying to be the show stopper here, but this is illegal right? I mean especially news sites like Reuters do create a fuss when this is done.
Is that (legal drama) only in commercial projects or otherwise too?
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by netmau5 on Tuesday March 01, 2011 @06:34PM
(#2277758)
Nice, this will come in very useful for an RSS-based project I'm working on too. Hopefully I won't slam your servers too hard. Are you considering making the source available?
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by timrosenblatt on Tuesday March 01, 2011 @06:37PM
(#2277764)
it's not mine, it's a project a friend threw together over the weekend. It's on a shared host, but I'm trying to help light the server on fire so he puts it on something more heavy duty. :)
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by pak on Tuesday March 01, 2011 @08:35PM
(#2278091)
This is nice but what's the difference from ViewText (http://www.viewtext.org)? ViewText has a JSONP API, which made it perfect for building into a recent little project I did (it was a web app). Plus, it's been around for a lot longer.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by ericgs on Tuesday March 01, 2011 @08:44PM
(#2278107)
Just tried viewtext on lifehacker's feed and got:
"We understand you'd like to delete your account. If you delete your account all of your information including your comments, messages, posts, and friends and followers associations will be removed from our system. Please consider the following options before clicking delete."
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by boctor on Tuesday March 01, 2011 @06:41PM
(#2277785)
Why do a couple of articles in that feed say either "Unable to parse this page for content" (daringfireball.net) or "unable to retrieve full-text content" (nytimes.com)?
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by timrosenblatt on Tuesday March 01, 2011 @06:50PM
(#2277812)
it's still just a weekend project, but if everyone keeps throwing love at it like this, it might be more than a weekend project. he's working on it now. :)
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by getsat on Tuesday March 01, 2011 @07:09PM
(#2277869)
Not really. I can Right Click -> Copy XPath in Firebug's element inspector then just Nokogiri::HTML(page_source).xpath('/blah') to get at it. You can do it with the CSS selector as well. :)
Setting up a quick script to rip all the content from another site is trivial. There's also wget -m
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by geoffw8 on Tuesday March 01, 2011 @07:30PM
(#2277939)
I literally cannot get nokogiri set up on my Mac for love nor money, I'm a noob whose been trying for a week or two. Tried everything. Its preventing me from running tests. Damn xmllibs2.
Add /opt/local/bin to your PATH (bashrc or zshrc or whatever you use).
sudo port install libxml2 and sudo port install libxslt
Then sudo gem install nokogiri --no-rdoc --no-ri should run with no issues. That's all I had to do for the system ruby (1.8.7 on OSX 10.6) and 1.9.2 via rvm.
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by geoffw8 on Thursday March 03, 2011 @07:25PM
(#2286367)
So it turned out it was webrat that was the problem, but your instructions actually fixed the problem! I'd researched for hours previously. Genuinely much appreciated!
Re:Full Text RSS Feed: Get the whole feed and nothing but th...
by iphoneedbot on Wednesday March 02, 2011 @12:52AM
(#2278613)
I love it! It works for tumblr rss -- I really wish though that it you can opensource it. (Well, I would just hate it if you start having hosting problems or other problems that would cause you the need to shut down)
Word of warning, if it takes off, you basically start turning into someone who is both caching and harvesting the web every 15 minutes. There is an incredibly long tail on RSS feeds and it starts killing you to keep them all up to date. Storing and serving it is no big deal, but harvesting actually turns into real money when you figure out total bandwidth used. (we harvest about ~30,000 feeds every 15 minutes)
Just checked and we have ~25k feeds in the system, though not all are deep harvesting as we call it.
Note we do a few things over just extracting the full content as well, we also try to grab out images and create a pleasing thumbnail using face detection etc.. So that probably slows things down a good deal as well.
What's the difference between a Cease & Desist letter from a big company, and free advertising for a startup?
I think this is a great idea and very similar to a lot of stuff I have worked on recently. It's cool to see so much interest in these text-related services.
btw I know that at Techmeme, Gabe spent years perfecting his story parsing for the 50k+ sites he tracks. Even something that would seem simple such as parsing the date of a story from a webpage has a ridiculous number of permutations that you have to grep for.
EDIT: The date and title are in the RSS feed already! No further analysis needed.
i.e. http://lifehacker.com/vip.xml
I have a lot of experience with fetching and parsing feeds and pages, so I'm not trivializing the problem, just observing issues I'm seeing with this solution.
I've tough of this idea since 2 years, but I am so ineffective at building my own ideas that it doesn't surprise me that someone else built it, as the idea was really floating more and more since instapaper mobilizer.
Considering the legal aspect I had more ideas about that. It is to hide behind the DMCA takedown, and provide an email address to take-down a feed. But do not map the www.example.com/feed.xml to http://fulltextrssfeed.com/www.example.com/feed.xml , but use an alias, so the take-down just remove the alias not the whole * .example.com*.
http://fulltextrssfeed.com/www.aaronsw.com/2002/feeds/pgessa...
http://pipes.yahoo.com/pipes/
And yeah, it was built in a weekend :) But now you don't have to.
"We understand you'd like to delete your account. If you delete your account all of your information including your comments, messages, posts, and friends and followers associations will be removed from our system. Please consider the following options before clicking delete."
Yikes! =X
(also, that needs to be fixed asap, lest anyone get the wrong idea)
Yet another service that requires me to hand over information on what I read.
Why couldn't this be made as a privacy-respecting application I can run from my own machine?
Works well for keeping up with HN too :)
Setting up a quick script to rip all the content from another site is trivial. There's also wget -m
Add /opt/local/bin to your PATH (bashrc or zshrc or whatever you use).
sudo port install libxml2 and sudo port install libxslt
Then sudo gem install nokogiri --no-rdoc --no-ri should run with no issues. That's all I had to do for the system ruby (1.8.7 on OSX 10.6) and 1.9.2 via rvm.
Im currently using "Readable Feeds" Nirmal J. Patel (http://www.nirmalpatel.com/hacks/hnrss.html) and Andrew Trusty (http://andrewtrusty.com/2009/06/29/readable-feeds/)
I like it -- but its really inconsistent!
Cheers,