changeset 312:c774a0c58bc3

*** empty log message ***
author abukhman
date Fri, 15 Oct 2010 14:05:32 +0200
parents 84b69d261131
children 41fcea6a4041
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Oct 15 14:03:37 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Oct 15 14:05:32 2010 +0200
@@ -180,7 +180,7 @@
     
     def getOrigPages (self, docinfo=None, pageinfo=None):
         """Show original page """
-        #docpath = docinfo['textURLPath'] 
+        docpath = docinfo['textURLPath'] 
         #url = docinfo['url']
         selfurl = self.absolute_url()
         pn =pageinfo['current']
@@ -189,7 +189,7 @@
         dom =Parse(text)
         pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
         logging.debug("getOrigPages :%s"%(pagedivs))
-        return pagedivs
+        return "pagedivs"
     
     def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
         """returns single page from fulltext"""