 |
 |
Automator, curl, safari and "feeds:"
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Location: Baltimore, MD
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|