changeset 225:57c2f5b6ada5

*** empty log message ***
author abukhman
date Fri, 08 Oct 2010 15:34:50 +0200
parents 58c5338749c7
children 0b614f078f7b
files documentViewer.py
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Fri Oct 08 15:29:00 2010 +0200
+++ b/documentViewer.py	Fri Oct 08 15:34:50 2010 +0200
@@ -404,6 +404,16 @@
         logging.debug("(getDomFromIndexMeta): URLXAXA: %s"%regpath.group(2))            
         return ("/mpiwg/online/"+regpath.group(1)+"/"+regpath.group(2))
      
+    def getIndexMetaName(self,url):
+        """gib nur den Pfad zurueck"""
+        #regexp = re.compile(r".*(experimental|permanent)/(.*)")
+        regpath = regexp.match(url)
+        if (regpath==None):
+            return ""
+        logging.debug("(getIndexMetaName): XAXA: %s"%regpath.group(2))            
+        return regpath
+    
+    
     def getIndexMetaUrl(self,url):
         """returns utr  of index.meta document at url"""