elpaise.com.html - sfeed_tests - sfeed tests and RSS and Atom files | |
git clone git://git.codemadness.org/sfeed_tests | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
elpaise.com.html (1384682B) | |
--- | |
1 <!DOCTYPE html><html lang="es"><head><title>EL PAÍS: el periódico glob… | |
2 if (!Object.entries) { | |
3 Object.entries = function( obj ){ | |
4 var ownProps = Object.keys( obj ), | |
5 i = ownProps.length, | |
6 resArray = new Array(i); // preallocate the Array | |
7 while (i--) | |
8 resArray[i] = [ownProps[i], obj[ownProps[i]]]; | |
9 | |
10 return resArray; | |
11 }; | |
12 } | |
13 | |
14 if (!Object.values) { | |
15 Object.values = function( obj ){ | |
16 return Object.keys(obj).map(function(key) { | |
17 return obj[key]; | |
18 }); | |
19 }; | |
20 } | |
21 | |
22 // https://tc39.github.io/ecma262/#sec-array.prototype.find | |
23 if (!Array.prototype.find) { | |
24 Object.defineProperty(Array.prototype, 'find', { | |
25 value: function(predicate) { | |
26 // 1. Let O be ? ToObject(this value). | |
27 if (this == null) { | |
28 throw new TypeError('"this" is null or not defined… | |
29 } | |
30 | |
31 var o = Object(this); | |
32 | |
33 // 2. Let len be ? ToLength(? Get(O, "length")). | |
34 var len = o.length >>> 0; | |
35 | |
36 // 3. If IsCallable(predicate) is false, throw a Typ… | |
37 if (typeof predicate !== 'function') { | |
38 throw new TypeError('predicate must be a function'… | |
39 } | |
40 | |
41 // 4. If thisArg was supplied, let T be thisArg; els… | |
42 var thisArg = arguments[1]; | |
43 | |
44 // 5. Let k be 0. | |
45 var k = 0; | |
46 | |
47 // 6. Repeat, while k < len | |
48 while (k < len) { | |
49 // a. Let Pk be ! ToString(k). | |
50 // b. Let kValue be ? Get(O, Pk). | |
51 // c. Let testResult be ToBoolean(? Call(predicate… | |
52 // d. If testResult is true, return kValue. | |
53 var kValue = o[k]; | |
54 if (predicate.call(thisArg, kValue, k, o)) { | |
55 return kValue; | |
56 } | |
57 // e. Increase k by 1. | |
58 k++; | |
59 } | |
60 | |
61 // 7. Return undefined. | |
62 return undefined; | |
63 }, | |
64 configurable: true, | |
65 writable: true | |
66 }); | |
67 } | |
68 | |
69 // https://tc39.github.io/ecma262/#sec-array.prototype.fin… | |
70 if (!Array.prototype.findIndex) { | |
71 Object.defineProperty(Array.prototype, 'findIndex', { | |
72 value: function(predicate) { | |
73 // 1. Let O be ? ToObject(this value). | |
74 if (this == null) { | |
75 throw new TypeError('"this" is null or not defined… | |
76 } | |
77 | |
78 var o = Object(this); | |
79 | |
80 // 2. Let len be ? ToLength(? Get(O, "length")). | |
81 var len = o.length >>> 0; | |
82 | |
83 // 3. If IsCallable(predicate) is false, throw a Typ… | |
84 if (typeof predicate !== 'function') { | |
85 throw new TypeError('predicate must be a function'… | |
86 } | |
87 | |
88 // 4. If thisArg was supplied, let T be thisArg; els… | |
89 var thisArg = arguments[1]; | |
90 | |
91 // 5. Let k be 0. | |
92 var k = 0; | |
93 | |
94 // 6. Repeat, while k < len | |
95 while (k < len) { | |
96 // a. Let Pk be ! ToString(k). | |
97 // b. Let kValue be ? Get(O, Pk). | |
98 // c. Let testResult be ToBoolean(? Call(predicate… | |
99 // d. If testResult is true, return k. | |
100 var kValue = o[k]; | |
101 if (predicate.call(thisArg, kValue, k, o)) { | |
102 return k; | |
103 } | |
104 // e. Increase k by 1. | |
105 k++; | |
106 } | |
107 | |
108 // 7. Return -1. | |
109 return -1; | |
110 }, | |
111 configurable: true, | |
112 writable: true | |
113 }); | |
114 } | |
115 | |
116 // Production steps of ECMA-262, Edition 5, 15.4.4.18 | |
117 // Reference: http://es5.github.io/#x15.4.4.18 | |
118 if (!Array.prototype.forEach) { | |
119 | |
120 Array.prototype.forEach = function(callback/*, thisArg*/… | |
121 | |
122 var T, k; | |
123 | |
124 if (this == null) { | |
125 throw new TypeError('this is null or not defined'); | |
126 } | |
127 | |
128 // 1. Let O be the result of calling toObject() passin… | |
129 // |this| value as the argument. | |
130 var O = Object(this); | |
131 | |
132 // 2. Let lenValue be the result of calling the Get() … | |
133 // method of O with the argument "length". | |
134 // 3. Let len be toUint32(lenValue). | |
135 var len = O.length >>> 0; | |
136 | |
137 // 4. If isCallable(callback) is false, throw a TypeEr… | |
138 // See: http://es5.github.com/#x9.11 | |
139 if (typeof callback !== 'function') { | |
140 throw new TypeError(callback + ' is not a function'); | |
141 } | |
142 | |
143 // 5. If thisArg was supplied, let T be thisArg; else … | |
144 // T be undefined. | |
145 if (arguments.length > 1) { | |
146 T = arguments[1]; | |
147 } | |
148 | |
149 // 6. Let k be 0. | |
150 k = 0; | |
151 | |
152 // 7. Repeat while k < len. | |
153 while (k < len) { | |
154 | |
155 var kValue; | |
156 | |
157 // a. Let Pk be ToString(k). | |
158 // This is implicit for LHS operands of the in op… | |
159 // b. Let kPresent be the result of calling the HasP… | |
160 // internal method of O with argument Pk. | |
161 // This step can be combined with c. | |
162 // c. If kPresent is true, then | |
163 if (k in O) { | |
164 | |
165 // i. Let kValue be the result of calling the Get … | |
166 // method of O with argument Pk. | |
167 kValue = O[k]; | |
168 | |
169 // ii. Call the Call internal method of callback w… | |
170 // the this value and argument list containing kVa… | |
171 callback.call(T, kValue, k, O); | |
172 } | |
173 // d. Increase k by 1. | |
174 k++; | |
175 } | |
176 // 8. return undefined. | |
177 }; | |
178 } | |
179 | |
180 if (window.NodeList && !NodeList.prototype.forEach) { | |
181 NodeList.prototype.forEach = Array.prototype.forEach; | |
182 } | |
183 | |
184 if ((!window.Symbol || !Symbol.hasInstance) && !String.pro… | |
185 // Polyfilling Symbol.hasInstance and String.prototype.s… | |
186 (function(undefined) {function ArrayCreate(r){if(1/r==-I… | |
187 } | |
188 </script><link id="fusion-template-styles" rel="stylesheet… | |
189 { window.arcSignInUrl = "/pf" + window.arcSignInUrl + "?_website=el-… | |
190 var EP=EP||{}; | |
191 (function(e){e.FC={getCookie:function(a){a+="=";for(var d=do… | |
192 d||"mostrarFC"==a&&"SI"==b)return b}return null},setReleased… | |
193 | |
194 (function(){'use strict';var f=function(a){var b=0;return fu… | |
195 if("[object Function]"==c||"undefined"!=typeof a.call&&"unde… | |
196 d)}};var v=function(a,b){Object.defineProperty(l,a,{configur… | |
197 function(){F(a);l.setTimeout(function(){return G(a,3)},50)};… | |
198 "flex";b.style["justify-content"]="center";b.style["font-fam… | |
199 aa;L(a,e,g);L(a,e,h);L(a,c,d);L(a,c,e);L(a,b,c);a.a=b;a.b.bo… | |
200 255)).toString()+")"},J=function(a){a=a.f.a.createElement("D… | |
201 O.prototype.h=P?function(){var a=Uint8Array.prototype.toJSON… | |
202 a}}:function(){return JSON.stringify(this.a&&this.a,V)};var … | |
203 var ka=function(){var a=function(){if(!l.frames.googlefcPres… | |
204 (da(a.f,"internal_api_sb"),Z(a,S(a.b,9)))},function(b){b?Z(a… | |
205 | |
206 window.__475an521in8a__("WyIxZDllYjRhYWUyY2RjZTA3IixbbnVsbCx… | |
207 </script><script type="text/javascript" src="https://playert… | |
208 <script>(window.BOOMR_mq=window.BOOMR_mq||[]).push(["addVar",{"rua.upu… | |
209 <script>!function(a){var e="https://s.go-mpulse.net/boomerang/",t="add… | |
210 @media all and (-ms-high-contrast: none), (-ms-high-contrast: ac… | |
211 #fusion-app { display: none; } | |
212 #ie11-message { display: block !important; } | |
213 } | |
214 </style><div class="flex_grid background_white ie11-text"><div c… | |
215 | |
216 .kicker.kicker_educacion, .kicker_educacion { | |
217 margin-bottom: 0rem!important; | |
218 } | |
219 | |
220 .kicker.kicker_educacion span, .kicker_educacion span { | |
221 line-height: 1.7rem!important; | |
222 background-size: auto 1.34rem!important; | |
223 } | |
224 | |
225 .kicker.kicker_kicker_type_2, .kicker_kicker_type_2 { | |
226 border-bottom: .1rem solid #000; | |
227 padding-bottom: 0; | |
228 margin-bottom: 0rem; | |
229 position: relative; | |
230 text-indent: 0; | |
231 } | |
232 | |
233 .kicker.kicker_kicker_type_2 span, .kicker_kicker_type_2 span { | |
234 border-bottom: .5rem solid #b2ec74; | |
235 background-image: url(//ep01.epimg.net/estaticos/arc/2020/10/cintillo… | |
236 background-repeat: no-repeat; | |
237 background-size: auto 1.6rem; | |
238 background-position: left top; | |
239 line-height: 1.7rem; | |
240 width: 19.5rem; | |
241 display: block; | |
242 text-align: left; | |
243 text-indent: -6666rem; | |
244 } | |
245 | |
246 </style> | |
247 </div></nav><div id="elpais_gpt-NSTD1" class="prisa_ad | text_align_cent… | |
248 .kicker_kicker_type_1 { border-top: 0.1rem solid black; padding-top: 0.5… | |
249 .kicker_kicker_type_1:before { content: ''; display: block; height: 1rem… | |
250 .kicker_kicker_type_1 .text_indent { text-indent: 0; white-space: normal… | |
251 </style></div><div class="raw_html"><iframe id="iframe-friso-coronavirus… | |
252 <style> | |
253 #iframe-friso-coronavirus { | |
254 margin-bottom: 10px; | |
255 } | |
256 @media (min-width: 101px){ | |
257 #iframe-friso-coronavirus { | |
258 height: 153px; | |
259 } | |
260 } | |
261 </style></div><div class="raw_html"><style> | |
262 @media (max-width: 768px) { | |
263 body .section_a>.story_card_default .headline, body .section_a>.story_… | |
264 font-size: 4.1rem; | |
265 line-height: 4.4rem; | |
266 text-align: center; | |
267 } | |
268 } | |
269 </style></div></div><div class="section_b | col desktop_12 tablet_8 mobi… | |
270 .thematic__thematic_2 { | |
271 border-top: .1rem solid #000; | |
272 padding-top: 3.8rem; | |
273 } | |
274 | |
275 .thematic__thematic_2 div.border_bottom:empty { | |
276 display: none; | |
277 } | |
278 | |
279 .thematic__thematic_2 .section_chain_header { | |
280 border-top: none; | |
281 } | |
282 | |
283 .thematic__thematic_2 .section_chain_header .title { | |
284 padding: 2.2rem 0 2.3rem; | |
285 min-height: auto; | |
286 border-top: 1rem solid #9E2085; | |
287 margin-top: -4.9rem; | |
288 } | |
289 | |
290 .thematic__thematic_2 .section_chain_header .title span { | |
291 text-indent: 0; | |
292 text-transform: uppercase; | |
293 } | |
294 | |
295 .thematic__thematic_2 .badge { | |
296 margin: 0; | |
297 padding: 1.5rem 0 0; | |
298 border-top: .1rem solid #000; | |
299 } | |
300 | |
301 .thematic__thematic_2 .badge_label { | |
302 display: none; | |
303 } | |
304 | |
305 .thematic__thematic_2 .badge .text_indent { | |
306 text-indent: 0; | |
307 white-space: normal; | |
308 font-size: 1.2rem; | |
309 line-height: 1.2rem; | |
310 padding-right: 2rem; | |
311 } | |
312 | |
313 /*border en la fotos */ | |
314 .thematic__thematic_2 article .f { | |
315 position: relative; | |
316 } | |
317 | |
318 .thematic__thematic_2 article .f:before { | |
319 position: absolute; | |
320 bottom: 0; | |
321 left: 0; | |
322 width: 100%; | |
323 height: 0.4rem; | |
324 background: #9E2085; | |
325 z-index: 1; | |
326 content: ""; | |
327 } | |
328 | |
329 @media (min-width: 768px) { | |
330 .thematic__thematic_2 .section_chain_header .title { | |
331 padding-left: 0; | |
332 } | |
333 } | |
334 | |
335 @media (min-width: 1001px) { | |
336 .thematic__thematic_2 { | |
337 } | |
338 | |
339 .thematic__thematic_2 .section_chain_header .title { | |
340 padding: 2.2rem 0 2.3rem; | |
341 min-height: 0; | |
342 } | |
343 .thematic__thematic_2 .menu .section-menu .badge { | |
344 margin-top: 0; | |
345 } | |
346 | |
347 } | |
348 | |
349 @media only screen and (max-width: 1000px) { | |
350 | |
351 .thematic__thematic_2 .section_chain_header .title { | |
352 margin-top: -5.2rem; | |
353 padding: 1rem 0; | |
354 margin-bottom: 0; | |
355 } | |
356 | |
357 .thematic__thematic_2 .badge { | |
358 margin-bottom: 1.2rem; | |
359 margin-top: -.5rem; | |
360 } | |
361 } | |
362 | |
363 @media only screen and (max-width: 767px) { | |
364 .thematic__thematic_2 .section_chain_header { | |
365 padding-left: 1.4rem; | |
366 } | |
367 } | |
368 | |
369 </style></div><div class="b b__f frieze_chain | b__f-4 frieze_chain_4 ro… | |
370 | row margin_top margin_bottom_sm"><div class="menu custom_them… | |
371 | row margin_top margin_bottom_sm"><div class="menu custom_elec… | |
372 | row margin_top margin_bottom_sm"><div class="menu custom_cris… | |
373 | row margin_top margin_bottom_sm"><div class="menu custom_nues… | |
374 @media (min-width: 1001px){ | |
375 .thematic__nuestra_seleccion .title { | |
376 padding: 2.2rem 0 2.3rem; | |
377 min-height: 0; | |
378 } | |
379 .thematic__nuestra_seleccion .menu .section-menu .badge { | |
380 margin-top: 0; | |
381 } | |
382 } | |
383 </style></div><div class="raw_html"><style> | |
384 body .kicker_elecciones_eeuu { | |
385 background-size: 20rem auto; | |
386 } | |
387 </style></div></div><div id="elpais_gpt-MLDB3" class="prisa_ad | text_al… | |
388 | row margin_top margin_bottom_sm"><div class="menu custom_babe… | |
389 </a></h2><div class="c_b byline | uppercase color_gray_ultra_dark margin… | |
390 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
391 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
392 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
393 hidden"><li class="text_align_left "><button class="button |… | |
394 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
395 | row margin_top margin_bottom_sm"><div class="menu custom_yoig… | |
396 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
397 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
398 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
399 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
400 </a></h2><div class="c_b byline | uppercase color_gray_ultra_dark margin… | |
401 | row margin_top margin_bottom_sm"><div class="menu custom_vern… | |
402 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
403 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
404 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
405 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
406 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
407 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
408 | row margin_top margin_bottom_sm"><div class="menu custom_none… | |
409 var loadDeferredStyles = function() { | |
410 var addStylesNode = document.getElementById("deferred-styl… | |
411 var replacement = document.createElement("div"); | |
412 replacement.innerHTML = addStylesNode.textContent; | |
413 document.body.appendChild(replacement) | |
414 addStylesNode.parentElement.removeChild(addStylesNode); | |
415 }; | |
416 var raf = window.requestAnimationFrame || window.mozRequestA… | |
417 window.webkitRequestAnimationFrame || window.msRequestAn… | |
418 if (raf) raf(function() { window.setTimeout(loadDeferredStyl… | |
419 else window.addEventListener('load', loadDeferredStyles); | |
420 </script><script id="fusion-template-script" type="application… |