brand2csv 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 1.8.7
5
+ - 1.9.3
6
+ - 2.0.0
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
- gem 'mechanize', '~> 2.5.1'
2
+ gem 'mechanize' # , '~> 2.5.1'
3
3
  gem 'mechanize', :path => '/opt/src/mechanize/pkg' if false
4
4
  git 'git://github.com/sparklemotion/mechanize.git' do #, :tag => 'v0.13.4'
5
5
  gem 'mechanize'
@@ -16,4 +16,5 @@ group :development do
16
16
  gem 'webmock'
17
17
  gem 'hoe', '>= 3.4'
18
18
  gem 'rdoc'
19
+ # gem 'pry'
19
20
  end
@@ -10,19 +10,22 @@ GEM
10
10
  domain_name (0.5.11)
11
11
  unf (>= 0.0.5, < 1.0.0)
12
12
  ffi (1.8.1)
13
- hoe (3.6.1)
13
+ hoe (3.6.2)
14
14
  rake (>= 0.8, < 11.0)
15
+ http-cookie (1.0.1)
16
+ domain_name (~> 0.5)
15
17
  json (1.7.7)
16
- mechanize (2.5.1)
18
+ mechanize (2.7.1)
17
19
  domain_name (~> 0.5, >= 0.5.1)
20
+ http-cookie (~> 1.0.0)
18
21
  mime-types (~> 1.17, >= 1.17.2)
19
22
  net-http-digest_auth (~> 1.1, >= 1.1.1)
20
23
  net-http-persistent (~> 2.5, >= 2.5.2)
21
24
  nokogiri (~> 1.4)
22
25
  ntlm-http (~> 0.1, >= 0.1.1)
23
- webrobots (~> 0.0, >= 0.0.9)
26
+ webrobots (>= 0.0.9, < 0.2)
24
27
  mime-types (1.23)
25
- multi_json (1.7.3)
28
+ multi_json (1.7.5)
26
29
  net-http-digest_auth (1.3)
27
30
  net-http-persistent (2.8)
28
31
  nokogiri (1.5.9)
@@ -39,7 +42,7 @@ GEM
39
42
  diff-lcs (>= 1.1.3, < 2.0)
40
43
  rspec-mocks (2.13.1)
41
44
  rubyzip (0.9.9)
42
- selenium-webdriver (2.32.1)
45
+ selenium-webdriver (2.33.0)
43
46
  childprocess (>= 0.2.5)
44
47
  multi_json (~> 1.0)
45
48
  rubyzip
@@ -64,7 +67,7 @@ PLATFORMS
64
67
  DEPENDENCIES
65
68
  hoe (>= 3.4)
66
69
  json (~> 1.7.7)
67
- mechanize (~> 2.5.1)
70
+ mechanize
68
71
  nokogiri
69
72
  rdoc
70
73
  rspec
@@ -1,6 +1,12 @@
1
+ === 0.2.0 02.06.2013
2
+
3
+ * Updated README.md
4
+
1
5
  === 0.1.9 02.06.2013
2
6
 
3
7
  * Fixed bug which prevented correct interpretation of result.
8
+ * Display again errors when search too long
9
+ * Update to latest mechanize gem
4
10
 
5
11
  === 0.1.8 01.06.2013
6
12
 
@@ -1,5 +1,6 @@
1
1
  .gitignore
2
2
  .rspec
3
+ .travis.yml
3
4
  Gemfile
4
5
  Gemfile.lock
5
6
  History.txt
@@ -11,10 +12,33 @@ Rakefile
11
12
  bin/brand2csv
12
13
  lib/brand2csv.rb
13
14
  lib/brand2csv/version.rb
15
+ logs/aspen_08_08_1986.html
16
+ logs/post.rohdaten.httpfox
17
+ logs/post.rohdaten.mechanize
18
+ logs/protocol_swissreg.log
19
+ logs/result_01.10.2005.jsp
20
+ logs/sr1.jsp
21
+ logs/sr3.jsp
22
+ logs/start.jsp
23
+ logs/start2.jsp
14
24
  protocol.2013.05.12.textile
15
25
  protocol.2013.05.15.textile
16
26
  protocol.2013.05.21.textile
17
- resultat_1.html
27
+ spec/csv_spec.rb
28
+ spec/data/einfache_suche.html
29
+ spec/data/erweiterte_suche.html
30
+ spec/data/main.html
31
+ spec/data/result_short.html
32
+ spec/data/resultate_1.html
33
+ spec/data/resultate_2.html
34
+ spec/data/vereinfachte_1.html
35
+ spec/data/vereinfachte_detail_33.html
36
+ spec/detail_spec.rb
37
+ spec/short_spec.rb
38
+ spec/simple_search.rb
39
+ spec/spec_helper.rb
40
+ spec/utilities_spec.rb
18
41
  spike.rb
19
42
  spike_mechanize_swissreg.rb
20
43
  spike_watir.rb
44
+ swissreg.rb
data/README.md CHANGED
@@ -3,19 +3,20 @@
3
3
  brand2csv using swissreg.ch to get addresses.
4
4
 
5
5
  ## Usage
6
+ ```
6
7
  brand2csv 01.01.2013 "b*"
7
-
8
+ brand2csv 1.10.2005-31.10.2005
9
+ ```
8
10
  ## Help
9
11
  ```
10
12
  ~> brand2csv --help
11
- /usr/local/bin/brand2csv ver.0.1.7
13
+ /usr/local/bin/brand2csv ver.0.1.9
12
14
  Usage:
13
15
  brand2csv timespan
14
- Find all brands registered in switzerland during the given timespan.
15
- The following examples valid timespan periods:
16
- 1.10.2005
17
- 1.10.2005-31.10.2005
18
- 1.10.2005, 5.10.2005-31.10.2005
19
- The results are stored in the file ausgabe.csv.
20
- The trademark name is either a real brand name or a link to an image.
16
+ Find all brands registered in switzerland during the given timespan.
17
+ The following examples valid timespan periods:
18
+ brand2csv 01.01.2013 "b*" #will search for all brand starting with "b"
19
+ brand2csv 1.10.2005-31.10.2005 #this will work as well from version 0.1.9
20
+ The results are stored in the file <date_selected>.csv.
21
+ The trademark name is either a real brand name or a link to an image.
21
22
  ```
@@ -15,7 +15,8 @@ Usage:
15
15
  Find all brands registered in switzerland during the given timespan.
16
16
  The following examples valid timespan periods:
17
17
  brand2csv 01.01.2013 "b*" #will search for all brand starting with "b"
18
- The results are stored in the file ausgabe.csv.
18
+ brand2csv 1.10.2005-31.10.2005 #this will work as well from version 0.1.9
19
+ The results are stored in the file <date_selected>.csv.
19
20
  The trademark name is either a real brand name or a link to an image.
20
21
  EOS
21
22
  end
@@ -102,19 +102,6 @@ module Brand2csv
102
102
  @errors = Hash.new
103
103
  @lastDetail =nil
104
104
  @counterDetails = 0
105
- if false # force some values
106
- # asp* => 138 records werden geholt
107
- # a* => Es wurden 25,490 Treffer gefunden. Davon werden 10000 zufällig ausgewählte Schutztitel angezeigt. Bitte schränken Sie Ihre Suche weiter ein.
108
- # Ab 501 Treffer wird eine vereinfachte Trefferliste angezeigt.
109
- # asp* => 138 records werden geholt
110
-
111
- @marke = 'zzzyyzzzzyzzyz*' # => Fehlermeldung: Es wurden keine Daten gefunden
112
- @marke = 'aspira'
113
- # @number = '500000' # für Weihnachten
114
- @number = ' 601416' # für aspira
115
- # @marke = "*WEIH*"
116
- @timespan = nil
117
- end
118
105
  end
119
106
 
120
107
  def writeResponse(filename)
@@ -127,21 +114,16 @@ module Brand2csv
127
114
  end
128
115
  end
129
116
 
130
- def view_state(response)
131
- if /^1\.8/.match(RUBY_VERSION)
132
- match = /javax.faces.ViewState.*?value="([^"]+)"/u.match(response)
133
- else
134
- match = /javax.faces.ViewState.*?value="([^"]+)"/u.match(response.force_encoding('utf-8'))
135
- end
136
- match ? match[1] : ""
137
- end
138
-
139
- def checkErrors(body)
117
+ def checkErrors(body, exitIfFailure = true)
140
118
  BekannteFehler.each {
141
119
  |errMsg|
142
120
  if body.to_s.index(errMsg)
143
- puts "Tut mir leid. Suche wurde mit Fehlermeldung <#{errMsg}> abgebrochen."
144
- exit 2
121
+ if exitIfFailure
122
+ puts "Tut mir leid. Suche wurde mit Fehlermeldung <#{errMsg}> abgebrochen."
123
+ exit 2
124
+ else
125
+ puts "Info: Suche meldet <#{errMsg}> "
126
+ end
145
127
  end
146
128
  }
147
129
  end
@@ -152,14 +134,11 @@ module Brand2csv
152
134
  marke = @marke,
153
135
  nummer =@number) # nummer = "559271" ergibt genau einen treffer
154
136
 
155
- # discard this first response
156
- # swissreg.ch could not handle cookie by redirect.
157
- # HTTP status code is also strange at redirection.
158
- @agent.get Start_uri # get a cookie for the session
159
- content = @agent.get_file Start_uri
160
- writeResponse("#{LogDir}/start.jsp")
161
- # get only view state
162
- @state = view_state(content)
137
+ @agent.get_file Start_uri # 'https://www.swissreg.ch/srclient/faces/jsp/start.jsp'
138
+ writeResponse("#{LogDir}/session_expired.html")
139
+ @agent.page.links[3].click
140
+ writeResponse("#{LogDir}/homepage.html")
141
+ @state = @agent.page.form["javax.faces.ViewState"]
163
142
  data = [
164
143
  ["autoScroll", "0,0"],
165
144
  ["id_swissreg:_link_hidden_", ""],
@@ -167,16 +146,9 @@ module Brand2csv
167
146
  ["id_swissreg:_idcl", "id_swissreg_sub_nav_ipiNavigation_item0"],
168
147
  ["javax.faces.ViewState", @state],
169
148
  ]
170
- if UseClick
171
- Swissreg::setAllInputValue(@agent.page.forms.first, data)
172
- @agent.page.forms.first.submit
173
- else
174
- @agent.post(Start_uri, data)
175
- end
176
- writeResponse("#{LogDir}/start2.jsp")
177
- # Navigation with mechanize like this fails and returns to the home page
178
- # @agent.page.link_with(:id => "id_swissreg_sub_nav_ipiNavigation_item0").click
179
-
149
+ @agent.page.form['id_swissreg:_idcl'] = 'id_swissreg_sub_nav_ipiNavigation_item0'
150
+ @agent.page.forms.first.submit
151
+ writeResponse("#{LogDir}/trademark_simple.html")
180
152
  data = [
181
153
  ["autoScroll", "0,0"],
182
154
  ["id_swissreg:_link_hidden_", ""],
@@ -184,129 +156,57 @@ module Brand2csv
184
156
  ["id_swissreg:_idcl", "id_swissreg_sub_nav_ipiNavigation_item0_item3"],
185
157
  ["javax.faces.ViewState", @state],
186
158
  ]
187
- # sr1 ist die einfache suche, sr3 die erweiterte Suche
188
- if UseClick
189
- Swissreg::setAllInputValue(@agent.page.forms.first, data)
190
- @agent.page.forms.first.submit
191
- else
192
- @agent.post(Sr3, data)
193
- end
194
- writeResponse("#{LogDir}/sr3.jsp")
195
-
196
- # Fill out form values
197
- selectedPublicationStates = ['1', '3']
198
- @agent.page.form('id_swissreg').checkboxes.each{
199
- |box|
200
- TMChoiceFields.index(box.value) ? box.check : box.uncheck
201
- # box.check if $VERBOSE
202
- # select all publication reasons
203
- box.check if /id_ckbTMPubReason/.match(box.name)
204
- # select all publication states or accept default states
205
- # box.check if /id_ckbTMState/.match(box.name)
206
- if /id_ckbTMState/.match(box.name)
207
- if selectedPublicationStates.index(box.value)
208
- puts "Select id_ckbTMState #{box.value}" if $VERBOSE
209
- box.check
210
- else
211
- box.uncheck
212
- end
213
- end
214
- }
215
- if $VERBOSE and false # fill all details for marke 567120
216
- # Felder, welche nie bei der Antwort auftauchen
217
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_licensee') { |x| x.value = 'BBB Inc*' }
218
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_expiryDate') { |x| x.value = timespan }
219
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_pub_date') { |x| x.value = timespan }
220
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_nizza_class') { |x| x.value = '9' }
221
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_agent') { |x| x.value = 'Marc Stucki*' }
222
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_cbxCountry') { |x| x.value = 'CH' } # 'CH' or '_ALL'
223
-
224
- # Felder, welche im Resultat angezeigt werden
225
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_applicant') { |x| x.value = 'ASP ATON*' } #inhaber
226
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_tm_no') { |x| x.value = "567120" }
227
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_app_no') { |x| x.value = '50329/2008' }
228
- end
229
-
230
- # Feld, welches im Resultat angezeigt wird
231
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_tm_text') { |x| x.value = @marke}
232
-
233
- # Felder, welches nie bei der Antwort auftaucht. Ein Versuch .gsub('.', '%2E') schlug ebenfalls fehl!
234
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_txf_appDate') { |x| x.value = timespan}
235
-
236
- # Feld, welches ebenfalls berücksichtigt wird
237
- @agent.page.form('id_swissreg').field(:name => 'id_swissreg:mainContent:id_cbxHitsPerPage') { |x| x.value = HitsPerPage }
238
- @agent.page.form('id_swissreg').field(:name => 'autoScroll') { |x| x.value = '0,0' }
239
-
240
- if $VERBOSE
241
- puts "State of searchForm is:"
242
- @agent.page.form('id_swissreg').fields.each{ |f| puts "field: #{f.name}: #{f.value}"}
243
- @agent.page.form('id_swissreg').checkboxes.each{ |box| puts "#{box.name} checked? #{box.checked}"}
244
- end
159
+ @agent.page.form['id_swissreg:_idcl'] = 'id_swissreg_sub_nav_ipiNavigation_item0_item3'
160
+ @agent.page.forms.first.submit
161
+ writeResponse("#{LogDir}/trademark_extended.html")
245
162
 
246
- @criteria = [
247
- ["autoScroll", "0,829"],
248
- ["id_swissreg:_link_hidden_", ""],
249
- ["id_swissreg:mainContent:id_ckbTMState", "1"], # "Hängige Gesuche 1
250
- # ["id_swissreg:mainContent:id_ckbTMState", "2"], # "Gelöschte Gesuche 2
251
- ["id_swissreg:mainContent:id_ckbTMState", "3"], # aktive Marken 3
252
- # ["id_swissreg:mainContent:id_ckbTMState", "4"], # gelöschte Marken 4
253
- ["id_swissreg:mainContent:id_cbxCountry", "_ALL"], # Auswahl Länder _ALL
254
- # ["id_swissreg:mainContent:id_txf_tm_no", ""], # Marken Nr
255
- ["id_swissreg:mainContent:id_txf_tm_no", nummer],# Marken Nr
256
- ["id_swissreg:mainContent:id_txf_app_no", ""], # Gesuch Nr.
257
- ["id_swissreg:mainContent:id_txf_tm_text", marke],
258
- ["id_swissreg:mainContent:id_txf_applicant", ""], # Inhaber/in
259
- ["id_swissreg:mainContent:id_txf_agent", ""], # Vertreter/in
260
- ["id_swissreg:mainContent:id_txf_licensee", ""], # Lizenznehmer
261
- ["id_swissreg:mainContent:id_txf_nizza_class", ""], # Nizza Klassifikation Nr.
262
- # ["id_swissreg:mainContent:id_txf_appDate", timespan], # Hinterlegungsdatum
263
- ["id_swissreg:mainContent:id_txf_appDate", timespan] ,
264
- ["id_swissreg:mainContent:id_txf_expiryDate", ""], # Ablauf Schutzfrist
265
- # Markenart: Individualmarke 1 Kollektivmarke 2 Garantiemarke 3
266
- ["id_swissreg:mainContent:id_cbxTMTypeGrp", "_ALL"], # Markenart
267
- ["id_swissreg:mainContent:id_cbxTMForm", "_ALL"], # Markentyp
268
- ["id_swissreg:mainContent:id_cbxTMColorClaim", "_ALL"], # Farbanspruch
269
- ["id_swissreg:mainContent:id_txf_pub_date", ""], # Publikationsdatum
270
-
271
- # info zu Publikationsgrund id_swissreg:mainContent:id_ckbTMPubReason
272
- ["id_swissreg:mainContent:id_ckbTMPubReason", "1"], #Neueintragungen
273
- ["id_swissreg:mainContent:id_ckbTMPubReason", "2"], #Berichtigungen
274
- ["id_swissreg:mainContent:id_ckbTMPubReason", "3"], #Verlängerungen
275
- ["id_swissreg:mainContent:id_ckbTMPubReason", "4"], #Löschungen
276
- ["id_swissreg:mainContent:id_ckbTMPubReason", "5"], #Inhaberänderungen
277
- ["id_swissreg:mainContent:id_ckbTMPubReason", "6"], #Vertreteränderungen
278
- ["id_swissreg:mainContent:id_ckbTMPubReason", "7"], #Lizenzänderungen
279
- ["id_swissreg:mainContent:id_ckbTMPubReason", "8"], #Weitere Registeränderungen
280
- # ["id_swissreg:mainContent:id_ckbTMEmptyHits", "0"], # Leere Trefferliste anzeigen
281
-
282
- # "id_swissreg:mainContent:id_cbxFormatChoice" 2 = Publikationsansicht 1 = Registeransicht
283
- ["id_swissreg:mainContent:id_cbxFormatChoice", "1"],
284
- ["id_swissreg:mainContent:id_cbxHitsPerPage", HitsPerPage], # Treffer pro Seite
285
- ]
286
- TMChoiceFields.each{ | field2display| @criteria << ["id_swissreg:mainContent:id_ckbTMChoice", field2display] }
287
- # id_swissreg:mainContent:id_ckbTMChoice tm_lbl_tm_text
288
- puts "Marke ist #{marke}" if marke # Wortlaut der Marke
289
- puts "Hinterlegungsdatum ist #{timespan}" if $VERBOSE and timespan
290
- puts "nummer ist #{timespan}" if nummer
291
- @criteria << ["id_swissreg:mainContent:sub_fieldset:id_submit", "suchen"]
292
- @criteria << ["id_swissreg_SUBMIT", "1"]
293
- @criteria << ["id_swissreg:_idcl", ""]
294
- @criteria << ["id_swissreg:_link_hidden_", ""]
295
- @criteria << ["javax.faces.ViewState", @state]
296
-
297
- if true # UseClick
298
- # Swissreg::setAllInputValue(@agent.page.forms.first, @criteria)
299
- # setPublicationStates(@agent.page.form('id_swissreg'))
300
- @agent.page.form('id_swissreg').click_button(@agent.page.form('id_swissreg').button_with(:value => "suchen"))
301
- else # use post
302
- writeResponse("#{LogDir}/vor_post_sr3.jsp")
303
- @agent.post(Sr3, @criteria)
304
- writeResponse("#{LogDir}/erweiterte_suche.html")
305
- @agent.page.form('id_swissreg').click_button(@agent.page.form('id_swissreg').button_with(:value => "suchen"))
163
+ data = [
164
+ ["autoScroll", "0,829"],
165
+ ["id_swissreg:_link_hidden_", ""],
166
+ ["id_swissreg:mainContent:id_ckbTMState", "1"], # Hängige Gesuche 1
167
+ ["id_swissreg:mainContent:id_ckbTMState", "3"], # Aktive Marken 3
168
+ ["id_swissreg:mainContent:id_txf_tm_no", ""],# Marken Nr
169
+ ["id_swissreg:mainContent:id_txf_app_no", ""], # Gesuch Nr.
170
+ ["id_swissreg:mainContent:id_txf_tm_text", "#{marke}"],
171
+ ["id_swissreg:mainContent:id_txf_applicant", ""], # Inhaber/in
172
+ ["id_swissreg:mainContent:id_cbxCountry", "CH"],
173
+ ["id_swissreg:mainContent:id_txf_agent", ""], # Vertreter/in
174
+ ["id_swissreg:mainContent:id_txf_licensee", ""], # Lizenznehmer
175
+ ["id_swissreg:mainContent:id_txf_nizza_class", ""], # Nizza Klassifikation Nr.
176
+ ["id_swissreg:mainContent:id_txf_appDate", "#{timespan}"] ,
177
+ ["id_swissreg:mainContent:id_txf_expiryDate", ""], # Ablauf Schutzfrist
178
+ ["id_swissreg:mainContent:id_cbxTMTypeGrp", "_ALL"], # Markenart
179
+ ["id_swissreg:mainContent:id_cbxTMForm", "_ALL"], # Markentyp
180
+ ["id_swissreg:mainContent:id_cbxTMColorClaim", "_ALL"], # Farbanspruch
181
+ ["id_swissreg:mainContent:id_txf_pub_date", ""], # Publikationsdatum
182
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '1'],
183
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '2'],
184
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '3'],
185
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '4'],
186
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '5'],
187
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '6'],
188
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '7'],
189
+ ["id_swissreg:mainContent:id_ckbTMPubReason", '8'],
190
+ ["id_swissreg:mainContent:id_cbxFormatChoice", "1"],
191
+ ["id_swissreg:mainContent:id_ckbTMChoice", "tm_lbl_tm_text"],
192
+ ["id_swissreg:mainContent:id_ckbTMChoice", "tm_lbl_applicant"],
193
+ ["id_swissreg:mainContent:id_ckbTMChoice", "tm_lbl_country"],
194
+ ["id_swissreg:mainContent:id_ckbTMChoice", "tm_lbl_app_date"],
195
+ ["id_swissreg:mainContent:id_cbxHitsPerPage", HitsPerPage], # Treffer pro Seite
196
+ ["id_swissreg:mainContent:sub_fieldset:id_submit", "suchen"],
197
+ ["id_swissreg_SUBMIT", "1"],
198
+ ["id_swissreg:_idcl", ""],
199
+ ["id_swissreg:_link_hidden_", ""],
200
+ ["javax.faces.ViewState", @state],
201
+ ]
202
+ begin
203
+ @agent.post(Sr3, data)
204
+ rescue Timeout::Error
205
+ puts "Timeout!"
206
+ retry
306
207
  end
307
- # Hier sollten eigentlich alle Felder auftauchen, wie
308
- # Marke=asp*; Land (Inhaber/in)=Schweiz; Markenart=Alle; Markentyp=Alle; Farbanspruch=Alle; Publikationsgrund= Neueintragungen, Berichtigungen, Verlängerungen, Löschungen, Inhaberänderungen, Vertreteränderungen, Lizenzänderungen, Weitere Registeränderungen; Status= hängige Gesuche, aktive Marken
309
- writeResponse("#{LogDir}/resultate.jsp")
208
+ writeResponse("#{LogDir}/first_results.html")
209
+ checkErrors(@agent.page.body, false)
310
210
  end
311
211
 
312
212
  # the number is only passed to facilitate debugging
@@ -407,8 +307,8 @@ module Brand2csv
407
307
  end
408
308
  end
409
309
  if x.children.first.text.eql?('Inhaber/in')
410
- inhaber = />(.*)<\/td/.match(x.children[1].to_s)[1].gsub('<br>',LineSplit)
411
- x.children[1].children.each{ |child| zeilen << child.text unless child.text.length == 0 } # avoid adding <br>
310
+ inhaber = />(.*)<\/td/.match(x.children[1].to_s)[1].gsub('<br>',LineSplit).gsub('&amp;', '&')
311
+ x.children[1].children.each{ |child| zeilen << child.text.gsub('&amp;', '&') unless child.text.length == 0 } # avoid adding <br>
412
312
  end
413
313
  hinterlegungsdatum = x.children[1].text if x.children.first.text.eql?('Hinterlegungsdatum')
414
314
  number = x.children[1].text if x.children.first.text.eql?('Gesuch Nr.')
@@ -1,3 +1,3 @@
1
1
  module Brand2csv
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -0,0 +1,598 @@
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
14
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="de">
15
+
16
+ <head>
17
+ <title>Swissreg - Eidg. Institut für Geistiges Eigentum</title>
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26
+ <meta http-equiv="cache-control" content="private,no-cache,no-store"/>
27
+ <meta http-equiv="language" content="de, fr, it, en" />
28
+ <meta name="keywords" content="Recherchen, Datenbankrecherche, Patentinformation, Patentrecherche, Patent, Patentamt, IGE, Eidgen�ssisches Institut f�r Geistiges Eigentum, Infocenter, Patentsammlung, Patentdokument, Register, Schutzrecht, Patentgesetz, Patentverordnung, Markengesetz, Haager Abkommen, Erfindungen, Erfinder, Marktanalyse, Informationsvermittlung, unlauterer Wettbewerb, Erfindungspatent, Herkunftsbezeichnungen, SHAB, PMMBl, Handelsamtsblatt, Markenschutz, Marke, Namen, domain, domainnamen, Markenanmeldung, Urheberrecht, Suisa, Pro Literis, SSA, SMCC, Suissimage, Verwertungsgesellschaften, Topographien, Immaterialgüterrecht, espacenet, Gratisdatenbank, Design, Designschutz, Muster und Raubkopien, Geschmacksmuster, Gebrauchsmuster, ESZ, Schutzzertifikate"/>
29
+ <meta name="description" content="Schweizer Patentamt, Patente, Marken, Design, ESZ, Urheberrecht, Recherchen, Topographie, Datenbanken"/>
30
+ <meta name="abstract" content=" Datenbankrecherchen, Patentrecherchen, Markenschutz, Markenrecherchen, Design, Muster Modelle, Designrecherche, Urheberrecht"/>
31
+ <meta name="robots" content="noindex" />
32
+ <meta name="robots" content="nofollow" />
33
+ <meta name="publisher" content="Eidg. Institut f&uuml;r Geistiges Eigentum"/>
34
+ <link rel="shortcut icon" href='/srclient/img/favicon.ico'/>
35
+ <link rel="stylesheet" type="text/css" href='/srclient/css/base.css' media="screen" />
36
+ <link rel="stylesheet" type="text/css" href='/srclient/css/print.css' media="print" />
37
+ <script type="text/javascript" src='/srclient/js/sr2.js'></script>
38
+
39
+
40
+ </head>
41
+
42
+ <body class="hitlist">
43
+ <form id="id_swissreg" name="id_swissreg" method="post" action="/srclient/faces/jsp/trademark/sr30.jsp" enctype="application/x-www-form-urlencoded">
44
+
45
+
46
+
47
+ <div id="header"><table class="wMax"><tbody><tr><td class="textLeft"><span class="textLeft">
48
+ <a name="anchor_home" id="anchor_home"></a>
49
+ <a id="id_swissreg:sub_language:link_home" name="id_swissreg:sub_language:link_home" href="http://www.ige.ch/de.html" accesskey="0" target="_blank"><img id="id_swissreg:sub_language:logswissreg" src="/srclient/img/ige_logo_86.png" alt="Logo IPI" /></a></span></td><td class="center"><span id="id_swissreg:sub_language:breadcrum" class="breadcrum"><a id="id_swissreg:sub_language:breadcrum_link" name="id_swissreg:sub_language:breadcrum_link" href="http://www.ige.ch/de.html" target="_blank">ige.ch</a> &gt; elektronische Schutzrechtdatenbank</span></td><td class="right"><div id="language"><div id="header_app_name">swissreg</div>
50
+
51
+ <script type="text/javascript"><!--
52
+
53
+
54
+ function oamSetHiddenInput(formname, name, value)
55
+ {
56
+ var form = document.forms[formname];
57
+ if(typeof form.elements[name]=='undefined')
58
+ {
59
+ var newInput = document.createElement('input');
60
+ newInput.setAttribute('type','hidden');
61
+ newInput.setAttribute('name',name);
62
+ newInput.setAttribute('value',value);
63
+ form.appendChild(newInput);
64
+ }
65
+ else
66
+ {
67
+ form.elements[name].value=value;
68
+ }
69
+
70
+ }
71
+
72
+
73
+ function oamClearHiddenInput(formname, name, value)
74
+ {
75
+ var form = document.forms[formname];
76
+ if(typeof form.elements[name]!='undefined')
77
+ {
78
+ form.elements[name].value=null;
79
+ }
80
+
81
+ }
82
+
83
+ function oamSubmitForm(formName, linkId, target, params)
84
+ {
85
+
86
+ var clearFn = 'clearFormHiddenParams_'+formName.replace(/-/g, '\$:').replace(/:/g,'_');
87
+ if(typeof eval('window.'+clearFn)!='undefined')
88
+ {
89
+ eval('window.'+clearFn+'(formName)');
90
+ }
91
+
92
+ if(typeof window.getScrolling!='undefined')
93
+ {
94
+ oamSetHiddenInput(formName,'autoScroll',getScrolling());
95
+ }
96
+
97
+ var oldTarget = '';
98
+ if((typeof target!='undefined') && target != null)
99
+ {
100
+ oldTarget=document.forms[formName].target;
101
+ document.forms[formName].target=target;
102
+ }
103
+ if((typeof params!='undefined') && params != null)
104
+ {
105
+ for(var i=0; i<params.length; i++)
106
+ {
107
+ oamSetHiddenInput(formName,params[i][0], params[i][1]);
108
+ }
109
+
110
+ }
111
+
112
+ oamSetHiddenInput(formName,formName +':'+'_idcl',linkId);
113
+
114
+ if(document.forms[formName].onsubmit)
115
+ {
116
+ var result=document.forms[formName].onsubmit();
117
+ if((typeof result=='undefined')||result)
118
+ {
119
+ document.forms[formName].submit();
120
+ }
121
+
122
+ }
123
+ else
124
+ {
125
+ document.forms[formName].submit();
126
+ }
127
+ if(oldTarget==null) oldTarget='';
128
+ document.forms[formName].target=oldTarget;
129
+ if((typeof params!='undefined') && params != null)
130
+ {
131
+ for(var i=0; i<params.length; i++)
132
+ {
133
+ oamClearHiddenInput(formName,params[i][0], params[i][1]);
134
+ }
135
+
136
+ }
137
+
138
+ oamClearHiddenInput(formName,formName +':'+'_idcl',linkId);return false;
139
+ }
140
+
141
+
142
+ //--></script><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_language:languageList:0:_idJsp15');" id="id_swissreg:sub_language:languageList:0:_idJsp15"><strong>de</strong></a>
143
+ <input type="hidden" name="autoScroll" />
144
+ <span id="id_swissreg:sub_language:languageList:0:nbsp_0">&nbsp;|</span>
145
+ <a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_language:languageList:1:_idJsp15');" id="id_swissreg:sub_language:languageList:1:_idJsp15">fr</a><span id="id_swissreg:sub_language:languageList:1:nbsp_0">&nbsp;|</span>
146
+ <a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_language:languageList:2:_idJsp15');" id="id_swissreg:sub_language:languageList:2:_idJsp15">it</a><span id="id_swissreg:sub_language:languageList:2:nbsp_0">&nbsp;|</span>
147
+ <a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_language:languageList:3:_idJsp15');" id="id_swissreg:sub_language:languageList:3:_idJsp15">en</a>
148
+ </div></td></tr>
149
+ </tbody></table></div>
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ <div id="navigation"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_hitlistheader:link_header_home');" id="id_swissreg:sub_hitlistheader:link_header_home" accesskey="0" title="zur Startseite">Home</a>&nbsp;|&nbsp;<a id="id_swissreg:sub_hitlistheader:link_header_ige" name="id_swissreg:sub_hitlistheader:link_header_ige" href="http://www.ige.ch/de.html" target="ipi">ige.ch</a>&nbsp;|&nbsp;<a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_hitlistheader:link_header_back_search');" id="id_swissreg:sub_hitlistheader:link_header_back_search">zurück zur Suche</a>&nbsp;|&nbsp;<a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_hitlistheader:link_header_new_search');" id="id_swissreg:sub_hitlistheader:link_header_new_search">neue Suche</a>&nbsp;|&nbsp;<a id="id_swissreg:sub_hitlistheader:link_header_hitlist" name="id_swissreg:sub_hitlistheader:link_header_hitlist" href="#anchor_hitlist">Darstellung Trefferliste</a>&nbsp;|&nbsp;</div>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+ <div id="content2">
199
+
200
+ <div id="options">
201
+
202
+
203
+ <h1 class="non_printable">Trefferliste Registeransicht<span class="info">Was Sie über <a id="id_swissreg:sub_title:_idJsp35" href="https://www.swissreg.ch/help/de/trademark/sr1000.shtm#anchor_reg_result" target="_blank" style="cursor:help;"><strong>diese Trefferliste</strong></a> wissen sollten.</span></h1>
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+ <fieldset class="non_printable"><legend>Aktionen</legend><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="w400"><span style="display: block;" class="row0">Schutztitel</span></td><td class="w300"><span style="display: block;" class="row0">Info</span></td></tr>
250
+ <tr><td class="w400"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfPortrait');" id="id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfPortrait" onmousedown="cursorProgress('id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfPortrait'); return false;">PDF (A4/hoch)</a>,&nbsp<a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfLandscape');" id="id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfLandscape" onmousedown="cursorProgress('id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfLandscape'); return false;">PDF (A4/quer)</a></td><td class="w300">PDF aus der Trefferliste erstellen</td></tr>
251
+ </tbody></table></fieldset><fieldset class="non_printable"><legend>Suchkriterien</legend><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td> Marken Nr.=349115; Marke=asp*; Inhaber/in=Avaya Inc*</td></tr>
252
+ </tbody></table></fieldset><fieldset class="result"><legend>Ergebnisse</legend><table border="0" class="scroller"><tbody><tr><td><table><tr><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1first',null,[['id_swissreg:mainContent:scroll_1','first']]);" id="id_swissreg:mainContent:scroll_1first"><img src="/srclient/img/arrow_first.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1fastr',null,[['id_swissreg:mainContent:scroll_1','fastr']]);" id="id_swissreg:mainContent:scroll_1fastr"><img src="/srclient/img/arrow_fr.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1previous',null,[['id_swissreg:mainContent:scroll_1','previous']]);" id="id_swissreg:mainContent:scroll_1previous"><img src="/srclient/img/arrow_previous.png" /></a></td><td></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1next',null,[['id_swissreg:mainContent:scroll_1','next']]);" id="id_swissreg:mainContent:scroll_1next"><img src="/srclient/img/arrow_next.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1fastf',null,[['id_swissreg:mainContent:scroll_1','fastf']]);" id="id_swissreg:mainContent:scroll_1fastf"><img src="/srclient/img/arrow_ff.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1last',null,[['id_swissreg:mainContent:scroll_1','last']]);" id="id_swissreg:mainContent:scroll_1last"><img src="/srclient/img/arrow_last.png" /></a></td></tr></table></td><td><span class="standard">Seite 1 von 1 - Treffer 1-1 von 1</span></td></tr>
253
+ </tbody></table><table border="0" cellpadding="0" cellspacing="0" width="925"><tbody><tr><td>
254
+ <table id="id_swissreg:mainContent:data" width="925" class="small-border">
255
+ <thead>
256
+ <tr><th class="row0"></th><th class="row0"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:_idJsp98');" id="id_swissreg:mainContent:data:_idJsp98">Marke</a></th><th class="row0"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:_idJsp120');" id="id_swissreg:mainContent:data:_idJsp120">Nummer<img src="/srclient/img/ascending-arrow.gif" border="0" /></a></th><th class="row0"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:_idJsp127');" id="id_swissreg:mainContent:data:_idJsp127">Inhaber/in</a></th><th class="row0"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:_idJsp133');" id="id_swissreg:mainContent:data:_idJsp133">Land (Inhaber/in)</a></th><th class="row0"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:_idJsp151');" id="id_swissreg:mainContent:data:_idJsp151">Hinterlegungsdatum</a></th></tr></thead>
257
+ <tbody id="id_swissreg:mainContent:data:tbody_element">
258
+ <tr class="row1h" onmouseout="(this.rowIndex % 2 == 0) ? this.style.backgroundColor='#F0F0F0' : this.style.backgroundColor='#E6E6E6'" onmouseover="this.style.backgroundColor='#EAF4F4'"><td class="w25"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:0:view_detail:id_detail','detail',[['tmMainId','653345']]);" id="id_swissreg:mainContent:data:0:view_detail:id_detail" target="detail"><img src="/srclient/img/icon_view.png" title="zur Detailansicht" /></a></td><td class="w250"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:0:id_detail','detail',[['tmMainId','653345']]);" id="id_swissreg:mainContent:data:0:id_detail" target="detail"><span title="zur Detailansicht">ASPEN BRANCH</span></a></td><td class="w100"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:data:0:tm_no_detail:id_detail','detail',[['tmMainId','653345']]);" id="id_swissreg:mainContent:data:0:tm_no_detail:id_detail" target="detail"><span title="zur Detailansicht">349115</span></a></td><td class="w200">Avaya Inc., A Delaware Corporation, 211 Mount Airy Road, Basking Ridge (NJ 07920), US-Etats-Unis d'Am&#233;rique</td><td class="w200">Vereinigte Staate...</td><td class="w150">08.08.1986</td></tr></tbody></table>
259
+ </td></tr>
260
+ </tbody></table><table border="0" class="scroller"><tbody><tr><td><table><tr><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1first',null,[['id_swissreg:mainContent:scroll_1','first']]);" id="id_swissreg:mainContent:scroll_1first"><img src="/srclient/img/arrow_first.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1fastr',null,[['id_swissreg:mainContent:scroll_1','fastr']]);" id="id_swissreg:mainContent:scroll_1fastr"><img src="/srclient/img/arrow_fr.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1previous',null,[['id_swissreg:mainContent:scroll_1','previous']]);" id="id_swissreg:mainContent:scroll_1previous"><img src="/srclient/img/arrow_previous.png" /></a></td><td></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1next',null,[['id_swissreg:mainContent:scroll_1','next']]);" id="id_swissreg:mainContent:scroll_1next"><img src="/srclient/img/arrow_next.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1fastf',null,[['id_swissreg:mainContent:scroll_1','fastf']]);" id="id_swissreg:mainContent:scroll_1fastf"><img src="/srclient/img/arrow_ff.png" /></a></td><td><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:scroll_1last',null,[['id_swissreg:mainContent:scroll_1','last']]);" id="id_swissreg:mainContent:scroll_1last"><img src="/srclient/img/arrow_last.png" /></a></td></tr></table></td><td><span class="standard">Seite 1 von 1 - Treffer 1-1 von 1</span></td></tr>
261
+ </tbody></table></fieldset><a name="anchor_hitlist" id="anchor_hitlist"></a><fieldset class="non_printable"><legend>Darstellung Trefferliste</legend><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="w200 formular">Treffer pro Seite</td><td class="w300"><select id="id_swissreg:mainContent:id_sub_options_result:sub_fieldset:id_cbxHitsPerPage" name="id_swissreg:mainContent:id_sub_options_result:sub_fieldset:id_cbxHitsPerPage" size="1"> <option value="5">5</option> <option value="10">10</option> <option value="25" selected="selected">25</option> <option value="100">100</option> <option value="250">250</option></select><a id="id_swissreg:mainContent:id_sub_options_result:sub_fieldset:_idJsp215" href="https://www.swissreg.ch/help/de/trademark/sr3000.shtm#cbxHitsPerPage" target="_blank" style="cursor:help;"><img id="id_swissreg:mainContent:id_sub_options_result:sub_fieldset:_idJsp215" src="/srclient/img/icon_help.png" title="Hilfe und Beispiele aufrufen" width="20" height="20" /></a></td><td class="w100 example">&nbsp;</td></tr>
262
+ <tr><td class="w200 formular">&nbsp;</td><td class="w300">&nbsp;</td><td class="w100 example">&nbsp;</td></tr>
263
+ </tbody></table><table><tr class="row0"><td class="w200">Angezeigte Spalten</td><td class="w300">Selektion</td><td class="w100">&nbsp;</td></tr><tr><td class="formular">&nbsp;</td><td><table id="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice"><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" checked="checked" value="tm_lbl_tm_text" />&#160;Marke</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_state" />&#160;Status</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_nizza_class" />&#160;Nizza Klassifikation Nr.</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" checked="checked" value="tm_lbl_no" disabled="disabled" />&#160;Nummer</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" checked="checked" value="tm_lbl_applicant" />&#160;Inhaber/in</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" checked="checked" value="tm_lbl_country" />&#160;Land (Inhaber/in)</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_agent" />&#160;Vertreter/in</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_licensee" />&#160;Lizenznehmer/in</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" checked="checked" value="tm_lbl_app_date" />&#160;Hinterlegungsdatum</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_expiry_date" />&#160;Ablauf Schutzfrist</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_type_grp" />&#160;Markenart</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_form" />&#160;Markentyp</label></td></tr><tr><td><label><input type="checkbox" name="id_swissreg:mainContent:id_sub_options_result:id_ckbTMChoice" value="tm_lbl_color_claim" />&#160;Farbanspruch</label></td></tr></table><a id="id_swissreg:mainContent:id_sub_options_result:_idJsp233" href="https://www.swissreg.ch/help/de/trademark/sr3000.shtm#ckbTMChoice" target="_blank" style="cursor:help;"><img id="id_swissreg:mainContent:id_sub_options_result:_idJsp233" src="/srclient/img/icon_help.png" title="Hilfe und Beispiele aufrufen" width="20" height="20" /></a></td><td class="example">&nbsp;</td></tr></table><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="w200">&nbsp;</td><td class="w300">&nbsp;</td><td class="w200">&nbsp;</td></tr>
264
+ <tr><td class="w200"><span style="display: block;" class="row0">Ansicht aktualisieren</span></td><td class="w300"><span style="display: block;" class="row0">&nbsp;</span></td><td class="w200"><span style="display: block;" class="row0">&nbsp;</span></td></tr>
265
+ <tr><td class="w200"><input id="id_swissreg:mainContent:result_refresh:id_refresh" name="id_swissreg:mainContent:result_refresh:id_refresh" type="submit" value="aktualisieren" onclick="if(typeof window.clearFormHiddenParams_id_swissreg!='undefined'){clearFormHiddenParams_id_swissreg('id_swissreg');}if(typeof window.getScrolling!='undefined'){oamSetHiddenInput('id_swissreg','autoScroll',getScrolling());}" onmousedown="cursorProgress('id_swissreg:mainContent:result_refresh:id_refresh'); return false;" class="send" /></td><td class="w300">&nbsp;</td><td class="w200">&nbsp;</td></tr>
266
+ </tbody></table></fieldset><fieldset class="non_printable"><legend>Aktionen</legend><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="w400"><span style="display: block;" class="row0">Schutztitel</span></td><td class="w300"><span style="display: block;" class="row0">Info</span></td></tr>
267
+ <tr><td class="w400"><a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:sub_actions2:hitlist_sub_actions:link_action_pdfPortrait');" id="id_swissreg:mainContent:sub_actions2:hitlist_sub_actions:link_action_pdfPortrait" onmousedown="cursorProgress('id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfPortrait'); return false;">PDF (A4/hoch)</a>,&nbsp<a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:mainContent:sub_actions2:hitlist_sub_actions:link_action_pdfLandscape');" id="id_swissreg:mainContent:sub_actions2:hitlist_sub_actions:link_action_pdfLandscape" onmousedown="cursorProgress('id_swissreg:mainContent:sub_actions:hitlist_sub_actions:link_action_pdfLandscape'); return false;">PDF (A4/quer)</a></td><td class="w300">PDF aus der Trefferliste erstellen</td></tr>
268
+ </tbody></table></fieldset><div><input type="hidden" id="id_swissreg:mainContent:vivian" name="id_swissreg:mainContent:vivian" value="TRADEMARK REGISTER SEARCH TIMES: QUERY=[54] SELECT=[11] SERVER=[66] DELEGATE=[77] (HITS=[1])" /></div>
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+ </div>
515
+ </div>
516
+
517
+
518
+
519
+ <div id="footer"><a id="id_swissreg:sub_hitlistfooter:link_footer_top_of_page" name="id_swissreg:sub_hitlistfooter:link_footer_top_of_page" href="#anchor_home" title="Seitenanfang">Seitenanfang</a>&nbsp;|&nbsp;<a id="id_swissreg:sub_hitlistfooter:link_footer_help" name="id_swissreg:sub_hitlistfooter:link_footer_help" href="https://www.swissreg.ch/help/de/sr2000.shtm" accesskey="6" target="_blank" title="Hilfe">Hilfe</a>&nbsp;|&nbsp;<a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_hitlistfooter:link_footer_back_search');" id="id_swissreg:sub_hitlistfooter:link_footer_back_search">zurück zur Suche</a>&nbsp;|&nbsp;<a href="#" onclick="return oamSubmitForm('id_swissreg','id_swissreg:sub_hitlistfooter:link_footer_new_search');" id="id_swissreg:sub_hitlistfooter:link_footer_new_search">neue Suche</a>&nbsp;|&nbsp;</div>
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+ <div id="session"></div>
550
+
551
+ <input type="hidden" name="id_swissreg_SUBMIT" value="1" /><input type="hidden" name="id_swissreg:_idcl" /><input type="hidden" name="id_swissreg:mainContent:scroll_1" /><input type="hidden" name="tmMainId" /><input type="hidden" name="id_swissreg:_link_hidden_" /><script type="text/javascript"><!--
552
+
553
+ function clear_id_5Fswissreg()
554
+ {
555
+ clearFormHiddenParams_id_swissreg('id_swissreg');
556
+ }
557
+
558
+ function clearFormHiddenParams_id_swissreg(currFormName)
559
+ {
560
+ var f = document.forms['id_swissreg'];
561
+ f.elements['id_swissreg:_idcl'].value='';
562
+ f.elements['id_swissreg:mainContent:scroll_1'].value='';
563
+ f.elements['tmMainId'].value='';
564
+ f.elements['id_swissreg:_link_hidden_'].value='';
565
+ f.target='';
566
+ }
567
+
568
+ clearFormHiddenParams_id_swissreg();
569
+ //--></script><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAE0cHQAFy9qc3AvdHJhZGVtYXJrL3NyMzAuanNw" /></form>
570
+ <!-- MYFACES JAVASCRIPT -->
571
+
572
+ <script type="text/javascript"><!--
573
+
574
+ function getScrolling()
575
+ {
576
+ var x = 0; var y = 0;if (self.pageXOffset || self.pageYOffset)
577
+ {
578
+ x = self.pageXOffset;
579
+ y = self.pageYOffset;
580
+ }
581
+ else if ((document.documentElement && document.documentElement.scrollLeft)||(document.documentElement && document.documentElement.scrollTop))
582
+ {
583
+ x = document.documentElement.scrollLeft;
584
+ y = document.documentElement.scrollTop;
585
+ }
586
+ else if (document.body)
587
+ {
588
+ x = document.body.scrollLeft;
589
+ y = document.body.scrollTop;
590
+ }
591
+ return x + "," + y;
592
+ }
593
+
594
+ //--></script>
595
+
596
+ </body>
597
+
598
+ </html>