comparison zopePubmanConnector.py @ 15:ca3084877394

publicationslist
author dwinter
date Fri, 31 May 2013 16:59:06 +0200
parents d92decb037d6
children 3e154b154b6f
comparison
equal deleted inserted replaced
14:d92decb037d6 15:ca3084877394
259 def getEntriesFromPubman(self,escidocids): 259 def getEntriesFromPubman(self,escidocids):
260 260
261 doctypes={} 261 doctypes={}
262 for escidocid in escidocids: 262 for escidocid in escidocids:
263 263
264 txt, type = self.getEntryFromPubman(escidocid.escidocid, True) 264 txt, type, bookID,linksIdentifier,linksLocator = self.getEntryFromPubman(escidocid.escidocid, True)
265 265
266 if not doctypes.has_key(type): 266 if not doctypes.has_key(type):
267 doctypes[type]=[] 267 doctypes[type]=[]
268 268
269 doctypes[type].append((escidocid.escidocid,txt)) 269 entry={}
270 entry['citation']= txt
271 entry['escidocId']= escidocid.escidocid
272 entry['bookId']=bookID
273 entry['linksIdentifier']=linksIdentifier
274 entry['linksLocator']=linksIdentifier
275 doctypes[type].append(entry)
270 276
271 277
272 return doctypes 278 return doctypes
273 279
274 280