initial json/xml export
This commit is contained in:
parent
a6c8f68047
commit
3ec896aa49
2 changed files with 51 additions and 0 deletions
|
|
@ -18,6 +18,10 @@ urlpatterns = patterns("item.views",
|
|||
#torrent
|
||||
(r'^(?P<id>[A-Z0-9].*)/torrent/(?P<filename>.*?)$', 'torrent'),
|
||||
|
||||
#export
|
||||
(r'^(?P<id>[A-Z0-9].*)/json$', 'item_json'),
|
||||
(r'^(?P<id>[A-Z0-9].*)/xml$', 'item_xml'),
|
||||
|
||||
#srt export
|
||||
(r'^(?P<id>[A-Z0-9].*)/(?P<layer>.+)\.srt$', 'srt'),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue