We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Tapping RSS with Shell Scripts
|
| Subject: |
|
REBOL is a very good scripting option |
| Date: |
|
2004-03-31 08:08:28 |
| From: |
|
brittlestar
|
|
|
|
curl, grep, sed... these are fundamental nix commands, but it also involves navigating the details of these commands. In contrast, REBOL offers a simple approach:
url: read http://slashdot.org/index.rss
parse/all url [
any [
<title> copy title to </title>
(print title)
|
<description> copy desc to </description>
(print desc)
|
skip
]
to end
]
REBOL is free and platform-independent (although not OSS). It's a very handy, very tiny, cross-platform scripting shell -- and it provides a capable built-in GUI (not yet on OSX).
For more info, see: http://www.rebol.com and http://www.rebol.net/cookbook/
|