In article <1193647105.746756.237870@[EMAIL PROTECTED]
>,
alistair <alistair.calder@[EMAIL PROTECTED]
> wrote:
> Is there any way to acquire an RSS feed using Applescript? I'd like
> to be able to specify the RSS URL, then have Applescript consume the
> most recent 5 entries.
The easiest and most reliable way to do this is probably to script an
RSS reader, such as NetNewsWire. Such programs have had significant
work to handle noncompliant feeds, which you will run across regularly,
and typically also support Atom as well as RDF/RSS.
The second easiest approach will likely be to use a Perl/Python/Ruby
library to do the heavy lifting, and call it from the AppleScript.
I wouldn't advise trying to write an RSS parser in AppleScript.
--
Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>
Send only plain text messages under 32K to the Reply-To address.
This mailbox is filtered aggressively to thwart spam and viruses.


|