Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: Applescript...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 1522 of 1612
Post > Topic >>

Re: Applescript RSS

by Jerry Kindall <jerrykindall@[EMAIL PROTECTED] > Oct 29, 2007 at 06:47 PM

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.




 6 Posts in Topic:
Applescript RSS
alistair <alistair.cal  2007-10-29 08:38:25 
Re: Applescript RSS
Jerry Kindall <jerryki  2007-10-29 18:47:36 
Re: Applescript RSS
has <has.temp3@[EMAIL   2007-10-30 02:45:54 
Re: Applescript RSS
Sander Tekelenburg <us  2007-10-31 03:29:09 
Re: Applescript RSS
has <has.temp3@[EMAIL   2007-10-31 01:04:58 
Re: Applescript RSS
Sander Tekelenburg <us  2007-10-31 14:01:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 5:53:07 CDT 2008.