# Path: feedjack/views.py
# def ctx_get(ctx, k):
# def cache_etag(request, *argz, **kwz):
# def cache_last_modified(request, *argz, **kwz):
# def initview(request, response_cache=True):
# 	def get(self, request, *args, **kwz):
# def blogroll(request, btype):
# def foaf(request):
# def opml(request):
# def buildfeed(request, feedclass, **criterias):
# def _buildfeed(request, feedclass, view_data, **criterias):
# def rssfeed(request, **criterias):
# def atomfeed(request, **criterias):
# def mainview(request, **criterias):
# def _mainview(request, view_data, **criterias):
# class RedirectForSite(RedirectView):


from django.conf.urls import patterns
from feedjack import views
from types import StringTypes, NoneType
import itertools as it, operator as op, functools as ft
				urljoin(it.imap(op.itemgetter(1), url)) )


urlpatterns = list()

# Long-ago deprecated syndication links, now just a redirects
urlpatterns.extend([
	(r'^rss20.xml$', views.RedirectForSite.as_view(url='/feed/rss/')),
	(r'^feed/$', views.RedirectForSite.as_view(url='/feed/atom/')) ])
urlpatterns.extend(
	(src, views.RedirectForSite.as_view(url='/feed/atom/{0}'.format(dst)))
	for src,dst in specs_sets('^feed/{0}/?$', specs_deprecated, make_redirects=True) )

# New-style syndication links
urlpatterns.extend( (url, views.atomfeed)
	for url in specs_sets('^syndication/atom/{0}/?$', specs) )
urlpatterns.extend( (url, views.rssfeed)
	for url in specs_sets('^syndication/rss/{0}/?$', specs) )
urlpatterns.extend([
	(r'^syndication/atom/?$', views.atomfeed),
	(r'^syndication/rss/?$', views.rssfeed),
	(r'^syndication/opml/?$', views.opml),
	(r'^syndication/foaf/?$', views.foaf) ])

# Deprecated syndication links
urlpatterns.extend([
	(r'^feed/atom/$', views.atomfeed),
	(r'^feed/rss/$', views.rssfeed),
	(r'^opml/$', views.opml),
	(r'^foaf/$', views.foaf) ])

# Path: feedjack/views.py
# def ctx_get(ctx, k):
# def cache_etag(request, *argz, **kwz):
# def cache_last_modified(request, *argz, **kwz):
# def initview(request, response_cache=True):
# 	def get(self, request, *args, **kwz):
# def blogroll(request, btype):
# def foaf(request):
# def opml(request):
# def buildfeed(request, feedclass, **criterias):
# def _buildfeed(request, feedclass, view_data, **criterias):
# def rssfeed(request, **criterias):
# def atomfeed(request, **criterias):
# def mainview(request, **criterias):
# def _mainview(request, view_data, **criterias):
# class RedirectForSite(RedirectView):


# Path: feedjack/urls.py
from django.conf.urls import patterns
from feedjack import views
from types import StringTypes, NoneType
import itertools as it, operator as op, functools as ft

				urljoin(it.imap(op.itemgetter(1), url)) )


urlpatterns = list()

# Long-ago deprecated syndication links, now just a redirects
urlpatterns.extend([
	(r'^rss20.xml$', views.RedirectForSite.as_view(url='/feed/rss/')),
	(r'^feed/$', views.RedirectForSite.as_view(url='/feed/atom/')) ])
urlpatterns.extend(
	(src, views.RedirectForSite.as_view(url='/feed/atom/{0}'.format(dst)))
	for src,dst in specs_sets('^feed/{0}/?$', specs_deprecated, make_redirects=True) )

# New-style syndication links
urlpatterns.extend( (url, views.atomfeed)
	for url in specs_sets('^syndication/atom/{0}/?$', specs) )
urlpatterns.extend( (url, views.rssfeed)
	for url in specs_sets('^syndication/rss/{0}/?$', specs) )
urlpatterns.extend([
	(r'^syndication/atom/?$', views.atomfeed),
	(r'^syndication/rss/?$', views.rssfeed),
	(r'^syndication/opml/?$', views.opml),
	(r'^syndication/foaf/?$', views.foaf) ])

# Deprecated syndication links
urlpatterns.extend([
	(r'^feed/atom/$', views.atomfeed),
	(r'^feed/rss/$', views.rssfeed),
	(r'^opml/$', views.opml),
	(r'^foaf/$', views.foaf) ])

urlpatterns.extend( (url, views.atomfeed)