V01.53.15 : dc namespace in json V01.53.15
authorcavaliet
Thu, 13 Nov 2014 15:47:57 +0100
changeset 1334 87ac8f374705
parent 1333 c59a51cf2dda
child 1335 5c52df59b348
V01.53.15 : dc namespace in json
src/ldt/ldt/__init__.py
src/ldt/ldt/ldt_utils/projectserializer.py
--- a/src/ldt/ldt/__init__.py	Tue Nov 04 18:04:49 2014 +0100
+++ b/src/ldt/ldt/__init__.py	Thu Nov 13 15:47:57 2014 +0100
@@ -1,6 +1,6 @@
 __all__ = ["VERSION", "get_version", "__version__"]
 
-VERSION = (1, 53, 14, "final", 0)
+VERSION = (1, 53, 15, "final", 0)
 
 
 def get_version():
--- a/src/ldt/ldt/ldt_utils/projectserializer.py	Tue Nov 04 18:04:49 2014 +0100
+++ b/src/ldt/ldt/ldt_utils/projectserializer.py	Thu Nov 13 15:47:57 2014 +0100
@@ -566,6 +566,8 @@
         res['annotation-types'] = self.annotation_types_dict.values() if len(self.annotation_types_dict) > 0 else None
         res['annotations'] = self.annotations_dict.values() if len(self.annotations_dict) > 0 else None
         
+        res['@context'] = { "dc": "http://purl.org/dc/elements/1.1/" }
+        
         return res 
     
     def get_annotations(self, first_cutting=True):