
Mike4172
User
Jul 13, 2006, 12:09 PM
Post #3 of 7
(9495 views)
Shortcut
|
|
Re: [ross] Automizing AP / Reuters / Other Feeds Into AM
[In reply to]
|
Can't Post
|
|
Hi Ross, Well its designed to run on a cronjob but you can run it manually as well. In order to have real time news from these news agencies, I'd strongly recommend having a cronjob run say every hour or 30 mins, whatever the user would like. That way it can be a set it and forget it feature without the user ever having do anything manually. With the news agencies (AP, Sportsnetwork etc), they offer both a GET method and a PUT method. With the PUT method, they open an FTP connection and put the files in a specified dir. This script looks at predefined times for the appropriate files (standard is .xml), then exports out the title, date, content, meta tags ect, imports them into AM, deletes the original XML file, then publishes the new data in AM. Regards, Michael [red]NEW![/red][url "http://amscripts.net/webdesign/#logo"]Logo and Website Design[/url] [url "http://amscripts.net/amaddons/#apde"]Auto Post Date and Expiration[/url] [url "http://amscripts.net/amaddons/#goforum"]GoForum 2.02[/url] [url]http://www.amscripts.net[/url] [url "http://www.skype.com"]SKYPE[/url] - michael.amscripts
|