コード例 #1
0
                 else:
                     attr['ReductedClass'] = ""
             elif noeud in Applicant:
                 attr['label'] = 'Applicant'
                 attr['url'] ='http://worldwide.espacenet.com/searchResults?compact=false&ST=advanced&locale=en_EP&DB=EPODOC&PA='+quote('"'+applicant[noeud]+'"')
                 #attr['url'] = 'http://patentscope.wipo.int/search/en/result.jsf?currentNavigationRow=2&prevCurrentNavigationRow=1&query=PA:'+quote(noeud)+'&office=&sortOption=Pub%20Date%20Desc&prevFilter=&maxRec=123897&viewOption=All'
             elif noeud in IPCR1:
                 if noeud in IPCRCodes.keys():
                     attr['label'] = 'IPCR1'
                     attr['name'] = IPCRCodes[noeud]
                     attr['url'] = 'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version='+SchemeVersion+'&symbol=' +noeud
                 else:
                     pass #node is may be a status node
             elif noeud in IPCR7:
                 attr['label'] = 'IPCR7'
                 attr['url'] =  'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version='+SchemeVersion+'&symbol='+ symbole(noeud)
 #                try:                
 #                    attr['pid'] = ListeNoeuds.index(FindFather(noeud, IPCR4))
 #                except:
 #                    pass
             elif noeud in IPCR3:
                 attr['label'] = 'IPCR3'
                 attr['url'] = 'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version='+SchemeVersion+'&symbol=' +noeud
 #                try:
 #                    attr['pid'] = ListeNoeuds.index(FindFather(noeud, IPCR1))
 #                except:
 #                    pass
             elif noeud in IPCR4:
                 attr['label'] = 'IPCR4'
                 attr['url'] = 'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version='+SchemeVersion+'&symbol=' +noeud
 #                try:                
コード例 #2
0
     attr[
         'url'] = 'http://worldwide.espacenet.com/searchResults?compact=false&ST=advanced&locale=en_EP&DB=EPODOC&PA=' + quote(
             '"' + applicant[noeud] + '"')
     #attr['url'] = 'http://patentscope.wipo.int/search/en/result.jsf?currentNavigationRow=2&prevCurrentNavigationRow=1&query=PA:'+quote(noeud)+'&office=&sortOption=Pub%20Date%20Desc&prevFilter=&maxRec=123897&viewOption=All'
 elif noeud in IPCR1:
     if noeud in IPCRCodes.keys():
         attr['label'] = 'IPCR1'
         attr['name'] = IPCRCodes[noeud]
         attr[
             'url'] = 'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version=' + SchemeVersion + '&symbol=' + noeud
     else:
         pass  #node is may be a status node
 elif noeud in IPCR7:
     attr['label'] = 'IPCR7'
     attr[
         'url'] = 'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version=' + SchemeVersion + '&symbol=' + symbole(
             noeud)
     try:
         attr['pid'] = ListeNoeuds.index(
             FindFather(noeud, IPCR4))
     except:
         pass
 elif noeud in IPCR3:
     attr['label'] = 'IPCR3'
     attr[
         'url'] = 'http://web2.wipo.int/ipcpub#lang=enfr&menulang=FR&refresh=page&notion=scheme&version=' + SchemeVersion + '&symbol=' + noeud
     try:
         attr['pid'] = ListeNoeuds.index(
             FindFather(noeud, IPCR1))
     except:
         pass
 elif noeud in IPCR4: