bitsoffreedom / newspeak

Newspeak van de Nederlandse overheid.
https://rejo.zenger.nl/inzicht/newspeak-van-de-nederlandse-overheid
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Re-enable conditional updating #19

Closed dokterbob closed 11 years ago

dokterbob commented 11 years ago

Currently, incremental updates based on feeds and entries' updated value is disabled because it behaves badly when filters are changed or XPath expressions for extracting contents change.

The elegant way to solve this is adding a refresh property to the Feed model which gets set every time a KeywordFilter or XPath expression is changed for a feed. Whenever this property is set for a feed, the incremental mechanism should be disabled entirely the next time a feed is processed, after which the refresh property should be reset to false to enable it again the next time.

dokterbob commented 11 years ago

Re-enabled in 2d6d46f5aa6732a0902309652ee7d8e2f8b679e4