Re: importing entries
Bill Mill <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On Apr 7, 2005 1:19 AM, Wari Wahab <[email protected]> wrote: > > I tested this on both Ted's and my sites' main RSS files, and it > > worked like a charm. It seems, in looking over some RSS from others, > > that some feeds use the 'content:encoded' tag, while others use > > 'description'. I test for a content tag (which is a little wonky in > > cElementTree, so there's room for improvement in that test), and if > > it's there, use that. If not, I use the description. > > These parsing issues are usually taken care of by the feedparser by > Mark Pilgrim. It even does so without using an unforgiving XML parser. > > > Also, how do you want to do file naming? I sanitize the title and use > > the first 200 characters of it, but that's suboptimal. > > There's also date/time that wasn't imported, easily solvable though. > What about comment feeds support? These are things that first time > users will ask for. Oh, about the comment feed support - can somebody point me at a couple of comment feeds? They should be easy enough to create too, but I don't subscribe to any. Peace Bill Mill bill.mill at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click