interactions between plugins and static rendering?

Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
hi all! i've gotten a report (below) of plugins and static rendering not 
playing nice together.

i looked through the code, and everything looks ok. PyBlosxom.run() calls 
cb_start and cb_end correctly when static=True, and the code in 
PyBlosxom.runStaticRenderer() and tools.render_url() look right. still, i 
figured i'd ping you all just in case anyone knew something.

-Ryan

--
http://snarfed.org/

---------- Forwarded message ---------- 
Date: Sun, 19 Nov 2006 10:28:43 +0100 
From: Michael Welle <welle-+w6djL/[email protected]> 
To: public-6sb6M7qyT/[email protected]
Subject: Plugin hardcodedates.py

Hi Ryan,

I discovered some problems with hardcodedates.py and static 
rendering. If static rendering is requested the callback cb_start (and 
maybe others) is not called. That implies that some global attributes 
in hardcodedates are nil. An ad hoc solution may be to call something 
like 'if (!all_timestamps): cb_start' in cb_filestat. But I'm not very 
familiar with the architecture of pyblosxom. There may be better 
solutions.

Thank you
Michael

-- 
biff4emacsen - A biff-like tool for (X)Emacs 
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.