View Single Post
Old 10-18-2014, 04:04 AM   #1
EnergyLens
Hack
EnergyLens began at the beginning.
 
Posts: 34
Karma: 12
Join Date: Dec 2009
Device: Kobo Aura HD, Kindle Paperwhite
Modify TOC *after* all feeds downloaded

Sorry if this is a bother. I've searched every way I know how to see if this or something similar has been covered before...

I am trying to figure out how to modify the table of contents after all feeds have downloaded. The title used in the TOC generated by news recipes is taken from the tuple (title,url) that is returned in feeds from parse_index, but sometimes useful title information is available only *after* an article has been processed.

I can use populate_article_metadata to access information from within the body of an article to modify title, date & etc. but this unfortunately has no effect for the TOC that is ultimately generated.

Is it possible to modify the feedobject at any point after parse_index, and if so, how?

Thanks you!
EnergyLens is offline   Reply With Quote