Hi,
I'm looking for RSS/ATOM generator I can use in Python.
I searched on pypi and the other places but I couldn't find any
options on this. (I found many parsers, though)
Is there any de-fact standard RSS/ATOM generator? (especially, I'd
like to create Atom's)
Do I have to do it myself from scratch?
Thanks in advance. 7 4563
On 2008-02-11, js <eb*****@gmail.comwrote:
Is there any de-fact standard RSS/ATOM generator? (especially, I'd
like to create Atom's)
Do I have to do it myself from scratch?
I looked into similar issues about six months ago. My conclusion was
that generally XML generation libraries (unlike parsers) don't get
written, because there's little enough to them that it isn't seen as
worth doing, and that accepted practice is to just do it yourself.
Hallöchen!
Terran Melconian writes:
On 2008-02-11, js <eb*****@gmail.comwrote:
>Is there any de-fact standard RSS/ATOM generator? (especially, I'd like to create Atom's) Do I have to do it myself from scratch?
I looked into similar issues about six months ago. My conclusion
was that generally XML generation libraries (unlike parsers) don't
get written, because there's little enough to them that it isn't
seen as worth doing, and that accepted practice is to just do it
yourself.
Maybe I understand you wrongly but there *is* a general XML
generator with ElementTree. I wouldn't generate XML directly but
using ElementTree to generate Atom. I did it myself three months
ago and it was really trivial.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: br*****@jabber.org
(See http://ime.webhop.org for further contact info.)
Torsten Bronger wrote:
Terran Melconian writes:
>On 2008-02-11, js <eb*****@gmail.comwrote:
>>Is there any de-fact standard RSS/ATOM generator? (especially, I'd like to create Atom's) Do I have to do it myself from scratch?
I looked into similar issues about six months ago. My conclusion was that generally XML generation libraries (unlike parsers) don't get written, because there's little enough to them that it isn't seen as worth doing, and that accepted practice is to just do it yourself.
Maybe I understand you wrongly but there *is* a general XML
generator with ElementTree. I wouldn't generate XML directly but
using ElementTree to generate Atom. I did it myself three months
ago and it was really trivial.
Actually, there's tons of XML generator packages (most of them single Python
modules), ElementTree itself and the "E factory" being only two of them.
Stefan
Hallöchen!
Stefan Behnel writes:
Torsten Bronger wrote:
>Terran Melconian writes:
[...]
Maybe I understand you wrongly but there *is* a general XML generator with ElementTree. I wouldn't generate XML directly but using ElementTree to generate Atom. I did it myself three months ago and it was really trivial.
Actually, there's tons of XML generator packages (most of them
single Python modules), ElementTree itself and the "E factory"
being only two of them.
I mentioned ElementTree because in my opinion, it is the only sane
XML generator in the standard lib.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: br*****@jabber.org
(See http://ime.webhop.org for further contact info.)
Trivial?
More than XML::Atom::Feed? http://search.cpan.org/~miyagawa/XML...L/Atom/Feed.pm
On 2/14/08, Torsten Bronger <br*****@physik.rwth-aachen.dewrote:
Hallöchen!
Terran Melconian writes:
On 2008-02-11, js <eb*****@gmail.comwrote:
>
>Is there any de-fact standard RSS/ATOM generator? (especially,
>I'd like to create Atom's) Do I have to do it myself from
>scratch?
>
I looked into similar issues about six months ago. My conclusion
was that generally XML generation libraries (unlike parsers) don't
get written, because there's little enough to them that it isn't
seen as worth doing, and that accepted practice is to just do it
yourself.
Maybe I understand you wrongly but there *is* a general XML
generator with ElementTree. I wouldn't generate XML directly but
using ElementTree to generate Atom. I did it myself three months
ago and it was really trivial.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: br*****@jabber.org
(See http://ime.webhop.org for further contact info.)
-- http://mail.python.org/mailman/listinfo/python-list
On 11 Feb., 15:47, js <ebgs...@gmail.comwrote:
I'm looking for RSS/ATOM generator I can use in Python.
I searched on pypi and the other places but I couldn't find any
options on this. (I found many parsers, though)
Is there any de-fact standard RSS/ATOM generator? (especially, I'd
like to create Atom's)
Do I have to do it myself from scratch?
You didn't specify your use case very much. If you just want to add
support for generating Atom/RSS feeds to your app and the format (i.e.
which elements and attributes are used) isn't too dynamic, you could
just an XML-templating language like Kid or Genshi.
The feed generator included in TurboGears uses this approach. I
recently packaged this as a separate module: http://chrisarndt.de/projects/turbofeeds/
The module still only makes sense in a TurboGears context but you may
want to look at the Kid templates used, they could be used by any app
that wants to generate Atom/RSS: http://trac.turbogears.org/browser/p...eeds/templates
Chris This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Raymond Hettinger |
last post by:
Peter Norvig's creative thinking triggered renewed interest in PEP 289.
That led to a number of contributors helping to re-work the pep details
into a form that has been well received on the...
|
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...
|
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 :
, , , ,
|
by: Anonieko Ramos |
last post by:
Blogger has posted this code:
===============================
using System;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Web.Services.Protocols;...
|
by: fj |
last post by:
I am new in Python programming. I try to connect to Python various
libraries written either in C of in Fortran. The job is not really hard
but I meet a trouble when trying to build up a generic...
| |
by: banjolibrarian |
last post by:
I have been setting up RSS and Atom feeds for our library's podcasts.
The RSS feed works fine, but when I subscribe to the Atom feed (via
Bloglines), the link to the file itself defaults to...
|
by: Brady Love |
last post by:
I am currently working an an app that will post and edit blogs on
blogger. Right now I have it so I can recive a list of the blogs and
the content of those blogs using Atomizer. This is my first...
|
by: Steve R. Hastings |
last post by:
Hello. I have written a module called PyAtom. It is designed to make it
really easy to create an Atom syndication feed.
Atom is a format similar to RSS, but with some additional features.
...
|
by: castironpi |
last post by:
I'm actually curious if there's a way to write a generator function
(not a generator expression) in C, or what the simplest way to do it
is... besides link the Python run-time.
|
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,...
|
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...
| |
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...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |