Re: importing entries

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
I'm thinking we should turn the import-entries-from-rss code into a script 
with some documentation on how to run it from a command line and stick it 
in the contrib area.

Well done, Bill!

/will


On Thu, 7 Apr 2005, Bill Mill wrote:

> 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
> _______________________________________________
> Pyblosxom-devel mailing list
> Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
>

-- 
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.