473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

looking for RSS generator

jd
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

Mar 28 '07 #1
2 3559
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
Mar 28 '07 #2
On Mar 27, 9:42 pm, "alex23" <wuwe...@gmail.comwrote:
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

Mar 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Francis Avila | last post by:
A little annoyed one day that I couldn't use the statefulness of generators as "resumable functions", I came across Hettinger's PEP 288 (http://www.python.org/peps/pep-0288.html, still listed as...
17
by: Andrae Muys | last post by:
Found myself needing serialised access to a shared generator from multiple threads. Came up with the following def serialise(gen): lock = threading.Lock() while 1: lock.acquire() try: next...
13
by: Emmanuel | last post by:
Hi, I run across this problem, and couldn't find any solution (python 2.2.2) : Code : =========== from __future__ import generators >>> class titi:
4
by: Wai Yip Tung | last post by:
I'm attempting to turn some process than uses callback to return result into a more user friendly generator. I'm hitting some road block so any pointer would be appriciated. Let say there is an...
45
by: Joh | last post by:
hello, i'm trying to understand how i could build following consecutive sets from a root one using generator : l = would like to produce : , , , ,
12
by: Thomas Lotze | last post by:
Hi, I'm trying to figure out what is the most pythonic way to interact with a generator. The task I'm trying to accomplish is writing a PDF tokenizer, and I want to implement it as a Python...
7
by: mydejamail | last post by:
I am looking for a script that generates PIN Numbers. Is there one available somewhere out there? I don't mind algorithms if they will be easy to implement in PHP. Regards
5
by: Jerzy Karczmarczuk | last post by:
I thought that the following sequence gl=0 def gen(x): global gl gl=x yield x s=gen(1)
9
by: vbfoobar | last post by:
Hello I am looking for python code that takes as input a list of strings (most similar, but not necessarily, and rather short: say not longer than 50 chars) and that computes and outputs the...
20
by: Chris Withers | last post by:
Hi All, The following piece of code is giving me issues: from email.Charset import Charset,QP from email.MIMEText import MIMEText charset = Charset('utf-8') charset.body_encoding = QP msg =...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.