Categories not showing up
Eric van der Vlist
vdv at dyomedea.com
Sat Oct 14 00:20:47 EST 2006
Le vendredi 13 octobre 2006 =E0 23:48 +1000, Jeff Waugh a =E9crit :
> <quote who=3D"Michel Klijmij">
> =
> > Op vr, 13-10-2006 te 14:31 +0200, schreef Eric van der Vlist:
> > > the categories do not show up in the entries that include <category/>
> > > elements. =
> > =
> > I have mentioned this several times on this list but never gotten a rep=
ly. =
> > =
> > I'm using the plain 2.0 version by the way, not Venus.
> =
> When feedparser was upgraded, category transfer from the feeds through to
> the template was disabled (see the ignored elements in planet/__init__.py=
),
> as it became a list instead of a string. Venus ought to handle this bette=
r.
Yes. I have found out that adding:
['category', String, 'category'],
to Items in templ.py brings the first category. This is not perfect but
does the job for me...
Eric
-- =
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Ceci est une partie de message
=3D?ISO-8859-1?Q?num=3DE9riquement?=3D =3D?ISO-8859-1?Q?_sign=3DE9e?=3D
Url : /archives/devel/attachments/20061013/69d622d2/attachment.pgp
More information about the devel
mailing list