variable interpolating/substitution

Pasi Savolainen <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Hi,
I've worked on a port of Rael's interpolate_fancy -plugin and it's
basically 100% functional.
Original:
<http://www.blosxom.com/plugins/interpolate/interpolate_fancy.htm>

- Short detour -
In templates following work:
<?$var>display if defined</?>
<?!$var>display if not defined</?>
<?$var operation="value">display if pass</?>
<@plugin.method someparam="baz" output="No" />
<@otherplugin.somemethod param1="foo" param2="bar" output="Yes">passed as 'content' to p.m</@>
<@123p1.m1 params>foo<@321p2.m2 params>passed to p2.m2</@321> baz for p1.m1</@123>
- -

The thing that troubles me is that I couldn't figure out if things that
are done in cb_story will be put in cache.

I also couldn't really figure out the real order of all callbacks and
the context they are called in. Some kind of flowchart would be
extremely helpful for getting to know pyblosxom. I volunteer to draw one
if just someone could clue me in on the pyblosxom flow.

I'm also missing the 'blosxom2.0 -standard' interpolate -callback. I've
inkling that this is done in some 'Pythonish' way, but there's no hint
for a developer coming from perl-blosxom world. <hint> <hint> :)

Does anybody knows if it's possible to make epydoc generate annotated
source listings from code? It's a feature I miss from doxygen, it makes
it extremely easy to get acquainted with unfamiliar piece of code as
most functions are just a click away.


Thanks.

-- 
   Psi -- <http://www.iki.fi/pasi.savolainen>



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
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.