Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Applescript RSS

 
   Macintosh computer (Home) -> Apple Scripts RSS
Next:  Leopard and Apps  
Author Message
alistair

External


Since: Oct 03, 2007
Posts: 2



(Msg. 1) Posted: Mon Oct 29, 2007 8:38 am
Post subject: Applescript RSS
Archived from groups: alt>comp>lang>applescript (more info?)

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.

Thanks,
A

 >> Stay informed about: Applescript RSS 
Back to top
Login to vote
Jerry Kindall

External


Since: Jul 09, 2003
Posts: 926



(Msg. 2) Posted: Mon Oct 29, 2007 6:47 pm
Post subject: Re: Applescript RSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1193647105.746756.237870 RemoveThis @v29g2000prd.googlegroups.com>,
alistair <alistair.calder RemoveThis @gmail.com> 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.

 >> Stay informed about: Applescript RSS 
Back to top
Login to vote
has

External


Since: Nov 01, 2007
Posts: 6



(Msg. 3) Posted: Tue Oct 30, 2007 2:45 am
Post subject: Re: Applescript RSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 29 Oct, 08:38, alistair <alistair.cal....RemoveThis@gmail.com> 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.

ParserTools includes an RSS feed reader/parser:

http://osaxen.com/files/parsertools0.2.1.html

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
 >> Stay informed about: Applescript RSS 
Back to top
Login to vote
has

External


Since: Nov 01, 2007
Posts: 6



(Msg. 4) Posted: Wed Oct 31, 2007 1:04 am
Post subject: Re: Applescript RSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 31 Oct, 02:29, Sander Tekelenburg <u....TakeThisOut@domain.invalid> wrote:

> >http://osaxen.com/files/parsertools0.2.1.html
>
> Can't be downloaded though. The URL to the file,
> <http://files.macscripter.net/Osax2/Data-Manipulation/parsertools-0.2.1.d
> mg>, is returned by a page saying "INTERNAL ERROR" (And yet stupidly
> claims a HTTP Status of "200" :( Plus if you try that URL direct, it
> tosses a truckload of HTML at you to say that a Referer is required.)

Download link seems to be working here. If you're having problems,
contact the osaxen.com maintainer.

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
 >> Stay informed about: Applescript RSS 
Back to top
Login to vote
Sander Tekelenburg

External


Since: Nov 07, 2003
Posts: 742



(Msg. 5) Posted: Wed Oct 31, 2007 3:29 am
Post subject: Re: Applescript RSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1193737554.292940.306840 RemoveThis @50g2000hsm.googlegroups.com>,
has <has.temp3 RemoveThis @virgin.net> wrote:

> On 29 Oct, 08:38, alistair <alistair.cal... RemoveThis @gmail.com> 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.
>
> ParserTools includes an RSS feed reader/parser:
>
> http://osaxen.com/files/parsertools0.2.1.html

Can't be downloaded though. The URL to the file,
<http://files.macscripter.net/Osax2/Data-Manipulation/parsertools-0.2.1.d
mg>, is returned by a page saying "INTERNAL ERROR" (And yet stupidly
claims a HTTP Status of "200" :( Plus if you try that URL direct, it
tosses a truckload of HTML at you to say that a Referer is required.)

--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"
 >> Stay informed about: Applescript RSS 
Back to top
Login to vote
Sander Tekelenburg

External


Since: Nov 07, 2003
Posts: 742



(Msg. 6) Posted: Wed Oct 31, 2007 2:01 pm
Post subject: Re: Applescript RSS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1193817898.824501.11610.RemoveThis@y42g2000hsy.googlegroups.com>,
has <has.temp3.RemoveThis@virgin.net> wrote:

> On 31 Oct, 02:29, Sander Tekelenburg <u....RemoveThis@domain.invalid> wrote:
>
> > >http://osaxen.com/files/parsertools0.2.1.html
> >
> > Can't be downloaded though. The URL to the file,
> > <http://files.macscripter.net/Osax2/Data-Manipulation/parsertools-0.2.1.d
> > mg>, is returned by a page saying "INTERNAL ERROR" (And yet stupidly
> > claims a HTTP Status of "200" :( Plus if you try that URL direct, it
> > tosses a truckload of HTML at you to say that a Referer is required.)
>
> Download link seems to be working here.

macscripter.net requires a (http) Referer from osaxen.com[*]. I by
default have cross-site Referers blocked in my browser, because I see no
reason why sites should be able to track me. Telling macscripter.net
"Hi, I was referred to here by osaxen.com" makes the download work.

> If you're having problems,
> contact the osaxen.com maintainer.

I won't. For several years I've tried to help truckloads of sites to fix
what they broke. 99% of them don't want to know. They just get
defensive, or don't respond at all. Helping web designers to do things
'right' is useless. I'm now taking a different approach:
<http://webrepair.org/>.

I just thought I'd mention the problem because this is your osax and you
might care that its availablity is not needlessly restricted.



[*] The 'error' page actually does say they require a Referer. I hadn't
noticed initially.

--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"
 >> Stay informed about: Applescript RSS 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
New to Applescript - Hello, I'm brand new to Applescript - I've done a lot with VBS but never touched Applescript. Are there some good script repositories online? AppleScript Editors? Manuals? Any help will be greatly appreciated!!! TIA, Bill bill@2burkes.com

Leopard, Firefox & Applescript - Can anyone tell me why a script I wrote to log in to my bank no longer works in Firefox since I installed Leopard? Can it by fixed? Thanks

applescript for search with google - Hello, I'm a newbie to Macs and Mac scripting. In TextEdit, under TextEdit>Services, there's an item called Search with Google. Does anyone know whether this is an Applescript and if so, what it says? I'm hoping to adapt it to another text editing..

Can Applescript tell if computer is online? - Hi there, I would like to write a conditional Applescript. The script would trigger itself every few hours and if the computer is not connected to the Internet I would like it to execute some code. I have a bit of experience with AS but have no idea how....

Is there a quick reference to applescript - hello, i'm looking for a reference to applescript. i have read "apple-script for absolute beginners" (bert altenburg), but it was too less information in it. what i want is a more theoretical approach. i want to know about ALL types and ALL co...
   Macintosh computer (Home) -> Apple Scripts All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]