django-feedmap-0.1
توضیحات
Use a register command to generate RSS and Atom feeds as well as a corresponding Sitemaps. Integrates easily with ShareThis
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-feedmap-0.1 |
| نام | django-feedmap |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Justin Quick |
| ایمیل نویسنده | justquick@gmail.com |
| آدرس صفحه اصلی | http://opensource.washingtontimes.com/projects/django-feedmap/ |
| آدرس اینترنتی | https://pypi.org/project/django-feedmap/ |
| مجوز | UNKNOWN |
Feedmap
=======
:Authors:
Justin Quick <justquick@gmail.com>
:Version: 0.1
::
pip install django-feedmap
Django Feedmap is a syndication feeds and sitemaps generator for django.
Register the querysets only once with feedmap so it knows how to populate
the feeds. Put this bit in your urls.py::
from feedmap import feedmap
feedmap.register('entries',
BlogEntry.objects.filter(is_public=True),
feed_attrs = {
'title':'Recent Blog Entries',
'link':'/blog/',
},
)
urlpatterns += feedmap.urls
Then it will generate syndication feeds in atom and rss2 formats as well as corresponding sitemaps::
/sitemap.xml # Global Index
/sitemap-feeds.xml # Index of syndication feeds
/sitemap-entries.xml # Actual sitemap of recent blog entries
/feeds/entries # RSS2 feed
/feeds/entries/atom # Atom feed
نحوه نصب
نصب پکیج whl django-feedmap-0.1:
pip install django-feedmap-0.1.whl
نصب پکیج tar.gz django-feedmap-0.1:
pip install django-feedmap-0.1.tar.gz