# Copyright: 2011, Grigoriy Petukhov
# Author: Grigoriy Petukhov (http://lorien.name)
# License: BSD
from django.conf.urls.defaults import *

from feedzilla.syndication import PostFeed

urlpatterns = patterns('feedzilla.views',
    url(r'^$', 'index', name='feedzilla_index'),
    url('^tag/(?P<tag_value>.+)$', 'tag', name='feedzilla_tag'),
    url('^sources$', 'source_list', name='feedzilla_source_list'),
    url('^search$', 'search', name='feedzilla_search'),
    url('^submit$', 'submit_blog', name='feedzilla_submit_blog'),
)

urlpatterns += patterns('django.contrib.syndication.views',
    url(r'^ru/projects/feed$', PostFeed(), name='feedzilla_feed'),
)

# Copyright: 2011, Grigoriy Petukhov
# Author: Grigoriy Petukhov (http://lorien.name)
# License: BSD
from django.conf.urls.defaults import *

from feedzilla.syndication import PostFeed

urlpatterns = patterns('feedzilla.views',
    url(r'^$', 'index', name='feedzilla_index'),
    url('^tag/(?P<tag_value>.+)$', 'tag', name='feedzilla_tag'),
    url('^sources$', 'source_list', name='feedzilla_source_list'),
    url('^search$', 'search', name='feedzilla_search'),
    url('^submit$', 'submit_blog', name='feedzilla_submit_blog'),
)

urlpatterns += patterns('django.contrib.syndication.views',
    # WTF???
    url(r'^ru/projects/feed$', PostFeed(), name='feedzilla_feed'),
    # valid old line
    url(r'^feeds/posts$', PostFeed(), name='feedzilla_feed'),
)

Fix feed url