Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[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!