Блогчетање

Данилово блогче

Fri, 19 Mar 2004

I've just added a simple support to filter my blog entries by language: simply pass "lang=sr" or "lang=en" parameters (e.g. use /blogging?lang=en to get only English, blogging related entries).

So folks, choose what suits you better.

[08:52] | [] | # | G | | TB

Mon, 12 Jan 2004

I wonder if this is the same problem I had when transferring Pyblosxom to a new host.

I switched to using SuExec on a new machine, and it seems to refuse to execute scripts which have +rw set for the group, eventually spitting out the error message in the form of "Premature end of script headers".

Yeah, as I already said here when transferring my blog, this was pretty non-obvious to find out, especially so since most people tend to look for Pyblosxom problem, instead of SuExec.

Though, Data might be having entirely different problem, but since there are some security consious comments there, I guess SuExec is used as well :)

[17:06] | [] | # | G | | TB

Tue, 28 Oct 2003

Okay, I've been cleaning up my blog somewhat. And as say:

Just having a blog tool isn't enough. You have to hack it. Make it your own.

First of all, zombie complained of my blog taking forever to load. Well, that has been fixed, and now I list 4 last entries on the start page. This took a whopping 5 lines of Python code to create.

This also resulted in a new parameter being defined: 'limit'. If you put py['limit'] = 5 in your config.py, you'll limit the number of entries on your blog start page to five. All other pages will be unaffected with this parameter. If you don't want this limit, just don't define it.

I've also upgraded to Pyblosxom 0.8.1, and switched the base URL to danilo.segan.org (it's still available through danilosegan.com, but the new address should be default) — sorry for any problems this may cause in your aggregators :(.

While upgrading, I decided to make precise patches that apply cleanly to 0.8.1 source. So, I've come up with patches for:

  • pyblosxom.py — adds support for limiting number of entries on the first page
  • pycalendar.py — Monday is the start of week.
  • pycategories.py — fixes a bug so terminating "/" is not neccessary in config.py
  • comments.py — make comments use encoding set in config.py
  • xmlrpc.py — make xmlrpc use encoding set in config.py

I'm considering adding CommentAPI support, but I lack any useful clients so that I could make use of it (and test it, of course).

Also, I've temporarily disabled my trackback autodiscovery, so I won't ping any sites for a few day (I'm hoping to make it work better, and to add pingback support alongside trackback).

If I find some time, I might even add MetaWebLog API support, because Gnome Blog in CVS (so this is insider's info, keep it to yourself :-) now supports the dropping of images and sending it through MetaWebLog API. Hey, how kuhl is that?

Besides MetaWebLog API, I hope to get i18n up to my requirements for Pyblosxom in the near future. That means using Accept-Language for transparent content negotiation, and gettext for translating strings in server-side code.

[14:39] | [] | # | G | | TB
Contact
Danilo Segan

This is blog (web log) of Danilo Šegan (or Данило Шеган).

Archives
2017-Jan
2013-Dec
2011-Nov
2011-Oct
2011-Aug
2011-Jul
2011-Jun
2011-May
2010-Oct
2010-Aug
2010-Jul
2010-Apr
2010-Mar
2010-Feb
2010-Jan
2009-Dec
2009-Oct
2009-Aug
2009-Jun
2008-Oct
2008-Aug
2008-Jul
2008-Jun
2008-May
2008-Apr
2008-Mar
2008-Feb
2007-Dec
2007-Oct
2007-Aug
2007-Jul
2007-May
2007-Apr
2007-Feb
2007-Jan
2006-Nov
2006-Oct
2006-Aug
2006-Jul
2006-Apr
2006-Mar
2006-Feb
2006-Jan
2005-Sep
2005-Jun
2005-May
2005-Apr
2005-Mar
2005-Feb
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Aug
2004-Jul
2004-May
2004-Apr
2004-Mar
2004-Feb
2004-Jan
2003-Dec
2003-Nov
2003-Oct
2003-Sep
1983-Mar

< March 2004 >
MoTuWeThFrSaSu
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728
293031    
Categories

Links
Kvota.net
Prevod.org
My study page
Srpski.org
GNOME
Friends' Blogs
alex (en)
bc (en)
Bojan Živanović (sr)
Carlos (en)
Goran (sr)
imp (sr)
lilit (sr)
Oskuro (en)
Zombie (sr/en)
Feeds
RSS