2018-12-07 22:52:28 +00:00
|
|
|
from django.urls import path
|
2010-01-28 13:46:18 +00:00
|
|
|
|
2011-10-13 21:34:56 +00:00
|
|
|
from . import feeds
|
|
|
|
|
2014-04-02 00:46:34 +00:00
|
|
|
urlpatterns = [
|
2022-02-03 19:24:19 +00:00
|
|
|
path("syndication/rss2/", feeds.TestRss2Feed()),
|
|
|
|
path("syndication/rss2/articles/<int:entry_id>/", feeds.TestGetObjectFeed()),
|
2018-12-07 22:52:28 +00:00
|
|
|
path(
|
2022-02-03 19:24:19 +00:00
|
|
|
"syndication/rss2/guid_ispermalink_true/",
|
|
|
|
feeds.TestRss2FeedWithGuidIsPermaLinkTrue(),
|
|
|
|
),
|
2018-12-07 22:52:28 +00:00
|
|
|
path(
|
2022-02-03 19:24:19 +00:00
|
|
|
"syndication/rss2/guid_ispermalink_false/",
|
|
|
|
feeds.TestRss2FeedWithGuidIsPermaLinkFalse(),
|
|
|
|
),
|
|
|
|
path("syndication/rss091/", feeds.TestRss091Feed()),
|
|
|
|
path("syndication/no_pubdate/", feeds.TestNoPubdateFeed()),
|
|
|
|
path("syndication/atom/", feeds.TestAtomFeed()),
|
|
|
|
path("syndication/latest/", feeds.TestLatestFeed()),
|
|
|
|
path("syndication/custom/", feeds.TestCustomFeed()),
|
|
|
|
path("syndication/language/", feeds.TestLanguageFeed()),
|
|
|
|
path("syndication/naive-dates/", feeds.NaiveDatesFeed()),
|
|
|
|
path("syndication/aware-dates/", feeds.TZAwareDatesFeed()),
|
|
|
|
path("syndication/feedurl/", feeds.TestFeedUrlFeed()),
|
|
|
|
path("syndication/articles/", feeds.ArticlesFeed()),
|
|
|
|
path("syndication/template/", feeds.TemplateFeed()),
|
|
|
|
path("syndication/template_context/", feeds.TemplateContextFeed()),
|
|
|
|
path("syndication/rss2/single-enclosure/", feeds.TestSingleEnclosureRSSFeed()),
|
|
|
|
path("syndication/rss2/multiple-enclosure/", feeds.TestMultipleEnclosureRSSFeed()),
|
|
|
|
path("syndication/atom/single-enclosure/", feeds.TestSingleEnclosureAtomFeed()),
|
|
|
|
path("syndication/atom/multiple-enclosure/", feeds.TestMultipleEnclosureAtomFeed()),
|
2014-04-02 00:46:34 +00:00
|
|
|
]
|