Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > looking for RSS generator

Reply
Thread Tools

looking for RSS generator

 
 
jd
Guest
Posts: n/a
 
      03-28-2007
I'm looking for sample code to generate an RSS feed. I can annotate
my html code with comments/tags to mark the articles, all I need is an
"engine" to process the pages and generate the rss file. If I was a
python wiz I'm sure I could do this quickly but as a newbie, an assist
here would certainly make this task go faster. Thanks...

-- jeff

 
Reply With Quote
 
 
 
 
alex23
Guest
Posts: n/a
 
      03-28-2007
> I'm looking for sample code to generate an RSS feed.

For this, I highly recommend PyRSS2Gen: http://www.dalkescientific.com/Python/PyRSS2Gen.html

Very straightforward.

> I can annotate
> my html code with comments/tags to mark the articles, all I need is an
> "engine" to process the pages and generate the rss file.


If you're wanting to convert HTML to RSS, I'd recommend using
BeautifulSoup for parsing the HTML: http://www.crummy.com/software/BeautifulSoup/

Hope this helps.

-alex23


 
Reply With Quote
 
 
 
 
kyosohma@gmail.com
Guest
Posts: n/a
 
      03-28-2007
On Mar 27, 9:42 pm, "alex23" <wuwe...@gmail.com> wrote:
> > I'm looking for sample code to generate an RSS feed.

>
> For this, I highly recommend PyRSS2Gen:http://www.dalkescientific.com/Python/PyRSS2Gen.html
>
> Very straightforward.
>
> > I can annotate
> > my html code with comments/tags to mark the articles, all I need is an
> > "engine" to process the pages and generate the rss file.

>
> If you're wanting to convert HTML to RSS, I'd recommend using
> BeautifulSoup for parsing the HTML:http://www.crummy.com/software/BeautifulSoup/
>
> Hope this helps.
>
> -alex23


Looks like there's an RSS module too:

http://www.mnot.net/python/RSS.py
http://www-128.ibm.com/developerwork...ws-pyth11.html

Fredrik Lundh also has some info on his site: http://effbot.org/zone/effnews-1.htm

Have fun with the snake!

Mike

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two ways to generate RSS - rss/maker and rss/2.0 - which is better? Jonathan Groll Ruby 1 06-27-2009 03:53 AM
Post RSS feed w/o RSS-to-Javascript.com Scott Gordo HTML 5 08-29-2006 01:34 AM
is RSS 2.0 still RSS 2.0 if we add our own unique tags to it? Jake Barnes XML 1 11-14-2005 01:54 AM
RSS Feed - need an Idiot's Guide to RSS News on my website teach_me6@hotmail.com HTML 5 02-25-2005 11:01 AM
Searches in multiple RSS feeds -> new rss feed Motta XML 1 06-09-2004 10:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57