Applescript to automate combining & uploading RSS feeds
$30-100 USD
Cancelled
Posted about 15 years ago
$30-100 USD
Paid on delivery
I'm running an application that several times an hour automatically exports an .rss document (RSS 2.0, XML 1.0) to a local folder. I need an automated AppleScript to prepend the Items in each successive export to those in a 'master' .rss document, and to cull the Item Descriptions and the Items themselves, if that's possible.
It would work something like this:
(Whole #s are necessary, decimals are desired.)
***
Upon new XML .rss document D1 (containing a list of one or more Items, each holding content within Title, Description, and URL) appearing in folder F1.
0.1) If the URL of any Item in D1 matches that of any of a predefined list of URLs, or starts with that of any in a separate list of URLs, delete that Item.
0.2) If the URL, Title, or Description of any Item in D1 matches the URL, Title, or Description of any Item in already-existing XML RSS document D_Master (contained in folder F2) delete that Item.
0.3) Trim the Description of each Item in D1 to the first (n) words.
1) Prepend the list of Items contained in D1 to the list if Items in D_Master.
1.1) Trim the list of Items in D_Master to the first (n1).
2) Delete document D1.
***
This is for a personal, noncommercial project...so my budget is tight - unfortunately can't go above $150 (hoping for less!)...but since this involves using AppleScript to parse XML, I may be out of luck.
Also, (assuming it's even even possible to do all / most of this in AS, on my budget), I'd love to get something in hand by early next week (16-17 Mar.) if at all possible.
Thanks in advance.
## Deliverables
Not sure if all of this is possible in AppleScript...but at minimum need the automated prepending and uploading. I will have control over all variables described in my 'Process', except the Title, Description, and URL of each Item. Also, not all documents (D1-D4, etc) will necessarily be placed in the folder every hour - may be irregular.