Awesome one liner! News harvester in one line. Requires 2.5.6
[1/2] from: doug::vos::eds::com at: 18-Oct-2003 14:11
foreach x remove-each x load/markup http://drudgereport.com <http://drudgereport.com> [any [tag? x not find x "..." find x drudge ]][print x] Awesome one liner grabs all the latest news headlines from drudge, remove all tags and non-news items, and displays each headline. Requires core 2.5.6 because uses 'remove-each (new function). Another variation... Print remove-each x load/markup http://drudgereport.com <http://drudgereport.com> [any [tag? x not find x "..." find x "drudge"]] How does these get added to the rebol one liner page at http://www.rebol.com <http://www.rebol.com> ?? Enjoy!
[2/2] from: SunandaDH:aol at: 18-Oct-2003 15:27
> How does these get added to the rebol one liner page at http://www.rebol.com > <http://www.rebol.com> ??
Nice! The one-liner "competiton" at REBOL.com had a message saying it was closed -- though they never announced winners. That message has gone, but I don't think the service has been reopened: http://www.rebol.com/oneliners.html Most of the one-liners have been republished on REBOL.org: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?find=oneliner Feel free to add it there if you like. Sunanda.