pschwede / AnchorBot

The more often you click a word in the headlines, the more interesting are your news.
13 stars 2 forks source link

switch from dynamic flask to static html generation #25

Closed pschwede closed 10 years ago

pschwede commented 12 years ago

Compiling the best article representation of a week takes much time. Consider static html generation instead of a running server with sqlite-requests and low delays for interactivity.

For example, use hyde to generate an overview on the news of a week and all articles in detail, etc.

So the bot can generate one per week on its own or at user's demand.

pschwede commented 12 years ago

http://jinja.pocoo.org/docs/ – use this and write rendered templates to a deploy-folder which are served by a simple static page server.

pschwede commented 10 years ago

A static mode is senseless. All the machine learning features would be gone.