https://github.com/justquick/django-feedmap
Syndication Feeds & Sitemaps Generator, Integrates with ShareThis
https://github.com/justquick/django-feedmap
Last synced: about 1 year ago
JSON representation
Syndication Feeds & Sitemaps Generator, Integrates with ShareThis
- Host: GitHub
- URL: https://github.com/justquick/django-feedmap
- Owner: justquick
- Created: 2010-05-23T11:26:17.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-05-23T21:08:35.000Z (about 16 years ago)
- Last Synced: 2025-04-12T13:13:36.880Z (about 1 year ago)
- Language: Python
- Homepage: http://opensource.washingtontimes.com/projects/django-feedmap/
- Size: 229 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Feedmap
=======
:Authors:
Justin Quick
: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