changeset 15:ca3084877394

publicationslist
author dwinter
date Fri, 31 May 2013 16:59:06 +0200
parents d92decb037d6
children 3e154b154b6f
files zopePubmanConnector.py
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/zopePubmanConnector.py	Fri May 31 11:40:00 2013 +0200
+++ b/zopePubmanConnector.py	Fri May 31 16:59:06 2013 +0200
@@ -261,12 +261,18 @@
         doctypes={}
         for escidocid in escidocids:
           
-            txt, type = self.getEntryFromPubman(escidocid.escidocid, True)
+            txt, type, bookID,linksIdentifier,linksLocator = self.getEntryFromPubman(escidocid.escidocid, True)
            
             if not doctypes.has_key(type):
                 doctypes[type]=[]
-                
-            doctypes[type].append((escidocid.escidocid,txt))
+               
+            entry={}
+            entry['citation']= txt
+            entry['escidocId']= escidocid.escidocid
+            entry['bookId']=bookID
+            entry['linksIdentifier']=linksIdentifier
+            entry['linksLocator']=linksIdentifier
+            doctypes[type].append(entry)
             
         
         return doctypes