Re: Custom entryparser and cb_story callback

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
The story callback is a rendering callback and gets called by the blosxom
renderer ( /Pyblosxom/renderers/blosxom.py ).

If you're using the blosxom renderer, then it will get called for every
entry being rendered.

The entryparser shouldn't be invoking the story callback.  It could invoke
the preformatter and postformatter callbacks, though.  That's something
that's left to your discretion.

/will


On Sun, 23 May 2004, Igor Khavkine wrote:
>
> I've written a custom entryparser plugin and I want its HTML output to
> be passed through the cb_story call back. I used the cb_story callback
> in the showimg plugin that I posted here earlier. I want to two plugins
> two cooperate.
>
> However, it seems that cb_story doesn't get called unless I somehow
> invoke the callback chain manually from the entryparser. I've looked
> through the pyblosxom code and unfortunately can't figure out how to do
> this properly. Noone else seems to be calling run_callback('story',
> ...). What should I do? Also, what other callback chains should I invoke
> from the custom entryparser?
>
> Thanks in advance.
>
> Igor


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
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.