I've switched to a new look based on Tom Preston-Werner's theme. (Thanks Tom!) Its clean look made an impression when I first saw it; my yearning was further kept alive whenever I browsed blogs with the same look - which is not uncommon, given the popularity of the Jekyll ...
If you've been following my gists and my bloggart fork, then you're probably aware that some time back, I added a simple memcache-based memoizer. I applied to BlogPost
operations that I thought were computationally expensive - hashing and markup rendering.
Of course, you can't call something an optimization ...
You'll notice that requests to this blog's feed no longer redirects to Feedburner, as I've decided to do away with it.
Right now, FB doesn't offer meaningful statistics, since readership is negligible. Also, doing 301 redirects outside of the site, as my implementation does, is suboptimal ...
Recently, I suggested a fix for ListingContentGenerator
s - instead of setting, say, /tag/foo/1
, set only /tag/foo/
. I do have some doubts if this should be considered a 'fix'; from the existing code base, it looks like having a /tag/foo/1
was pretty much intentional.
Anyway, while ...
As some of you sharp-eyed readers have noticed - yes, the year-month archive pages were broken. The May one showed June entries, and the June one showed May ones.
Thanks to Nick Johnson for pointing this out.
I wanted to localize this blog to my timezone - after all, I live here, and not in a UTC region.
But this needed some work. Most GAE python developers (no pun intended) would have noticed the lack of timezone-awareness for datetime properties.
To add timezone-awareness in bloggart, I had to ...
This was cute. I was wondering why Analytics was reporting so many page views for my lowly blog - turns out bloggart was including the Analytics JS for /admin/
pages too.
Check out the fix here.
Over the past 2 days, I've been adding a few topics branches/features to my bloggart fork.
<updated>
field. This is mostly useful for developers hacking the atom.xml
template.
/feeds/atom.xml
are ...I was scratching my head on how to do this, now that mod_rewrite (Apache or nginx or otherwise) isn't available.
Some googling threw up this post. Myself, I felt that using os.environ
, although not incorrect, wasn't very pretty.
Here's a decorator that uses webapp.Request
instead ...