11# genrss
22
3+ [ ![ PyPI version] ( https://badge.fury.io/py/genrss.svg )] ( https://badge.fury.io/py/genrss )
34[ ![ Build Status] ( https://travis-ci.org/icetemple/genrss.svg?branch=master )] ( https://travis-ci.org/icetemple/genrss )
45[ ![ Coverage Status] ( https://coveralls.io/repos/github/icetemple/genrss/badge.svg?branch=master )] ( https://coveralls.io/github/icetemple/genrss?branch=master )
6+ [ ![ Documentation Status] ( https://readthedocs.org/projects/genrss/badge/?version=latest )] ( https://genrss.readthedocs.io/en/latest/?badge=latest )
57
68RSS generator for python
79
@@ -20,20 +22,20 @@ from datetime import datetime
2022from genrss import GenRSS
2123
2224feed = GenRSS(title = ' SmartFridge' ,
23- site_url = ' https://smartfridge.me' ,
24- feed_url = ' https://smartfridge.me/feed/rss.xml' )
25+ site_url = ' https://smartfridge.me' ,
26+ feed_url = ' https://smartfridge.me/feed/rss.xml' )
2527
2628feed.item(title = ' black buns for burgers' ,
27- description = ' For the first time black burgers appeared ' \
28- ' in Japan. Unusual dark color buns complemented ' \
29- ' with black cheese and sauce. Over time, the dish ' \
30- ' has conquered the whole world. The main secret ' \
31- ' ingredient in popular buns is the most common... ' \
32- ' charcoal!' ,
33- url = ' https://smartfridge.me/recipe/316b28-chernye-bulochki-dlya-burgerov/' ,
34- author = ' @smartfridge' ,
35- categories = [' baking' ],
36- pub_date = datetime.utcnow())
29+ description = ' For the first time black burgers appeared ' \
30+ ' in Japan. Unusual dark color buns complemented ' \
31+ ' with black cheese and sauce. Over time, the dish ' \
32+ ' has conquered the whole world. The main secret ' \
33+ ' ingredient in popular buns is the most common... ' \
34+ ' charcoal!' ,
35+ url = ' https://smartfridge.me/recipe/316b28-chernye-bulochki-dlya-burgerov/' ,
36+ author = ' @smartfridge' ,
37+ categories = [' baking' ],
38+ pub_date = datetime.utcnow())
3739
3840xml = feed.xml()
3941```
0 commit comments