hpricot 0.8.4-i386-mswin32 → 0.8.5-i386-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +11 -5
- data/COPYING +3 -3
- data/Rakefile +10 -7
- data/ext/fast_xs/FastXsService.java +38 -38
- data/ext/hpricot_scan/HpricotCss.java +2 -2
- data/ext/hpricot_scan/HpricotScanService.java +308 -334
- data/ext/hpricot_scan/hpricot_common.rl +3 -3
- data/ext/hpricot_scan/hpricot_css.c +25 -25
- data/ext/hpricot_scan/hpricot_css.java.rl +4 -4
- data/ext/hpricot_scan/hpricot_css.rl +5 -5
- data/ext/hpricot_scan/hpricot_scan.c +1814 -2020
- data/ext/hpricot_scan/hpricot_scan.h +2 -2
- data/ext/hpricot_scan/hpricot_scan.java.rl +15 -15
- data/lib/fast_xs/1.8/fast_xs.so +0 -0
- data/lib/fast_xs/1.9/fast_xs.so +0 -0
- data/lib/hpricot/builder.rb +2 -1
- data/lib/hpricot/xchar.rb +2 -1
- data/lib/hpricot_scan/1.8/hpricot_scan.so +0 -0
- data/lib/hpricot_scan/1.9/hpricot_scan.so +0 -0
- data/test/files/bnqt.html +1268 -0
- data/test/files/boingboing.html +141 -141
- data/test/files/cy0.html +2 -2
- data/test/files/immob.html +13 -13
- data/test/files/pace_application.html +50 -50
- data/test/files/tenderlove.html +16 -16
- data/test/files/uswebgen.html +11 -11
- data/test/files/utf8.html +24 -24
- data/test/files/week9.html +41 -41
- data/test/test_alter.rb +5 -5
- data/test/test_parser.rb +42 -21
- metadata +7 -8
data/test/files/tenderlove.html
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
<html>
|
2
|
-
<HEAD>
|
3
|
-
<meta http-equiv="Refresh" content="0; url=http://tenderlovemaking.com">
|
4
|
-
<META http-equiv="Refresh" content="0; url=http://tenderlovemaking.com">
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
<a href ="http://tenderlovemaking.com/">My Site!</a>
|
8
|
-
<A href ="http://whytheluckystiff.net/">Your Site!</A>
|
9
|
-
<MAP>
|
10
|
-
<area HREF="http://whytheluckystiff.net/" COORDS="1,2,3,4"></area>
|
11
|
-
<AREA HREF="http://tenderlovemaking.com/" COORDS="1,2,3,4">
|
12
|
-
</area>
|
13
|
-
<AREA HREF="http://tenderlovemaking.com/" COORDS="5,5,10,10" />
|
14
|
-
</MAP>
|
15
|
-
</body>
|
16
|
-
</html>
|
1
|
+
<html>
|
2
|
+
<HEAD>
|
3
|
+
<meta http-equiv="Refresh" content="0; url=http://tenderlovemaking.com">
|
4
|
+
<META http-equiv="Refresh" content="0; url=http://tenderlovemaking.com">
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<a href ="http://tenderlovemaking.com/">My Site!</a>
|
8
|
+
<A href ="http://whytheluckystiff.net/">Your Site!</A>
|
9
|
+
<MAP>
|
10
|
+
<area HREF="http://whytheluckystiff.net/" COORDS="1,2,3,4"></area>
|
11
|
+
<AREA HREF="http://tenderlovemaking.com/" COORDS="1,2,3,4">
|
12
|
+
</area>
|
13
|
+
<AREA HREF="http://tenderlovemaking.com/" COORDS="5,5,10,10" />
|
14
|
+
</MAP>
|
15
|
+
</body>
|
16
|
+
</html>
|
data/test/files/uswebgen.html
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
<!-- CENTER COLUMN -->
|
62
62
|
<div id="c-block">
|
63
63
|
<div id="c-col">
|
64
|
-
<p> </p>
|
64
|
+
<p> </p>
|
65
65
|
<h3 align="center">Keeping Internet Genealogy Free<br />
|
66
66
|
<br />
|
67
67
|
</h3>
|
@@ -100,28 +100,28 @@
|
|
100
100
|
National Coordinator<br />
|
101
101
|
The USGenWeb Project</p>
|
102
102
|
|
103
|
-
|
103
|
+
|
104
104
|
|
105
105
|
<p></p></td>
|
106
106
|
</tr>
|
107
107
|
</table>
|
108
108
|
</div>
|
109
|
-
</p>
|
110
|
-
</div>
|
111
|
-
|
109
|
+
</p>
|
110
|
+
</div>
|
111
|
+
|
112
112
|
<br />
|
113
113
|
</div>
|
114
114
|
<!-- END CENTER COLUMN --></div>
|
115
115
|
<!-- END C-BLOCK -->
|
116
116
|
<div id="ftr">
|
117
117
|
<div align="center">
|
118
|
-
|
118
|
+
|
119
119
|
<div align="center"><img src="images/footer-bar.gif" width="740" height="30" usemap="#footerMap" border="0" /></div>
|
120
120
|
<map name="footerMap">
|
121
121
|
<area shape="rect" coords="430,6,565,25" href="http://www.usgenweb.org">
|
122
122
|
</map>
|
123
123
|
|
124
|
-
</div>
|
124
|
+
</div>
|
125
125
|
</div>
|
126
126
|
<!-- LEFT COLUMN -->
|
127
127
|
<div id="lh-col">
|
@@ -134,7 +134,7 @@
|
|
134
134
|
<a href="http://www.rootsweb.com/~cogenweb/comain.htm" rel="nofollow" class="sidenavLnk" target=_blank" title="Colorado Genealogy">Colorado</a><br />
|
135
135
|
<a href="http://www.rootsweb.com/~ctgenweb" rel="nofollow" class="sidenavLnk" target=_blank" title="Connecticut Genealogy">Connecticut</a><br />
|
136
136
|
<a href="http://www.degenweb.org/" rel="nofollow" class="sidenavLnk" target=_blank" title="Delaware Genealogy">Delaware</a><br />
|
137
|
-
<a href="http://www.rootsweb.com/~dcgenweb/dc_genweb.htm" rel="nofollow" class="sidenavLnk" target=_blank" title="District of Columbia Genealogy">District of Columbia</a><br />
|
137
|
+
<a href="http://www.rootsweb.com/~dcgenweb/dc_genweb.htm" rel="nofollow" class="sidenavLnk" target=_blank" title="District of Columbia Genealogy">District of Columbia</a><br />
|
138
138
|
<a href="http://www.rootsweb.com/~flgenweb/index.html" rel="nofollow" class="sidenavLnk" target=_blank" title="Florida Genealogy">Florida</a><br />
|
139
139
|
<a href="http://www.rootsweb.com/~gagenweb/" rel="nofollow" class="sidenavLnk" target=_blank" title="Georgia Genealogy">Georgia</a><br />
|
140
140
|
<a href="http://www.rootsweb.com/~higenweb/hawaii.htm" rel="nofollow" class="sidenavLnk" target=_blank" title="Hawaii Genealogy">Hawaii</a><br />
|
@@ -167,7 +167,7 @@
|
|
167
167
|
<a href="http://www.rootsweb.com/~orgenweb/" rel="nofollow" class="sidenavLnk" target=_blank" title="Oregon Genealogy">Oregon</a><br />
|
168
168
|
<a href="http://www.pagenweb.org/" rel="nofollow" class="sidenavLnk" target=_blank" title="Pennsylvania Genealogy">Pennsylvania</a><br />
|
169
169
|
<a href="http://www.rootsweb.com/~rigenweb/" rel="nofollow" class="sidenavLnk" target=_blank" title="Rhode Island Genealogy">Rhode Island</a><br />
|
170
|
-
<a href="http://sciway3.net/scgenweb/" rel="nofollow" class="sidenavLnk" target=_blank" title="South Carolina Genealogy">South Carolina</a><br />
|
170
|
+
<a href="http://sciway3.net/scgenweb/" rel="nofollow" class="sidenavLnk" target=_blank" title="South Carolina Genealogy">South Carolina</a><br />
|
171
171
|
<a href="http://www.rootsweb.com/~sdgenweb" rel="nofollow" class="sidenavLnk" target=_blank" title="South Dakota Genealogy">South Dakota</a><br />
|
172
172
|
<a href="http://www.tngenweb.org/" rel="nofollow" class="sidenavLnk" target=_blank" title="Tennessee Genealogy">Tennessee</a><br />
|
173
173
|
<a href="http://www.rootsweb.com/~txgenweb/" rel="nofollow" class="sidenavLnk" target=_blank" title="Texas Genealogy">Texas</a><br />
|
@@ -198,7 +198,7 @@
|
|
198
198
|
<hr width="75%" size="1" noshade />
|
199
199
|
</div>
|
200
200
|
<div align="left">
|
201
|
-
<p align="left" class="sidenav">Comments and administrative-type problems should be emailed to the <a href="mailto:lhaasdav@cox.net" class="link">National Coordinator</a>.
|
201
|
+
<p align="left" class="sidenav">Comments and administrative-type problems should be emailed to the <a href="mailto:lhaasdav@cox.net" class="link">National Coordinator</a>.
|
202
202
|
For complaints regarding a specific web site within the USGenWeb Project, please include the URL when emailing the National Coordinator.</p>
|
203
203
|
<p align="left" class="sidenav">Direct comments or suggestions about this web site to the <a href="mailto:webmaster@usgenweb.com" class="link">Webmaster</a>. </p>
|
204
204
|
<br />
|
@@ -212,7 +212,7 @@
|
|
212
212
|
<a href="volunteers/index.shtml" class="sidenavLnk" title="USGenWeb Volunteers">for Volunteers</a><br />
|
213
213
|
<a href="sitemap.shtml" class="sidenavLnk">Site Map</a></p>
|
214
214
|
</span>
|
215
|
-
|
215
|
+
|
216
216
|
|
217
217
|
</div>
|
218
218
|
<!-- END RIGHT COLUMN -->
|
data/test/files/utf8.html
CHANGED
@@ -91,7 +91,7 @@ with some explanation of letters and encoding).
|
|
91
91
|
|
92
92
|
<p>
|
93
93
|
|
94
|
-
From the <cite>Tagelied</cite> of
|
94
|
+
From the <cite>Tagelied</cite> of
|
95
95
|
|
96
96
|
<a href="http://gutenberg.spiegel.de/autoren/eschenba.htm">
|
97
97
|
<b>Wolfram von Eschenbach</b></a> (Middle High German):
|
@@ -106,7 +106,7 @@ ich bringe in hinnen, ob ich kan.<br>
|
|
106
106
|
sîn vil manegiu tugent michz leisten hiez.<br>
|
107
107
|
</blockquote><p>
|
108
108
|
|
109
|
-
Some lines of
|
109
|
+
Some lines of
|
110
110
|
<a href="http://users.hol.gr/~artemis/odysseas_elytis.htm">
|
111
111
|
<b>Odysseus Elytis</b></a> (Greek):
|
112
112
|
|
@@ -121,7 +121,7 @@ Some lines of
|
|
121
121
|
|
122
122
|
<p>
|
123
123
|
|
124
|
-
The first stanza of
|
124
|
+
The first stanza of
|
125
125
|
<a href="http://www.ocf.berkeley.edu/%7Eleong/Russkaya%20Literatura/Aleksandr%20Sergeevich%20Pushkin.htm"><b>Pushkin</b></a>'s <cite>Bronze Horseman</cite> (Russian):<br>
|
126
126
|
<p><blockquote>
|
127
127
|
На берегу пустынных волн<br>
|
@@ -243,7 +243,7 @@ And from the sublime to the ridiculous, here is a
|
|
243
243
|
𐌽𐌳𐌰𐌽
|
244
244
|
𐌱𐍂𐌹𐌲𐌲𐌹𐌸.
|
245
245
|
<li><b>Old Norse</b> <i>(Runes):</i> ᛖᚴ ᚷᛖᛏ ᛖᛏᛁ
|
246
|
-
ᚧ ᚷᛚᛖᚱ ᛘᚾ
|
246
|
+
ᚧ ᚷᛚᛖᚱ ᛘᚾ
|
247
247
|
ᚦᛖᛋᛋ ᚨᚧ ᚡᛖ
|
248
248
|
ᚱᚧᚨ ᛋᚨᚱ
|
249
249
|
|
@@ -259,11 +259,11 @@ And from the sublime to the ridiculous, here is a
|
|
259
259
|
<li><b>Frysk / Frisian</b>: Ik kin glês ite, it docht me net sear.
|
260
260
|
<!-- <li><b>Nederlands / Dutch</b>: Ik kan glas eten, het doet mij geen pijn. -->
|
261
261
|
<!-- <li><b>Nederlands / Dutch</b>: Ik kan glas eten zonder dat het
|
262
|
-
mij
|
262
|
+
mij
|
263
263
|
schaadt. -->
|
264
264
|
<!-- <li><tt>Dutch: Ik kan glas eten, maar dat doet mij geen kwaad.</tt> -->
|
265
265
|
<li><b>Nederlands / Dutch</b>: Ik kan glas eten, het doet
|
266
|
-
mij
|
266
|
+
mij
|
267
267
|
geen kwaad.
|
268
268
|
|
269
269
|
|
@@ -288,10 +288,10 @@ dudd merr ni wii.
|
|
288
288
|
<li><b>Hungarian</b>: Meg tudom enni az üveget, nem lesz tőle bajom.
|
289
289
|
<li><b>Suomi / Finnish</b>: Voin syödä lasia, se ei vahingoita minua.
|
290
290
|
<li><b>Sami (Northern)</b>: Sáhtán borrat lása, dat ii leat bávččas.
|
291
|
-
<li><b>Erzian</b>: Мон ярсан
|
292
|
-
суликадо, ды
|
293
|
-
зыян
|
294
|
-
эйстэнзэ а
|
291
|
+
<li><b>Erzian</b>: Мон ярсан
|
292
|
+
суликадо, ды
|
293
|
+
зыян
|
294
|
+
эйстэнзэ а
|
295
295
|
ули.
|
296
296
|
<br><b>Karelian</b>: (NEEDED)
|
297
297
|
<br><b>Vepsian</b>: (NEEDED)
|
@@ -308,10 +308,10 @@ dudd merr ni wii.
|
|
308
308
|
<li><b>Slovenian:</b> Lahko jem steklo, ne da bi mi škodovalo.
|
309
309
|
<li><b>Croatian</b>: Ja mogu jesti staklo i ne boli me.
|
310
310
|
<li><b>Serbian</b> <i>(Latin):</i> Mogu jesti staklo a da mi ne škodi.
|
311
|
-
<li><b>Serbian</b> <i>(Cyrillic):</i> Могу јести стакло
|
311
|
+
<li><b>Serbian</b> <i>(Cyrillic):</i> Могу јести стакло
|
312
312
|
а
|
313
|
-
да ми
|
314
|
-
не
|
313
|
+
да ми
|
314
|
+
не
|
315
315
|
шкоди.
|
316
316
|
<li><b>Macedonian:</b> Можам да јадам стакло, а не ме штета.
|
317
317
|
<li><b>Russian</b>: Я могу есть стекло, оно мне не вредит.
|
@@ -327,7 +327,7 @@ dudd merr ni wii.
|
|
327
327
|
<li><b>Turkish</b>: Cam yiyebilirim, bana zararı dokunmaz.
|
328
328
|
<li><b>Turkish</b> <i>(Ottoman):</i> جام ييه بلورم بڭا ضررى طوقونمز
|
329
329
|
<li><b>Bangla / Bengali</b>:
|
330
|
-
আমি কাঁচ খেতে পারি, তাতে আমার কোনো ক্ষতি হয় না।
|
330
|
+
আমি কাঁচ খেতে পারি, তাতে আমার কোনো ক্ষতি হয় না।
|
331
331
|
<li><b>Marathi</b>: मी काच खाऊ शकतो, मला ते दुखत नाही.
|
332
332
|
<li><b>Hindi</b>: मैं काँच खा सकता हूँ, मुझे उस से कोई पीडा नहीं होती.
|
333
333
|
<li><b>Tamil</b>: நான் கண்ணாடி சாப்பிடுவேன், அதனால் எனக்கு ஒரு கேடும் வராது.
|
@@ -538,7 +538,7 @@ also include combining sequences.
|
|
538
538
|
|
539
539
|
<li>Includes Unicode 3.1 (or later) characters beyond Plane 0.
|
540
540
|
|
541
|
-
<li>The Classic Mongolian example should be vertical, top-to-bottom and
|
541
|
+
<li>The Classic Mongolian example should be vertical, top-to-bottom and
|
542
542
|
left-to-right. But such display is almost impossible. Also no font yet
|
543
543
|
exists which provides the proper ligatures and positional variants for the
|
544
544
|
characters of this script, which works somewhat like Arabic.
|
@@ -561,14 +561,14 @@ languages (e.g. Mandarin, Hakka)."
|
|
561
561
|
<li>Wagner Amaral of Pinese & Amaral Associados notes that
|
562
562
|
the Brazilian Portuguese sentence for
|
563
563
|
"I can eat glass" should be identical to the Portuguese one, as the word
|
564
|
-
"machuca" means "inflict pain", or rather "injuries". The words "faz
|
564
|
+
"machuca" means "inflict pain", or rather "injuries". The words "faz
|
565
565
|
mal" would more correctly translate as "cause harm".
|
566
566
|
|
567
567
|
<li>Burmese: In English the first person pronoun "I" stands for both
|
568
568
|
genders, male and female. In Burmese (except in the central part of Burma)
|
569
569
|
kyundaw (<font
|
570
570
|
size="+1"
|
571
|
-
face="Padauk">က္ယ္ဝန္တော္</font>) for male and kyanma (<font
|
571
|
+
face="Padauk">က္ယ္ဝန္တော္</font>) for male and kyanma (<font
|
572
572
|
size="+1" face="Padauk">က္ယ္ဝန္မ</font>) for female.
|
573
573
|
Using here a fully-compliant Unicode Burmese font -- sadly one and only Padauk
|
574
574
|
Graphite font exists -- rendering using graphite engine.
|
@@ -623,7 +623,7 @@ učí kvákať novú ódu o
|
|
623
623
|
<li><b>Hungarian:</b> Árvíztűrő tükörfúrógép.
|
624
624
|
<li><b>Spanish:</b> El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y frío, añoraba a su querido cachorro.
|
625
625
|
<li><b>Portuguese:</b> O próximo vôo à noite sobre o Atlântico, põe freqüentemente o único médico. (3)
|
626
|
-
<li><b>French:</b> Les naïfs ægithales hâtifs pondant à Noël où il gèle sont sûrs d'être
|
626
|
+
<li><b>French:</b> Les naïfs ægithales hâtifs pondant à Noël où il gèle sont sûrs d'être
|
627
627
|
déçus et de voir leurs drôles d'œufs abîmés.
|
628
628
|
|
629
629
|
<li><b>Esperanto:</b> Eĥoŝanĝo
|
@@ -653,7 +653,7 @@ umlauts and special characters, I had
|
|
653
653
|
"Grüße aus Bärenhöfe
|
654
654
|
(und Óechtringen)!"
|
655
655
|
Acute accents are not used in native German words, so I was surprised to
|
656
|
-
discover "Óechtringen" in the Deutsche Bundespost
|
656
|
+
discover "Óechtringen" in the Deutsche Bundespost
|
657
657
|
Postleitzahlenbuch:
|
658
658
|
<p>
|
659
659
|
<blockquote>
|
@@ -761,7 +761,7 @@ engine. Here are two examples.
|
|
761
761
|
|
762
762
|
<p>
|
763
763
|
|
764
|
-
<li>По пъ́тя пъту́ват кю́рди и югославя́ни.
|
764
|
+
<li>По пъ́тя пъту́ват кю́рди и югославя́ни.
|
765
765
|
|
766
766
|
</ol>
|
767
767
|
|
@@ -784,7 +784,7 @@ different ways, which should look identical:
|
|
784
784
|
<p>
|
785
785
|
|
786
786
|
In another test, we use HTML language tags to distinguish Bulgarian, Russian,
|
787
|
-
and <a href="http://www.tiro.com/transfer/Serbian_Rendering.pdf">Serbian</a>,
|
787
|
+
and <a href="http://www.tiro.com/transfer/Serbian_Rendering.pdf">Serbian</a>,
|
788
788
|
which have different italic forms for lowercase
|
789
789
|
б, г, д, п, and/or т:
|
790
790
|
<p>
|
@@ -804,10 +804,10 @@ which have different italic forms for lowercase
|
|
804
804
|
<td><b>Serbian</b>:
|
805
805
|
<td><span lang=SR>[ бгдпт</span> ]
|
806
806
|
<td><span lang=SR>[ <i>бгдпт</i></span> ]
|
807
|
-
<td> <span lang=SR><i>Могу јести стакло
|
807
|
+
<td> <span lang=SR><i>Могу јести стакло
|
808
808
|
а
|
809
|
-
да ми
|
810
|
-
не
|
809
|
+
да ми
|
810
|
+
не
|
811
811
|
шкоди.</i></span>
|
812
812
|
</table>
|
813
813
|
</blockquote>
|
data/test/files/week9.html
CHANGED
@@ -150,7 +150,7 @@ surround.excludes=""; // set per arena
|
|
150
150
|
surround.cat = ['a','b','c','d','e','f','g','h','i'];
|
151
151
|
surround.cookie = readCookie('surround');
|
152
152
|
|
153
|
-
if ( (surround.cookie == false) || (surround.cookie=='a') || (surround.cookie=='b') ) {
|
153
|
+
if ( (surround.cookie == false) || (surround.cookie=='a') || (surround.cookie=='b') ) {
|
154
154
|
surround.pick = Math.floor(Math.random() * surround.cat.length);
|
155
155
|
document.cookie=("surround="+surround.pick+";domain=.sportsline.com;path=/" );
|
156
156
|
vTag += ";adv="+surround.cat[surround.pick];
|
@@ -247,7 +247,7 @@ s.usePlugins=true
|
|
247
247
|
function s_doPlugins(s) {
|
248
248
|
/* Add calls to plugins here */
|
249
249
|
/* Example: s.campaign = s.getQueryParam('cid'); */
|
250
|
-
s.campaign = s.getQueryParam('source');
|
250
|
+
s.campaign = s.getQueryParam('source');
|
251
251
|
}
|
252
252
|
s.doPlugins=s_doPlugins
|
253
253
|
/************************** PLUGINS SECTION *************************/
|
@@ -297,7 +297,7 @@ s.cgif=new Function("t","k",""
|
|
297
297
|
s_v_videoisplaying = false;
|
298
298
|
}
|
299
299
|
}
|
300
|
-
|
300
|
+
|
301
301
|
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
|
302
302
|
var s_objectID;function s_c2fe(f){var x='',s=0,e,a,b,c;while(1){e=
|
303
303
|
f.indexOf('"',s);b=f.indexOf('\\',s);c=f.indexOf("\n",s);if(e<0||(b>=
|
@@ -610,13 +610,13 @@ if (switchDclk != 'off') {
|
|
610
610
|
</td>
|
611
611
|
</tr>
|
612
612
|
</table>
|
613
|
-
</div>
|
613
|
+
</div>
|
614
614
|
|
615
615
|
<!-- _spln_header -->
|
616
616
|
<table width="770" border="0" cellpadding="0" cellspacing="0" bgcolor="#000248">
|
617
617
|
<tr valign=top>
|
618
618
|
<td width="195" height="77"><a href="/" title="CBS SportsLine.com"><img src="http://images.sportsline.com/images/header327x77/arena_sportsline.jpg" alt="CBS SportsLine.com" width="195" height="77" border="0"></a></td>
|
619
|
-
|
619
|
+
|
620
620
|
<td width="150" height="77"><a href="http://www.sportsline.com/nfl" alt="NFL Football Sports News"><img src="http://images.sportsline.com/images/header150x77/nfl.jpg" width="150" height="77" alt="NFL Football Sports News" border="0" usemap="#arenaheader"></a></td>
|
621
621
|
<td width="425" height="77" valign="top" background="http://images.sportsline.com/images/header425x77/arena_sponsor_default.jpg"><script language="JavaScript"><!--//
|
622
622
|
var dclkPresenting='http://ad.doubleclick.net/adj/sponsorships.spln.com/as/'+vTag+';'+vTarget+';'+uID+';sz=425x77;tile=2;ord='+random+'?';
|
@@ -625,8 +625,8 @@ if (switchDclk != 'off') {
|
|
625
625
|
document.write('<scr'+'ipt src="'+dclkPresenting+'"><\/script>');
|
626
626
|
}
|
627
627
|
// --></script><noscript><a href="http://ad.doubleclick.net/jump/sponsorships.spln.com/as/nfl;arena=nfl;feat=scoreboard;!category=richm;type=psa;user=Anonymous;cust=no;vip=no;sz=425x77;tile=2;ord=864041165131140?" target="_blank"><img src="http://ad.doubleclick.net/ad/sponsorships.spln.com/as/nfl;arena=nfl;feat=scoreboard;!category=richm;type=psa;user=Anonymous;cust=no;vip=no;sz=425x77;tile=2;ord=864041165131140?" width="425" height="77" border="0"></a></noscript></td>
|
628
|
-
|
629
|
-
|
628
|
+
|
629
|
+
|
630
630
|
</tr></table>
|
631
631
|
<script language="JavaScript1.2"><!--
|
632
632
|
function ShowLayer(){return};
|
@@ -687,7 +687,7 @@ function OutLayer(){return};
|
|
687
687
|
</tr>
|
688
688
|
</table>
|
689
689
|
<!--no border--><!-- <div id="debugbox" style="position:absolute; top:0; left:775px; width:260px; height:300; padding:10px; border:1px dashed #999999; background-color: #f0f0f0; overflow:auto;"></div> -->
|
690
|
-
<script language="JavaScript" type="text/javascript">
|
690
|
+
<script language="JavaScript" type="text/javascript">
|
691
691
|
function debug22( title, text, clear ){
|
692
692
|
box = document.getElementById('debugbox');
|
693
693
|
if( clear ) box.innerHTML = '';
|
@@ -696,7 +696,7 @@ function debug22( title, text, clear ){
|
|
696
696
|
box.innerHTML += '<b>' + title + '</b>' + text + div;
|
697
697
|
return;
|
698
698
|
}
|
699
|
-
</script>
|
699
|
+
</script>
|
700
700
|
<SCRIPT LANGUAGE="JavaScript"><!--
|
701
701
|
|
702
702
|
var OmnitureTime=new Object();
|
@@ -814,7 +814,7 @@ if (switchDclk != 'off') {
|
|
814
814
|
|
815
815
|
</td>
|
816
816
|
</tr>
|
817
|
-
</table>
|
817
|
+
</table>
|
818
818
|
</td>
|
819
819
|
</tr>
|
820
820
|
<tr><td colspan="2"><hr size="1"></td></tr>
|
@@ -833,7 +833,7 @@ if(tzOffset.charAt(0) == "<")
|
|
833
833
|
tzOffset = "-1";
|
834
834
|
tzOffset = parseInt(tzOffset);
|
835
835
|
|
836
|
-
function formatTime(format, gmtTime){
|
836
|
+
function formatTime(format, gmtTime){
|
837
837
|
gmtTime = new String(gmtTime);
|
838
838
|
if(!parseInt(gmtTime) || gmtTime.indexOf(':') != -1 || gmtTime.indexOf('.') != -1)
|
839
839
|
return gmtTime;
|
@@ -867,7 +867,7 @@ function formatTime(format, gmtTime){
|
|
867
867
|
for(var i=0;i<format.length;i++){
|
868
868
|
if(format.charAt(i)=='%' && (i+1)<format.length){
|
869
869
|
var c = format.charAt(i+1);
|
870
|
-
switch(c){
|
870
|
+
switch(c){
|
871
871
|
case 'a':{ t+=days[w]; break; }
|
872
872
|
case 'A':{ t+=DAYS[w]; break; }
|
873
873
|
case 'b':{ t+=months[m]; break; }
|
@@ -1419,7 +1419,7 @@ if (switchDclk != 'off') {
|
|
1419
1419
|
</div>
|
1420
1420
|
|
1421
1421
|
<!-- from content-end-rail-none.html -->
|
1422
|
-
<td width="10"> </td>
|
1422
|
+
<td width="10"> </td>
|
1423
1423
|
</tr>
|
1424
1424
|
</table>
|
1425
1425
|
|
@@ -1434,7 +1434,7 @@ if (switchDclk != 'off') {
|
|
1434
1434
|
<script language="JavaScript">
|
1435
1435
|
<!-- // contextualAdObj Object which determines channelID
|
1436
1436
|
function contextualAdObj( vtag ){
|
1437
|
-
|
1437
|
+
|
1438
1438
|
// vtag passed from Request Environment
|
1439
1439
|
this.vtag = vtag;
|
1440
1440
|
// List of Features which Disable Contextual
|
@@ -1443,11 +1443,11 @@ if (switchDclk != 'off') {
|
|
1443
1443
|
this.project = 'media';
|
1444
1444
|
this.uri = '/nfl/scoreboard/2006/week9';
|
1445
1445
|
this.server_name = 'ws1625-fe.tm.cbsig.net';
|
1446
|
-
// if_this.display == 'none' (from Request Environment) Contextual Disables
|
1446
|
+
// if_this.display == 'none' (from Request Environment) Contextual Disables
|
1447
1447
|
this.display = '';
|
1448
|
-
|
1448
|
+
|
1449
1449
|
this.test = ( this.server_name.indexOf('dev') >= 0 || this.server_name.indexOf('qa') >=0 ) ? 'on' : 'off';
|
1450
|
-
|
1450
|
+
|
1451
1451
|
// Sets Arena, Feature & Site from vTag Passed from Request Environment
|
1452
1452
|
for( j=0; j < this.vtagSplit.length; j++ ){
|
1453
1453
|
keyValue = this.vtagSplit[j].split("=");
|
@@ -1464,7 +1464,7 @@ if (switchDclk != 'off') {
|
|
1464
1464
|
this.channelID = this.arena;
|
1465
1465
|
if( this.feature ) this.channelID += "-"+ this.feature;
|
1466
1466
|
//this.hints = 'CBS SportsLine.com is your home for year around sports news. Covering NFL football, MLB baseball, NBA basketball, NHL Hockey, NCAA sports, Fantasy leagues, and much more.';
|
1467
|
-
|
1467
|
+
|
1468
1468
|
uriSplit = this.uri.split('/');
|
1469
1469
|
if( this.uri == '/' ){
|
1470
1470
|
this.channelID = 'SPLN_Home';
|
@@ -1487,26 +1487,26 @@ if (switchDclk != 'off') {
|
|
1487
1487
|
this.channelID = 'other';
|
1488
1488
|
}
|
1489
1489
|
}
|
1490
|
-
|
1490
|
+
|
1491
1491
|
// Runs through List of Features which can disable Contextual
|
1492
1492
|
for( j=0; j < this.hideFeatures.length; j++ ){
|
1493
1493
|
if( this.feature == this.hideFeatures[j] ) this.display = 'none';
|
1494
1494
|
}
|
1495
|
-
|
1495
|
+
|
1496
1496
|
this.titleTrClass = 'bg0';
|
1497
1497
|
this.titleTdClass = 'fctitle';
|
1498
|
-
|
1498
|
+
|
1499
1499
|
// Changes Browser Status When Contextial Hover Over
|
1500
1500
|
this.ss = function(w){
|
1501
1501
|
window.status = w;
|
1502
1502
|
return true;
|
1503
1503
|
}
|
1504
|
-
|
1504
|
+
|
1505
1505
|
// Clears Browser Status When Contextial Hover Out
|
1506
1506
|
this.cs = function(){
|
1507
1507
|
window.status = '';
|
1508
1508
|
}
|
1509
|
-
|
1509
|
+
|
1510
1510
|
// Contextual Click Function
|
1511
1511
|
this.getGo = function(o, e){
|
1512
1512
|
if (document.getElementById) {
|
@@ -1514,7 +1514,7 @@ if (switchDclk != 'off') {
|
|
1514
1514
|
p = "";
|
1515
1515
|
r = "";
|
1516
1516
|
g = e.target;
|
1517
|
-
|
1517
|
+
|
1518
1518
|
if (g) {
|
1519
1519
|
t = g.id;
|
1520
1520
|
f = g.parentNode;
|
@@ -1536,8 +1536,8 @@ if (switchDclk != 'off') {
|
|
1536
1536
|
window.open(ae.href, target);
|
1537
1537
|
}
|
1538
1538
|
}
|
1539
|
-
|
1540
|
-
|
1539
|
+
|
1540
|
+
|
1541
1541
|
}
|
1542
1542
|
|
1543
1543
|
//Function called by google once data is recieved
|
@@ -1563,9 +1563,9 @@ if (switchDclk != 'off') {
|
|
1563
1563
|
output += '</td></tr>' ;
|
1564
1564
|
}
|
1565
1565
|
output += "</table>" ;
|
1566
|
-
|
1566
|
+
|
1567
1567
|
// Debug Lines
|
1568
|
-
|
1568
|
+
|
1569
1569
|
if( '' == '16385' ){
|
1570
1570
|
output += '<div class="SLTables1" align="right"><b>ChannelID:</b>'+ contextual.channelID +' <b>Project:</b>'+ contextual.project;
|
1571
1571
|
if(contextual.site) output += ' <b>Site:</b>'+ contextual.site ;
|
@@ -1573,16 +1573,16 @@ if (switchDclk != 'off') {
|
|
1573
1573
|
if(contextual.test == 'on') output += ' <b>Test Mode On</b>';
|
1574
1574
|
output += '</div>' ;
|
1575
1575
|
}
|
1576
|
-
|
1576
|
+
|
1577
1577
|
if( google_ads.length >= 1 ){
|
1578
1578
|
document.write( output );
|
1579
1579
|
if( '' != 'false' ) document.write( '<div class="spacer10"> </div>' );
|
1580
1580
|
}
|
1581
1581
|
}
|
1582
|
-
|
1582
|
+
|
1583
1583
|
//New contextualAdObj Object
|
1584
1584
|
if( ! contextual ) var contextual = new contextualAdObj( 'nfl;arena=nfl;feat=scoreboard;!category=richm;type=psa;user=Anonymous' );
|
1585
|
-
|
1585
|
+
|
1586
1586
|
//Loads google required variables
|
1587
1587
|
google_ad_client = contextual.clientID; //'ca-sportsline_js';
|
1588
1588
|
google_ad_output = 'js';
|
@@ -1595,7 +1595,7 @@ if (switchDclk != 'off') {
|
|
1595
1595
|
google_hints = contextual.hints;
|
1596
1596
|
google_kw = contextual.google_kw;
|
1597
1597
|
google_kw_type = contextual.google_kw_type;
|
1598
|
-
|
1598
|
+
|
1599
1599
|
//Determines wheather or not to call Google Js File which returns Contextual Ad Object and calls `function google_ad_request_done`
|
1600
1600
|
if (!switchCont) {var switchCont='on';}
|
1601
1601
|
if(( contextual.display != 'none' ) && ( switchCont != 'off' ) && ( contextual.googleRequest != true )){
|
@@ -1604,7 +1604,7 @@ if (switchDclk != 'off') {
|
|
1604
1604
|
}else{
|
1605
1605
|
contextual.googleRequest = false;
|
1606
1606
|
}
|
1607
|
-
|
1607
|
+
|
1608
1608
|
// -->
|
1609
1609
|
</script>
|
1610
1610
|
</td>
|
@@ -1642,11 +1642,11 @@ document.write('</div>');
|
|
1642
1642
|
// -->
|
1643
1643
|
</script>
|
1644
1644
|
<script>
|
1645
|
-
var _l = '1801392231'; // location_ext_id
|
1646
|
-
var _p = 720; //
|
1647
|
-
var _f = 1; //
|
1645
|
+
var _l = '1801392231'; // location_ext_id
|
1646
|
+
var _p = 720; //
|
1647
|
+
var _f = 1; //
|
1648
1648
|
var pub_click_url = '';
|
1649
|
-
var _isaclick=1;
|
1649
|
+
var _isaclick=1;
|
1650
1650
|
|
1651
1651
|
var _extra = (pub_click_url == "" ? "" : ( _isaclick ? "&aclick="+pub_click_url : "&pclick="+pub_click_url));
|
1652
1652
|
var _ta = (document.domain).split ("."); var psd = (_ta.length > 1 ? "." + _ta[_ta.length - 2] + "." + _ta[_ta.length - 1] : document.domain); var _cn = "LO" + _l + "="; var _call = document.cookie.indexOf (_cn); var _il = 1; var _tl = 0; var _ex; var _rnd = (new Date ()).getTime (); if (_call >= 0) { _pos = document.cookie.substring (_call).indexOf (';'); if (_pos > 0) _val = document.cookie.substring (_call + _cn.length, _call + _pos); else _val = document.cookie.substring (_call + _cn.length); if (_val.indexOf ('.') > 0) { _il = _val.substring (0, _val.indexOf ('.')); _ex = _val.substring (_val.indexOf ('.') + 1); _tl = _ex - (new Date ()).getTime (); } if (_tl <= 0) document.cookie = _cn + ";domain=" + psd + ";path=/;expires=" + (new Date ((new Date ()).getTime () - 1000000)).toGMTString () + ";"; } if (_il < _f || _tl <= 0) { var expiry = (new Date((new Date()).getTime()+_p*2*60*1000)).toGMTString(); if (document.cookie.indexOf(_cn) < 0 ) document.cookie=_cn+''+(1)+'.'+((new Date()).getTime()+_p*60*1000)+';domain='+psd+';path=/;expires='+expiry; else document.cookie=_cn+''+(_il-0+1)+'.'+_ex+';domain='+psd+';path=/;expires='+expiry;
|
@@ -1660,7 +1660,7 @@ var ahY=0;
|
|
1660
1660
|
var hdrPosition=whereami('hdrIMG');
|
1661
1661
|
ahY=parseInt(hdrPosition[1]);
|
1662
1662
|
var ahX = 2; // show header x times
|
1663
|
-
var ahName = "media-nfl-scoreboard";
|
1663
|
+
var ahName = "media-nfl-scoreboard";
|
1664
1664
|
var showHdr=mTrack(ahName,ahX);
|
1665
1665
|
var deadman='';
|
1666
1666
|
|
@@ -1672,7 +1672,7 @@ if ( (switchDclk!='off') && (showHdr==true) && (deadman!='Yes') ) {
|
|
1672
1672
|
</script>
|
1673
1673
|
|
1674
1674
|
<script language="JavaScript" src="http://images.sportsline.com/u/includes/script/ForeseeMediaTriggerParams.js?0003"></script>
|
1675
|
-
|
1675
|
+
|
1676
1676
|
<script language="JavaScript" src="http://images.sportsline.com/u/includes/script/ForeseeMediaLauncher.js?0001"></script>
|
1677
1677
|
<script language="JavaScript">
|
1678
1678
|
<!--
|
@@ -1695,7 +1695,7 @@ Poll();
|
|
1695
1695
|
<a href="http://www.sportsline.com/info/siteindex">Site Index</a> <b>·</b>
|
1696
1696
|
<a href="http://www.sportsline.com/info/about/privacy">Privacy Policy</a> <b>·</b>
|
1697
1697
|
<a href="http://www.sportsline.com/info/about/">About Us</a> <b>·</b>
|
1698
|
-
<a href="http://www.sportsline.com/info/about/tos">Terms of Service</a>
|
1698
|
+
<a href="http://www.sportsline.com/info/about/tos">Terms of Service</a>
|
1699
1699
|
<br />
|
1700
1700
|
<a href="http://www.cbs.com" target="_blank" title="TV listings">CBS.com</a> <b>·</b>
|
1701
1701
|
<a href="http://www.cbsnews.com" target="_blank" title="Breaking World News">CBSNews.com</a> <b>·</b>
|
@@ -1713,7 +1713,7 @@ Poll();
|
|
1713
1713
|
<tr class="ftbg1">
|
1714
1714
|
<td height="30" align="center" class="fttxt1">
|
1715
1715
|
Copyright © 1995 - 2006 SportsLine.com, Inc. All rights reserved. SportsLine is a registered service mark of SportsLine.com, Inc.<br>
|
1716
|
-
CBS "eye device" is a registered trademark of CBS Broadcasting, Inc.
|
1716
|
+
CBS "eye device" is a registered trademark of CBS Broadcasting, Inc.
|
1717
1717
|
|
1718
1718
|
</td></tr>
|
1719
1719
|
</table>
|