Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Automator, curl, safari and "feeds:"

Automator, curl, safari and "feeds:"
Thread Tools
Mac Elite
Join Date: Oct 2000
Location: Baltimore, MD
Status: Offline
Reply With Quote
Apr 25, 2005, 01:50 PM
 
So apple in all their wisdom changes "http://" to "feed:" when viewing rss feeds in safari. When you do a search and save it in safari it changes "feed:" (or "html:" if you change it in the location bar) to "feeds:". Unfortunately, curl, what automator uses to do any sort of "download link" or "download url" from safari doesn't support anything but standard protocol prefixes like "http:" or "ftp:". So basically, you can't do an automator script to a saved search or a bookmarked rss feed. Has anyone found a way around this?
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Apr 25, 2005, 02:10 PM
 
You would just need to do a regexp replace of the strings, this is not a big deal. Automater supports AppleScript plugins, so you can make this for yourself.
     
Mac Elite
Join Date: Oct 2000
Location: Baltimore, MD
Status: Offline
Reply With Quote
Apr 25, 2005, 02:36 PM
 
You would just need to do a regexp replace of the strings, this is not a big deal. Automater supports AppleScript plugins, so you can make this for yourself.

if i have to do all that, then there's really no point in busting out automator now is there?
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Apr 25, 2005, 03:45 PM
 
The point is that you can still use this with Automater. But since you are talking about a single item rather than a workflow, Automater is probably the wrong item.
     
Mac Elite
Join Date: Oct 2000
Location: Baltimore, MD
Status: Offline
Reply With Quote
Apr 25, 2005, 03:52 PM
 
actually it is part of a workflow. What i started doing was setting up a workflow to go to the rss feed of a torrent site, grab the url of the most recent torrent thats in a saved search, download it, then open it up for download. but since it doesn't work with a saved search (the rss feed isn't broken up by section, hence the saved search), I might as well just applescript the whole process? I'm just irked that apple didn't make automator's safari functions work with a saved search due to the way they handle saving and accessing that kind of information.
     
Mac Elite
Join Date: Sep 2001
Location: Some dust-bowl of a planet
Status: Offline
Reply With Quote
Apr 25, 2005, 04:43 PM
 
Automator has lots of little holes like this that are frustrating...but I guess it's up to us to write actions to fill the void. Still, it sounds like you could embed an applescript to parse the urls correctly? I'd like to take a look at your workflow, maybe I can help.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:16 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2