Sha256: 20084ea43f816a4d72eb64993db8d696830da7f8c811fa73bf5c01b82422c034
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
* Added spike_mechanize_swissreg.rb Also this attempt works if I specify a trademark name or number. But it does not work, when specifying a timespan for the "Hinterlegungsdatum". Rechecked the Javascript parameters, but I cannot see the problem. Therefore I try no to parse the needed information from the page. I found out that there is either the name or a an image used as the trademark. Loading the details of a trademark using ids like the following https://www.swissreg.ch/srclient/faces/jsp/trademark/sr300.jsp?language=en§ion=tm&id=343260 # Ohne Bild https://www.swissreg.ch/srclient/faces/jsp/trademark/sr300.jsp?language=en§ion=tm&id=P-328879 takes a long time. * Encountered problems Long addresses are not fully displayed, e.g. 343260 Laboratoires Sauter S.A., 46, chemin de l'Etang, Vernier;, adresse pour la correspondance:, Bureau des Marques, case ... In this case one has to parse the detail html, which is just quite slow. * Used tools to debug (Addons to firefox) ** Firebug for xpath anaylsis ** installed HttpFox to watch http transfer and verify the content of the post data. Very useful!
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
brand2csv-0.1.4 | protocol.2013.05.21.textile |
brand2csv-0.1.3 | protocol.2013.05.21.textile |
brand2csv-0.1.2 | protocol.2013.05.21.textile |
brand2csv-0.1.1 | protocol.2013.05.21.textile |