Mercurial > hg > documentViewer
comparison documentViewer.py @ 459:aabfa6124cfb elementtree
nicer comments
author | casties |
---|---|
date | Wed, 20 Jul 2011 10:22:36 +0200 |
parents | 48b135b089c8 |
children | 76bc2317146f |
comparison
equal
deleted
inserted
replaced
458:48b135b089c8 | 459:aabfa6124cfb |
---|---|
570 dom = self.getDomFromIndexMeta(path) | 570 dom = self.getDomFromIndexMeta(path) |
571 | 571 |
572 docinfo['indexMetaPath']=self.getIndexMetaPath(path); | 572 docinfo['indexMetaPath']=self.getIndexMetaPath(path); |
573 | 573 |
574 logging.debug("documentViewer (getbibinfofromindexmeta cutted) path: %s"%(path)) | 574 logging.debug("documentViewer (getbibinfofromindexmeta cutted) path: %s"%(path)) |
575 # put in all raw bib fields as dict "bib" | 575 # put all raw bib fields in dict "bib" |
576 bib = getBibdataFromDom(dom) | 576 bib = getBibdataFromDom(dom) |
577 docinfo['bib'] = bib | 577 docinfo['bib'] = bib |
578 | 578 |
579 # extract some fields (author, title, year) according to their mapping | 579 # extract some fields (author, title, year) according to their mapping |
580 metaData=self.metadata.main.meta.bib | 580 metaData=self.metadata.main.meta.bib |