Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Import alias FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore BoolOpOr BoolOpAnd CompareLt NameLoad Num Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpDiv NameLoad BinOpMult Num Num Assign NameStore BinOpDiv BinOpMod NameLoad BinOpMult Num Num Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore Str Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num If BoolOpOr NameLoad NameLoad body If NameLoad body Assign NameStore Call NameLoad Call NameLoad BinOpMult NameLoad Num Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return BinOpMod NameLoad NameLoad decorator_list TryExcept body ImportFrom alias Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Num body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list Assign NameStore NameLoad
N/A N/A 
Summary
=======

Adds a ``$(w3cdate)`` variable to the head and foot templates which has
the mtime of the first entry in the entrylist being displayed (this is
often the youngest/most-recent entry).


Install
=======

.. Note::

   If you have pyxml installed, then this will work better than if you don't.
   If you don't have it installed, it uses home-brew code to compute the
   w3cdate.

This plugin comes with Pyblosxom.  To install, do the following:

1. Add ``Pyblosxom.plugins.w3cdate`` to the beginning of the
   ``load_plugins`` list of your ``config.py`` file.

2. Add the ``$(w3cdate)`` variable to the place you need it in your head
   and/or foot templates.


Thanks
======

Thanks to Matej Cepl for the hacked iso8601 code that doesn't require
PyXML.
 N/A __author__ Ted Leung N/A __email__ twl at sauria dot com N/A __version__ 2011-10-23 N/A __url__ http://pyblosxom.github.com/ N/A __description__ Adds a 'w3cdate' variable which is the mtime in ISO8601 format. N/A __category__ date N/A __license__ MIT N/A __registrytags__ 1.4, 1.5, core N/A time iso8601_hack_tostring N/A N/A t timezone N/A N/A N/A timezone N/A int timezone N/A timezone N/A N/A sign N/A N/A N/A timezone 0 + - N/A timezone N/A abs timezone N/A hours N/A timezone N/A 60 60 N/A minutes N/A N/A timezone N/A 60 60 60 N/A tzspecifier N/A %c%02d:%02d N/A sign hours minutes N/A N/A tzspecifier Z N/A psecs N/A t N/A int t N/A t N/A N/A time gmtime N/A N/A int t timezone N/A N/A year month day hours minutes seconds N/A t N/A 6 N/A N/A seconds psecs N/A N/A psecs N/A N/A psecs N/A int N/A round N/A psecs 100 N/A f %4d-%02d-%02dT%02d:%02d:%02d.%02d%s N/A v N/A year month day hours minutes seconds psecs tzspecifier N/A N/A f %4d-%02d-%02dT%02d:%02d:%02d%s N/A v N/A year month day hours minutes seconds tzspecifier N/A N/A f %4d-%02d-%02dT%02d:%02d%s N/A v N/A year month day hours minutes tzspecifier N/A N/A f v N/A N/A N/A xml.utils iso8601 N/A format_date N/A iso8601 tostring N/A N/A N/A N/A ImportError AttributeError N/A N/A format_date iso8601_hack_tostring get_formatted_date N/A N/A entry N/A N/A N/A N/A entry N/A N/A N/A time_tuple N/A entry N/A timetuple N/A tzoffset N/A time timezone N/A N/A N/A time_tuple N/A 8 1 N/A N/A tzoffset N/A time altzone N/A N/A format_date N/A N/A time mktime time_tuple tzoffset N/A cb_story N/A N/A args N/A N/A N/A entry N/A args N/A entry N/A N/A entry N/A w3cdate N/A get_formatted_date entry N/A cb_head N/A N/A args N/A N/A N/A entry N/A args N/A entry N/A req N/A args N/A request N/A data N/A N/A req get_data N/A entrylist N/A N/A data get entry_list None N/A N/A entrylist N/A N/A args N/A N/A entry N/A w3cdate N/A get_formatted_date N/A entrylist N/A 0 N/A args N/A N/A cb_foot cb_head