Took out all of the references to the temporary url I was using
authortilly-Q <nattilypigeonfowl@gmail.com>
Thu, 3 Apr 2014 16:20:30 +0000 (12:20 -0400)
committertilly-Q <nattilypigeonfowl@gmail.com>
Mon, 21 Apr 2014 16:10:20 +0000 (12:10 -0400)
/metadata_context/v1

mediagoblin/routing.py
mediagoblin/templates/mediagoblin/metadata_contexts/v1 [deleted file]
mediagoblin/views.py

index a6b2a543756d1ece2ca2ece2e5a6b05eeec77979..9f2584d3a4c206b62f522070060fe850b5f07b97 100644 (file)
@@ -29,8 +29,6 @@ def get_url_map():
     add_route('index', '/', 'mediagoblin.views:root_view')
     add_route('terms_of_service','/terms_of_service',
         'mediagoblin.views:terms_of_service'),
-    add_route('metadata_context','/metadata_context/v<int:version_number>/',
-        'mediagoblin.views:metadata_context_view'),
     mount('/auth', auth_routes)
     mount('/mod', moderation_routes)
 
diff --git a/mediagoblin/templates/mediagoblin/metadata_contexts/v1 b/mediagoblin/templates/mediagoblin/metadata_contexts/v1
deleted file mode 100644 (file)
index 99882de..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-{
-  "@context": {
-    "dcterms": "http://purl.org/dc/elements/1.1/",
-    "xsd": "http://www.w3.org/2001/XMLSchema#",
-    "contributor":{
-      "@id":"dcterms:title",
-      "@type":"xsd:string"
-    },
-    "coverage":{
-      "@id":"dcterms:coverage",
-      "@type":"xsd:string"
-    },
-    "created":{
-      "@id":"dcterms:created",
-      "@type":"xsd:date"
-    },
-    "creator":{
-      "@id":"dcterms:created",
-      "@type":"xsd:date"
-    },
-    "date":{
-      "@id":"dcterms:date",
-      "@type":"xsd:date"
-    },
-    "description":{
-      "@id":"dcterms:description",
-      "@type":"xsd:string"
-    },
-    "format":{
-      "@id":"dcterms:format",
-      "@type":"xsd:string"
-    },
-    "identifier":{
-      "@id":"dcterms:identifier",
-      "@type":"xsd:string"
-    },
-    "language":{
-      "@id":"dcterms:language",
-      "@type":"xsd:string"
-    },
-    "publisher":{
-      "@id":"dcterms:publisher",
-      "@type":"xsd:string"
-    },
-    "relation":{
-      "@id":"dcterms:relation",
-      "@type":"xsd:string"
-    },
-    "rights":{
-      "@id":"dcterms:rights",
-      "@type":"xsd:anyURI"
-    },
-    "source":{
-      "@id":"dcterms:source",
-      "@type":"xsd:string"
-    },
-       "subject":{
-      "@id":"dcterms:subject",
-      "@type":"xsd:string"
-    },
-    "title": {
-      "@id":"dcterms:title",
-      "@type":"xsd:string"
-    },
-    "type":{
-      "@id":"dcterms:type",
-      "@type":"xsd:string"
-    }
-  }
-}
index 1ed71473c2e001505e5743cd25a7c7f4b5a79f8a..009e48e48b510edd54e1a840e60828b1236a78c3 100644 (file)
@@ -62,9 +62,3 @@ def terms_of_service(request):
 
     return render_to_response(request,
         'mediagoblin/terms_of_service.html', {})
-
-def metadata_context_view(request):
-    version = request.matchdict['version_number']
-    return render_to_response(request,
-        'mediagoblin/metadata_contexts/v{version}'.format(
-            version=version), {})