source: django/repo/urls.py @ 19:568f0b136f2d

Revision 19:568f0b136f2d, 2.6 KB checked in by hagenbruch@phoibe.ub.rub.de, 8 years ago (diff)

New entry IDs (UUIDs). Statistics overview of record counts. Deduplication support. Minor tweaks...

  • Property exe set to *
Line 
1# -*- coding: utf8
2from django.conf.urls.defaults import *
3from django.http import HttpResponse
4from django.views.decorators.cache import cache_page
5
6# Uncomment the next two lines to enable the admin:
7from django.contrib import admin
8admin.autodiscover()
9
10from repo.search.views import *
11
12urlpatterns = patterns('',
13    # Example:
14    # (r'^geowiss/', include('geowiss.foo.urls')),
15
16    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
17    # to INSTALLED_APPS to enable admin documentation:
18    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
19
20    # Uncomment the next line to enable the admin:
21        (r'^admin/', include(admin.site.urls)),
22        (r'^robots\.txt$', lambda r: HttpResponse("User-agent: *\nDisallow: /*", mimetype="text/plain")),
23        (r'^search', cache_page(resultlist, 60 * 15)),
24        (r'^sign_in', signin),
25        (r'^logout', logout),
26        (r'^advanced_search', advanced),
27        (r'^info', info),
28        (r'^mobile/entry/(.+?_\d+)', mentry),
29        (r'^mobile/search', mresult),
30        (r'^mobile/', mindex),
31        (r'^creator/(.+)', creator),
32        (r'^editor/(.+)', editor),
33        (r'^person/(.+)', person),
34        (r'^subject/(.+)', subject),
35        (r'^journal/(.+)', journal),
36        (r'^series/(.+)', series),
37        (r'^fakultaet/(.+)', fakultaet),
38        (r'^fach/(.+)', fach),
39        (r'^cloud/fakultaet/(.+)', fakcloud),
40        (r'^cloud/(.+)', cloud),
41        #(r'^author/cloud', authorcloud),
42        (r'^statistics/(.+?)/(.+)', stats),
43        (r'^mltentry/(.+?_\d+)', mltentry),
44        #(r'^entry/(.+?_\d+)/pos/(\d+)', entry),
45        (r'^entry/(.+?)/pos/(\d+)', entry),
46        #(r'^entry/(.+?_\d+)', entry_nopag),
47        (r'^entry/(.+)', entry_nopag),
48        (r'^empty$', empty),
49        (r'^watchlist/add', watchlist_add),
50        (r'^watchlist/delete', watchlist_delete),
51        (r'^watchlist/clear$', watchlist_clear),
52        (r'^watchlist$', watchlist),
53        (r'^export/atom/mods/dump$', atom_mods_dump),
54        (r'^export/atom/dc/dump$', atom_dc_dump),
55        (r'^export/atom/mods', atom_mods),
56        (r'^export/atom/dc', atom_dc),
57        (r'^export/xml/mods/dump$', xml_mods_dump),
58        (r'^export/xml/dc/dump$', xml_dc_dump),
59        (r'^export/xml/mods', xml_mods),
60        (r'^export/xml/dc', xml_dc),
61        (r'^export/xml/oai', xml_oai),
62        (r'^export/object/json/dump', object_json_dump),
63        (r'^export/object/json', object_json),
64        (r'^export/rdf/(\w+)/(\w+)', rdf_export),
65        (r'^export/plaintext/bibtex/dump$', text_bibtex_dump),
66        (r'^export/plaintext/bibtex', text_bibtex),
67        (r'^export/plaintext/ris/dump$', text_ris_dump),
68        (r'^export/plaintext/ris', text_ris),
69        (r'^export/unapi', unapi),
70        (r'^ajax/watchlist/add', ajax_watchlist_add),
71        (r'^ajax/watchlist/remove', ajax_watchlist_remove),
72        (r'^overview/', overview),
73        (r'^$', index),
74)
Note: See TracBrowser for help on using the repository browser.