#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" attr['url'] = tempotemp if attr['Class'] is not None: attr['ReductedClass'] = getClassif(noeud, ListeBrevet)[0:4] 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():
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" attr['url'] = tempotemp if attr['Class'] is not None: attr['ReductedClass'] = getClassif(noeud, ListeBrevet)[0:4] 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(