Now with individual pages for entries

January 12th, 2010
programming, python, tech
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:

Book Review: The Myth of Sex Addiction

I. David Ley’s The Myth of Sex Addiction is a stupid, wrong book saved only by the fact that the people it’s arguing with are stupider and wronger. II. “Sex addiction” is a proposed mental health condition, not recognized by the DSM or the ICD, where a pe…

via Thing of Things March 7, 2024

Your wedding doesn’t have to be that great

Your future happiness does not depend on how gorgeous this one day is. The post Your wedding doesn’t have to be that great appeared first on Otherwise.

via Otherwise March 4, 2024

When Nurses Lie to You

When the nurse comes to give you the flu shot, they say it won't hurt at all, right? And you trust them. Then they give you the shot, and it hurts! They lied to you. A lot of nurses lie to children about shots and blood draws. Part of it is they probabl…

via Lily Wise's Blog Posts February 28, 2024

more     (via openring)