fepeacock wrote:The problem is that it contains links to the files I need to process on. I would like to obtain the contents of these links in the feed xml file. I presumed in the downloaded offline content would be stored on the hard-drive but it appears to be stored in some fashion that awasu encodes.
Ah, you mean the links to the actual item content? When Awasu downloads these for offline reading, it stores them in the archive database, not as separate files. They are made accessible via URL's of the form <tt>http://127.0.0.1:2604/offline/item/*XXX</tt> where <tt>XXX</tt> is Awasu's internal item ID (mouse over the special
icon in the channel summary pages to see what I mean). Awasu opens up a socket on this port and processes any requests of this form by retrieving the item content from the archive database and returning it to the browser.
The main problem I see with what (I think) you're trying to do is that channel hooks are invoked as soon as each new feed item is received, but the linked-to content almost certainly won't have been downloaded yet (it gets queued for download, perhaps at a later time and definitely after anything that is in the queue before it).
So you would either need to run a batch job, say overnight, that went through the list of new items recently received and check to see if the linked-to content was available yet in Awasu or, probably much easier, just get the channel hook to download it itself when it gets invoked.
fepeacock wrote:Also the link to obtain the MySQLChannelHook does not work anymore. I cannot download either of the two versions.
Hmm, something's gone weird somewhere. We're sorting this out now. Thanks for letting us know.