attr['label'] = 'Inventeur'
     tempoNom=""
     for car in inventeur[noeud]:
         if len(tempoNom) == 0:
             tempoNom+=car
         else:
             if isMaj(car):
                 tempoNom+=' '+car
             else:
                 tempoNom+=car
     
     attr['url'] ='http://worldwide.espacenet.com/searchResults?compact=false&ST=advanced&IN='+ quote('"'+ tempoNom+'"')+'&locale=en_EP&DB=EPODOC'
     #attr['url'] = 'http://patentscope.wipo.int/search/en/result.jsf?currentNavigationRow=2&prevCurrentNavigationRow=1&query=IN:'+quote(noeud)+'&office=&sortOption=Pub%20Date%20Desc&prevFilter=&maxRec=38&viewOption=All'
 elif noeud in LabelBrevet:
     attr['label'] = 'Brevet'
     tempor = getStatus2(noeud, ListeBrevet)
     if isinstance(tempor, list):
         if isinstance(tempor[0], list):
             attr['status'] = tempor[0][0] # no way for managing multiple status :(
         else:
             attr['status'] = tempor[0]
     else:
         attr['status'] = tempor
     
     attr['Class'] = getClassif(noeud, ListeBrevet)
     #attr['pid'] = getPrior(noeud, ListeBrevet)                
     attr['citations'] = getCitations(noeud, ListeBrevet)
     attr['FamilyLenght'] = getFamilyLenght(noeud, ListeBrevet)
     attr['Active'] = getActiveIndicator(noeud, ListeBrevet)
     attr['Representative'] = getRepresentative(noeud, ListeBrevet)
     tempotemp = "http://worldwide.espacenet.com/searchResults?compact=false&ST=singleline&query="+noeud+"&locale=en_EP&DB=EPODOC"
예제 #2
0
        #                    mask2 = len(noeud[5+ind:len(noeud)-2])
        #
        #                    attr['url'] = "http://web2.wipo.int/ipcpub#lang=fr&menulang=FR&refresh=symbol&notion=scheme&version=20140101&symbol="+noeud[0:4]+str(0)*mask+noeud[4:4+ind]+noeud[5+ind:len(noeud)-2]+'000' + (3-mask2)*str('0')
        #                else:
        #                    attr['url'] = "http://web2.wipo.int/ipcpub#lang=fr&menulang=FR&refresh=symbol&notion=scheme&version=20140101&symbol="+noeud[0:4]
                elif noeud in Inventeurs:

                    attr['label'] = 'Inventeur'
                    attr[
                        'url'] = 'http://worldwide.espacenet.com/searchResults?compact=false&ST=advanced&IN=' + quote(
                            '"' + inventeur[noeud] +
                            '"') + '&locale=en_EP&DB=EPODOC'
                    #attr['url'] = 'http://patentscope.wipo.int/search/en/result.jsf?currentNavigationRow=2&prevCurrentNavigationRow=1&query=IN:'+quote(noeud)+'&office=&sortOption=Pub%20Date%20Desc&prevFilter=&maxRec=38&viewOption=All'
                elif noeud in LabelBrevet:
                    attr['label'] = 'Brevet'
                    tempor = getStatus2(noeud, ListeBrevet)
                    if isinstance(tempor, list):
                        if isinstance(tempor[0], list):
                            attr['status'] = tempor[0][
                                0]  # no way for managing multiple status :(
                        else:
                            attr['status'] = tempor[0]
                    else:
                        attr['status'] = tempor

                    attr['Class'] = getClassif(noeud, ListeBrevet)
                    attr['pid'] = getPrior(noeud, ListeBrevet)
                    attr['citations'] = getCitations(noeud, ListeBrevet)
                    attr['FamilyLenght'] = getFamilyLenght(noeud, ListeBrevet)
                    attr['Active'] = getActiveIndicator(noeud, ListeBrevet)
                    attr['Representative'] = getRepresentative(