announce: wbgarchives plugin

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
My archives list was getting too long and I was trying to figure out what
to do with it when I bumped into Ned Batchelder's blog and decided to
implement something similar to what he does.

So I wrote the wbgarchives plugin.  Just like pyarchives, it creates a
variable for your head/foot template which lists the archives.
wbgarchives lists just the years; pyarchives lists month and years.  For
example, the period between 12/2003 and today would be:

   wbgarchives         pyarchives

   2004                2004 Aug
   2003                2004 Jul
                       2004 Jun
                       2004 May
                       2004 Apr
                       2004 Mar
                       2004 Feb
                       2004 Jan
                       ...

So on and so forth.

When you click on the pyarchives links, it brings you to the index page
for that date.  Something like base_url/2004/08.  wbgarchives brings you
to a summary page it builds for the entire year.

Anyhow, you can see it working on my blog.

It fits my needs.  If you like it, feel free to download it and use it.
Report any bugs to me either via email or on my blog.

Hope it helps!
/will

-- 
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.