[REBOL] Awesome one liner! News harvester in one line. Requires 2.5.6
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!