RSS generator for python
Find a file
2019-07-24 23:19:31 +03:00
docs fead: add documentation pages and readme.md 2019-07-24 23:19:31 +03:00
genrss feat: add docs 2019-07-24 17:25:56 +03:00
tests feat: add 1.0.0 version 2019-07-23 23:28:04 +03:00
.coveragerc feat: add 1.0.0 version 2019-07-23 23:28:04 +03:00
.gitignore feat: add 1.0.0 version 2019-07-23 23:28:04 +03:00
.travis.yml feat: add 1.0.0 version 2019-07-23 23:28:04 +03:00
CHANGES.rst fead: add documentation pages and readme.md 2019-07-24 23:19:31 +03:00
LICENSE Initial commit 2019-07-23 20:48:40 +03:00
Pipfile feat: add docs 2019-07-24 17:25:56 +03:00
Pipfile.lock fead: add documentation pages and readme.md 2019-07-24 23:19:31 +03:00
README.md fead: add documentation pages and readme.md 2019-07-24 23:19:31 +03:00
requirements-test.txt feat: add 1.0.0 version 2019-07-23 23:28:04 +03:00
setup.py fead: add documentation pages and readme.md 2019-07-24 23:19:31 +03:00

genrss

Build Status Coverage Status

RSS generator for python

Installing

Install and update using pip:

pip install genrss

A Simple Example

from datetime import datetime
from genrss import GenRSS

feed = GenRSS(title='SmartFridge',
			  site_url='https://smartfridge.me',
			  feed_url='https://smartfridge.me/feed/rss.xml')

feed.item(title='black buns for burgers',
		  description='For the first time black burgers appeared ' \
					  'in Japan. Unusual dark color buns complemented ' \
					  'with black cheese and sauce. Over time, the dish ' \
					  'has conquered the whole world. The main secret ' \
					  'ingredient in popular buns is the most common... ' \
					  'charcoal!',
		  url='https://smartfridge.me/recipe/316b28-chernye-bulochki-dlya-burgerov/',
		  author='@smartfridge',
		  categories=['baking'],
		  pub_date=datetime.utcnow())

xml = feed.xml()

Documentation: https://genrss.readthedocs.io/en/latest/