version 1.175.2.12, 2011/07/29 18:36:04
|
version 1.175.2.14, 2011/08/02 10:35:05
|
Line 464 class documentViewer(Folder):
|
Line 464 class documentViewer(Folder):
|
# process index.meta contents |
# process index.meta contents |
if metaDom is not None: |
if metaDom is not None: |
# document directory name and path |
# document directory name and path |
|
logging.debug("RESOURCE: %s"%repr(self.metadataService.resource.getData(dom=metaDom,recursive=1))) |
resource = self.metadataService.getResourceData(dom=metaDom) |
resource = self.metadataService.getResourceData(dom=metaDom) |
if resource: |
if resource: |
docinfo = self.getDocinfoFromResource(docinfo, resource) |
docinfo = self.getDocinfoFromResource(docinfo, resource) |
Line 486 class documentViewer(Folder):
|
Line 487 class documentViewer(Folder):
|
if access: |
if access: |
docinfo = self.getDocinfoFromAccess(docinfo, access) |
docinfo = self.getDocinfoFromAccess(docinfo, access) |
|
|
|
# attribution info |
|
attribution = self.metadataService.getAttributionData(dom=metaDom) |
|
if attribution: |
|
logging.debug("getDocinfo: attribution=%s"%repr(attribution)) |
|
docinfo['attribution'] = attribution |
|
#docinfo = self.getDocinfoFromAccess(docinfo, access) |
|
|
|
# copyright info |
|
copyright = self.metadataService.getCopyrightData(dom=metaDom) |
|
if copyright: |
|
logging.debug("getDocinfo: copyright=%s"%repr(copyright)) |
|
docinfo['copyright'] = copyright |
|
#docinfo = self.getDocinfoFromAccess(docinfo, access) |
|
|
# image path |
# image path |
if mode != 'texttool': |
if mode != 'texttool': |
# override image path from texttool |
# override image path from texttool |