Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15420

Re: RSS feed creation?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <awilliam@whitemice.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'xml,': 0.05; 'python': 0.08; "(i'd": 0.09; 'either)': 0.09; 'mon,': 0.15; 'feeds,': 0.16; 'from:addr:awilliam': 0.16; 'from:addr:whitemice.org': 0.16; 'from:name:adam tauno williams': 0.16; 'message-id:@linux- yu4c.site': 0.16; 'received:72.14.190': 0.16; 'received:72.14.190.87': 0.16; 'received:mail.wmmi.net': 0.16; 'received:wmmi.net': 0.16; 'reply-to:addr:awilliam': 0.16; 'reply- to:addr:whitemice.org': 0.16; 'settle': 0.16; 'subject:creation': 0.16; "that'll": 0.16; 'traceback.': 0.16; 'url:effbot': 0.16; 'url:zone': 0.16; 'wrote:': 0.18; 'seems': 0.19; "doesn't": 0.23; '+0100,': 0.23; 'header:In-Reply-To:1': 0.23; 'creating': 0.25; 'received:72.14': 0.26; 'stefan': 0.28; '3.x': 0.30; 'url:library': 0.30; 'xml': 0.30; 'subject:?': 0.31; 'to:addr :python-list': 0.32; 'there': 0.33; 'test': 0.34; 'url:python': 0.35; 'something': 0.36; 'but': 0.37; 'run': 0.38; 'starting': 0.38; 'url:org': 0.38; 'received:192': 0.38; 'url:docs': 0.38; "i'd": 0.39; 'tool': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'header:Reply-To:1': 0.70; 'reply- to:no real name:2**0': 0.71; 'url:htm': 0.72; '08:22': 0.84; 'create.': 0.84; 'opensource': 0.84; 'url:feed': 0.84; 'old,': 0.97
Subject Re: RSS feed creation?
From Adam Tauno Williams <awilliam@whitemice.org>
To python-list@python.org
Date Mon, 07 Nov 2011 11:54:52 -0500
In-Reply-To <j980vt$e95$1@dough.gmane.org>
References <CAGGBd_pnKbF93GCW5NdTZENt+u6nFnb4tR00fz0xEtVk6oB1Cg@mail.gmail.com> <j980vt$e95$1@dough.gmane.org>
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.0.3
Content-Transfer-Encoding 7bit
Mime-Version 1.0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To awilliam@whitemice.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2504.1320686843.27778.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1320686843 news.xs4all.nl 6910 [2001:888:2000:d::a6]:48831
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:15420

Show key headers only | View raw


On Mon, 2011-11-07 at 08:22 +0100, Stefan Behnel wrote:
> Dan Stromberg, 06.11.2011 21:00:
> > Is there an opensource Python tool for creating RSS feeds, that doesn't
> > require large dependencies?
> > I found feedformatter.py on pypi, but it seems a little old, and its sole
> > automated test gives a traceback.
> > Is there a better starting point?
> > (I'd of course prefer something that'll run on 3.x and 2.x, but will settle
> > for either)
> I'd just go with ElementTree and builder.py.
> http://effbot.org/zone/element-builder.htm

+1
<http://docs.python.org/library/xml.etree.elementtree.html>

RSS is just XML, just use the XML toolchain.

And use <http://validator.w3.org/feed/#validate_by_input> to check what
you create.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: RSS feed creation? Adam Tauno Williams <awilliam@whitemice.org> - 2011-11-07 11:54 -0500

csiph-web