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

What Does Private Affluence, Public Squalor Mean?

I’d like to compare three cities: Paris, New York, Boston. They’re about equally wealthy, and I’ve lived years in two and spent a lot of time in the third. Americans dismiss New York and Boston too often as Not Real America, but they’re both excellent exa…

via Pedestrian Observations November 19, 2019

Pieces of time

My friend used to have two ‘days’ each day, with a nap between—in the afternoon, he would get up and plan his day with optimism, whatever happened a few hours before washed away. Another friend recently suggested to me thinking … Continue reading →

via Meteuphoric November 11, 2019

Wild animal welfare in Hans Christian Andersen

Continuing the theme of wild animal suffering in children’s lit… Hans Christian Andersen’s stories involve a lot of suffering of both human and animal varieties. “The Ugly Duckling” takes a brief detour from describing the duckling’s repeated social humil…

via The whole sky November 7, 2019

more     (via openring)

More Posts:


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