Re: contributed plugins package 1.2.2 (PRE RELEASE)
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
On Tuesday 14 June 2005 10:44, will guaraldi wrote:
> pycategories
>* Now has two new properites "category_start" which gets printed once
before
> printing the category list and "category_finish" which gets printed once
Having those constructs should do the trick, but it doesn't work for me yet.
These default values:
DEFAULT_START = r'<ul class="categories">'
DEFAULT_BEGIN = r'<li><ul class="categorygroup">'
DEFAULT_ITEM = r'<li><a href="%(base_url)s/%(fullcategory)sindex.
%(flavour)s">%(category)s</a> (%(count)d)</li>'
DEFAULT_END = "</ul></li>"
DEFAULT_FINISH = "</ul>"
produce HTML that looks like:
<div class="list">
<ul class="categories">
<li><ul class="categorygroup">
<li><a href="http://reagle.org/joseph/blog//index.html">/</a>
(82)</li>
<li><a
href="http://reagle.org/joseph/blog/career/index.html">career/</a> (4)</li>
<li><ul class="categorygroup">
<li><a
href="http://reagle.org/joseph/blog/career/phd/index.html">phd/</a>
(11)</li>
</ul></li>
</ul>
</div>
Note that the 3 line of the HTML has a ul that is not closed out. It appears
levels beyond the first are not being closed?
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20