Ejemplo n.º 1
0
        #            elif noeud in Classification:
        #                attr['label'] = 'IPCR'
        #                if noeud.count('/') > 0:
        #                    ind = noeud[4:].index('/')
        #                    mask = 4 - ind
        #                    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)
Ejemplo n.º 2
0
 #                    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'
             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)
Ejemplo n.º 3
0
        #                    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'
                    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)