::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Now with individual pages for entries

January 12th, 2010
programming, python  [html]
In the past the news page was one giant html page. This was troublesome, because as I added more and more images it took longer to load. That view still exists, but it is no longer the default. The default is a page that has the 10 most recent entries. There is also a page that lists only the dates and titles for all entries. There are also pages for individual entries, such as this one.

Behind the scenes, all these other pages are statically generated from the html for the "all news on one page" version with the same code that makes the rss feed. Not really the standard way of doing this, but it's very simple.

Comment via: facebook

Recent posts on blogs I like:

Absolute scale corrupts absolutely

The Internet has gotten too big. Growing up, I, like many computery people of my generation, was an idealist. I believed that better, faster communication would be an unmitigated improvement to society. "World peace through better communication,"…

via apenwarr August 19, 2019

Traces

At naptime Anna listens to recordings of novels recorded by Jeff’s grandmother. It is the main way she will know Winnie, as it is the main way I have ever known Winnie. Some of the recordings are missing parts, and Suzie often fills in the first few sente…

via The whole sky August 18, 2019

One Night Ultimate Werewolf

I really like One Night Ultimate Werewolf (ONUW), and recommend trying it out. The Daybreak expansion is also good (but I’d skip the later games in the series). App For those who’ve played a lot and wish the night took 20 seconds rather than a few minutes…

via The sideways view August 18, 2019

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact