Commits

Anonymous committed e81b3cd

fixed mimetype attribute misspelling in didl prefix

  • Participants
  • Parent commits 3fb3608
  • Tags MOAI-1.0.4

Comments (0)

Files changed (3)

 MOAI changes
 ============
 
+MOAI 1.0.4 (2009-07-15)
+-----------------------
+
+- Fixed misspelled mimeType attribute in DIDL metadata prefix
+
+Bugs Fixed
+~~~~~~~~~~
+
 MOAI 1.0.3 (2009-06-23)
+-----------------------
 
 Bugs Fixed
 ~~~~~~~~~~
 
 setup(
     name='MOAI',
-    version='1.0.3',
+    version='1.0.4',
     author='Infrae',
     author_email='jasper@infrae.com',
     description="MOAI, A Open Access Server Platform for Institutional Repositories",

src/moai/extensions/didl.py

             self.config.get_oai_id(data['record']['id'])))
 
         # generate mods for this feed
-        mods_data = DIDL.Resource(mimetype="application/xml")
+        mods_data = DIDL.Resource(mimeType="application/xml")
         MODS('mods', self.config, self.db)(mods_data, metadata)
 
         asset_data = []
                       mimeType="application/xml")
                      ),
                     DIDL.Component(
-                     DIDL.Resource(mimetype=asset['mimetype'][0],
+                     DIDL.Resource(mimeType=asset['mimetype'][0],
                                    ref=url)
                      )
                     )
                    mimeType="application/xml")
                   ),
                  DIDL.Component(
-                  DIDL.Resource(mimetype="text/html", ref=data['metadata']['url'][0])
+                  DIDL.Resource(mimeType="text/html", ref=data['metadata']['url'][0])
                  )
                 )
              root_item.append(item)