::  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:

Trip Chaining, Redux

There’s been an ongoing conversation about how public transport can be used for non-work trips (and what it means for women) that makes me go back to something I wrote in 2012 about trip chaining. In that post I asserted a distinction between long and sho…

via Pedestrian Observations June 13, 2019

Unintended pregnancy in folk songs

I’ve been listening to a lot of the Watersons and Waterson:Carthy this week. It’s reminded me how absolutely full British folk music is of songs about unintended pregnancy. Most commonly the result is unhappy motherhood: “But if I had kent that I now ken …

via The whole sky June 1, 2019

Programmer migration patterns

I made a little flow chart of mainstream programming languages and how programmers seem to move from one to another. There's a more common kind of chart, which shows how the languages themselves evolved. I didn't want to show the point of view of …

via apenwarr March 18, 2019

via openring

More Posts:


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