Use a register command to generate RSS and Atom feeds as well as a corresponding Sitemaps. Integrates easily with ShareThis
Project description
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-feedmap-0.1.tar.gz
(3.6 kB
view details)
File details
Details for the file django-feedmap-0.1.tar.gz.
File metadata
- Download URL: django-feedmap-0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5792d2f3d8869a6b7c67d0dfe2261d47b241cb2f97a63fbe1fdc488751d356d2
|
|
| MD5 |
2a831a80df00c2b072d7a24e1c693d0c
|
|
| BLAKE2b-256 |
38756efbb6a938dc5bc3082959d7a8258a00bd47573154fb8573a64fbee52061
|