Re: [Tutor] Convert XML codes to normal text?

2009-03-04 Thread Sander Sweers
2009/3/4 Eric Dorsey dors...@gmail.com: d = feedparser.parse('http://snipt.net/dorseye/feed') x=0 for i in d['entries']:     print d['entries'][x].title     print d['entries'][x].summary     print     x+=1 Output Explode / Implode List gt;gt;gt; V = list(V) snip I know, for

[Tutor] Convert XML codes to normal text?

2009-03-03 Thread Eric Dorsey
*So here is my program, I'm pulling some information off of my Snipt feed .. * import feedparser d = feedparser.parse('http://snipt.net/dorseye/feed') x=0 for i in d['entries']: print d['entries'][x].title print d['entries'][x].summary print x+=1 *Output* Explode / Implode

Re: [Tutor] Convert XML codes to normal text?

2009-03-03 Thread Lie Ryan
Eric Dorsey wrote: _So here is my program, I'm pulling some information off of my Snipt feed .._ snip I know, for example, that the gt; code means , but what I don't know is how to convert it in all my data to show properly? In all the feedparser examples it just smoothly has the output

Re: [Tutor] Convert XML codes to normal text?

2009-03-03 Thread Senthil Kumaran
On Wed, Mar 4, 2009 at 11:13 AM, Eric Dorsey dors...@gmail.com wrote: I know, for example, that the gt; code means , but what I don't know is how to convert it in all my data to show properly? I Feedparser returns the output in html only so except html tags and entities in the output. What you