How to install pyatom
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install pyatom
Lastest release
A Python library for generating Atom 1.0 feeds.
Extracted from werkzeug.contrib.atom and created as a standalone package.
Latest Version
The latest version of this project can be found at : http://github.com/sramana/pyatom.
Installation
Option 1 : Install via pip
pip install pyatom
Option 2 : If you have downloaded the source
python setup.py install
Documentation
How to use?
from pyatom import AtomFeed import datetime feed = AtomFeed(title="My Blog", subtitle="My example blog for a feed test.", feed_url="http://example.org/feed", url="http://example.org", author="Me") # Do this for each feed entry feed.add(title="My Post", content="Body of my post", content_type="html", author="Me", url="http://example.org/entry1", updated=datetime.datetime.utcnow()) print feed.to_string()
License
This project is released under BSD license (http://creativecommons.org/licenses/BSD).
Credits
The code is copy-pasted from werkzeug library. Thanks to them.
Contribution
Contributions are most welcome. Please submit a patch on bitbucket or github.
Reporting Bugs
Please report the bugs at bitbucket or github issue tracker.
Feedback
I love to hear what you think about this project. Please drop me a line.