5 ms·
Nice. Grabs the whole article text so you don't have to leave the RSS reader.
by timrosenblatt 16y ago
Nice. Grabs the whole article text so you don't have to leave the RSS reader.
- timrosenblatt 16y agoLol: http://fulltextrssfeed.com/news.ycombinator.com/rss http://fulltextrssfeed.com/news.ycombinator.com/rss Works well for keeping up with HN too :)
- boctor 16y agoWhy 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)?
- timrosenblatt 16y agoit'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. :)
- dholowiski 16y agoThe content thieves will love it too. This makes it much easier to automatically copy content.
- roll 16y agoI wonder how long will it take till sites like lifehacker and heise.de will start blocking this service...
- getsat 16y agoNot 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
- geoffw8 16y agoI 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.
- getsat 16y agoInstall MacPorts: http://www.macports.org http://www.macports.org 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.
- geoffw8 16y agoThanks, just saw this. I'll give it a go now, much appreciated.
- geoffw8 16y agoSo 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!
- getsat 16y agoGlad I could be of assistance!
- evilduck 16y agoDo you have XCode installed? Nokogiri is a native extension, I don't think you can build them without the compiler tools installed.
- geoffw8 16y agoYes I do. I'll look into this, thanks!