Re: feedparser error

2014-04-26 Thread tad na
You guys are good. thanks. === On Saturday, April 26, 2014 11:55:35 AM UTC-5, MRAB wrote: On 2014-04-26 03:16, tad na wrote: python 2.7.2 The following code has an error and I can not figure out why: import feedparser d = feedparser.parse('http://bl.oc

Re: feedparser error

2014-04-26 Thread MRAB
On 2014-04-26 03:16, tad na wrote: python 2.7.2 The following code has an error and I can not figure out why: import feedparser d = feedparser.parse('http://bl.ocks.org/mbostock.rss') numb = len(d['entries']) for post in d.entries: print post.pubDate+"\n" -

Re: feedparser error

2014-04-26 Thread Kushal Kumaran
tad na writes: > python 2.7.2 > > The following code has an error and I can not figure out why: > > import feedparser > d = feedparser.parse('http://bl.ocks.org/mbostock.rss') > numb = len(d['entries']) > for post in d.entries: > print post.pubDate+"\n" > > ---

Re: feedparser hanging after I/O error

2011-06-03 Thread John Nagle
On 6/2/2011 4:40 AM, xDog Walker wrote: On Wednesday 2011 June 01 10:34, John Nagle wrote: I have a program which uses "feedparser". It occasionally hangs when the network connection has been lost, and remains hung after the network connection is restored. My solution is to download the feed

Re: feedparser hanging after I/O error

2011-06-02 Thread xDog Walker
On Wednesday 2011 June 01 10:34, John Nagle wrote: > I have a program which uses "feedparser".  It occasionally hangs when > the network connection has been lost, and remains hung after the network > connection is restored. My solution is to download the feed file using wget, then hand that file t

Re: Feedparser Problem

2009-06-05 Thread Jonathan Nelson
Thanks for the responses. I've tried the same script on a Server 2003 install, and Python 2.5 and it ran without a hitch. So, it's either a problem with Python 2.6 or with Windows 7. Thanks for all the responses. You've been great. Best, Jonathan On Jun 5, 7:39 am, Jonathan Nelson wrote: > I

Re: Feedparser problem

2009-06-05 Thread member thudfoo
On 6/4/09, Jonathan Nelson wrote: > I'm trying to add a feedreader element to my django project. I'm > using Mark Pilgrim's great feedparser library. I've used it before > without any problems. I'm getting a TypeError I can't figure out. > I've tried searching google, bing, google groups to

Re: Feedparser problem

2009-06-05 Thread Peter Otten
Jonathan Nelson wrote: > I'm trying to add a feedreader element to my django project. I'm > using Mark Pilgrim's great feedparser library. I've used it before > without any problems. I'm getting a TypeError I can't figure out. > I've tried searching google, bing, google groups to no avail. > >

Re: Feedparser problem

2009-06-04 Thread Aahz
In article <89d21aec-5d39-4d1f-91b9-776da3506...@i6g2000yqj.googlegroups.com>, Jonathan Nelson wrote: > >I'm trying to add a feedreader element to my django project. I'm >using Mark Pilgrim's great feedparser library. I've used it before >without any problems. I'm getting a TypeError I can't f

Re: feedparser html sanitizion how-to disable it

2008-05-29 Thread sebey
oh sorry here is the rss feed I am using http://recordings.talkshoe.com/rss39293.xml -- http://mail.python.org/mailman/listinfo/python-list

Re: feedparser

2008-05-13 Thread Mike
On Tue, May 13, 2008 at 11:16 PM, <[EMAIL PROTECTED]> wrote: > On May 13, 6:06 am, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > En Tue, 13 May 2008 07:30:44 -0300, Mike <[EMAIL PROTECTED]> escribió: > > > > > > > > > > > > > I'm trying to use the feedparser module (http://www.feedparser.or

Re: feedparser

2008-05-13 Thread castironpi
On May 13, 6:06 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 13 May 2008 07:30:44 -0300, Mike <[EMAIL PROTECTED]> escribió: > > > > > > > I'm trying to use the feedparser module (http://www.feedparser.org/). > > > Is it possible to use this without running the setup program? > > > I

Re: feedparser

2008-05-13 Thread Gabriel Genellina
En Tue, 13 May 2008 07:30:44 -0300, Mike <[EMAIL PROTECTED]> escribió: I'm trying to use the feedparser module (http://www.feedparser.org/). Is it possible to use this without running the setup program? I don't see why not, seems like I'm missing something obvious. My directory structure is:

Re: Feedparser and dates

2006-03-15 Thread Fredrik Lundh
"friis" wrote: > I'm using FeedParser.org to import feeds into our MySQL database. > Our problem is that we haven't found a solution to translate the date > of a post item into GMT. from what I can tell, feedparser returns a 9-item UTC time tuple (which is the same thing as GMT, at least for all