[Devel] Varius problems setuping planet.

Juan Pablo Mendoza jpablo at gnome.org
Tue Jun 22 02:21:06 EST 2004


On Mon, 2004-06-21 at 10:55, Scott James Remnant wrote:
> On Mon, 2004-06-21 at 10:45 -0500, Juan Pablo Mendoza wrote:
> 
> > On Mon, 2004-06-21 at 10:18, Scott James Remnant wrote:
> > > On Mon, 2004-06-21 at 10:05 -0500, Juan Pablo Mendoza wrote:
> > > 
> > > > blogger atom feeds replaces <br /> with <br/> then planet replaces <br/>
> > > > with something like <br>></br> (note the extra >) or <br></br>. I
> > > > searched the archives and found someone with a similar problem, didn't
> > > > find if or how he fixed it however, also feedparser.py says:
> > > > 
> > > > 2.7.4 - 1/14/2004 - MAP - added workaround for improperly formed <br/>
> > > > tags in encoded HTML (skadz);
> > > > 
> > > > However the problem is still there ...
> > > > 
> > > Yeah, I've been utterly unable to get to the bottom of this one so
> > > far :-(
> > 
> > Is there any workaround ? it wouln't be a problem if it just changed to
> > <br></br> but that <br>></br> is really annoying since i get a lot of >
> > in the rendered page.
> > 
> Not yet.
> 
> It's figuring out which of {Python,FeedParser,Planet} is causing it ...
> I have a horrible suspicion it's another sgmllib bug :-(

Well, i just addedd a very hacky s/<br/>/<br /> right before sending the
data to feedparser and worked. I'll try to figure out where the real
problem is later ...

> Scott
-- 
Juan Pablo Mendoza <jpablo at gnome.org>
Monterrey, Nuevo León. México.
http://linuxuanl.org/~jpablo




More information about the Devel mailing list