passiomatic / coldsweat

Web RSS aggregator and reader compatible with the Fever API
MIT License
146 stars 21 forks source link

Periodically refresh a feed favicon #26

Closed passiomatic closed 10 years ago

passiomatic commented 11 years ago

Figure out a way to refresh a feed favicon.

It probably makes sense to add a new column last_updated_on to keep track of the freshness of the icon. This way Coldsweat periodically can ask Google favicon service to fetch it again.

More on that at this point it makes sense to get rid of the Icon model altogether, since every feed has an icon (1:1 relation). Two new fields icon (Base64) e icon_last_updated_on (Datetime) would be added to Feed model.

Then the Fever icons command would cycle thru the feeds and return the Feed.id and the Feed.icon data.