4 <meta charset=
"utf-8" />
5 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0"/>
6 <title>Notice from #LibrePlanet
</title>
7 <meta http-equiv=
"refresh" content=
"600">
8 <meta http-equiv=
"Cache-Control" content=
"no-store" />
9 <link href=
"https://fonts.googleapis.com/css?family=Exo+2:400,800" rel=
"stylesheet">
14 font-family: 'Exo
2', sans-serif;
18 background-color: #
4F0276;
28 background-color: #
52ce73;
35 border-bottom-left-radius:
100px;
45 #content-program .program-session-desc-block,
46 #content-program button {
59 background-color: #DFDFDF;
75 footer .mpost p { padding:
0px; margin:
0px; margin-bottom:
20px; }
78 text-decoration: none;
85 grid-template-columns:
1fr
3fr;
98 align-content: center;
104 .content-ft:first-child {
105 border-right:
3px solid #
4F0276;
114 #content-program .program-day {
116 animation: slide-slow infinite;
117 animation-duration:
20s;
118 animation-direction: alternate;
119 animation-timing-function: ease-in-out;
122 @keyframes slide-slow {
123 0% { margin-top:
1%; }
124 10% { margin-top:
1%; }
125 95% { margin-top: -
43%; }
126 100% { margin-top: -
43%; }
129 .program-day-header {
134 .program-timeslot-header {
138 .program-session-header h2 {
145 .program-session { padding-left:
5em; }
146 .program-session-speaker {
150 .program-session-speaker a {
152 text-decoration: none;
154 .program-session-room-details {
158 padding-bottom:
1.5em;
161 aside { position: relative; }
163 .iitem { width:
90%; }
173 animation-duration:
20s;
174 animation-timing-function: ease-in-out;
175 animation-iteration-count: infinite;
179 animation-name: anim-
1;
183 animation-name: anim-
2;
187 animation-name: anim-
3;
191 0%,
8.3% { left: -
100%; opacity:
0; }
192 8.3%,
25% { left:
25%; opacity:
1; }
193 33.33%,
100% { left:
110%; opacity:
0; }
197 0%,
33.33% { left: -
100%; opacity:
0; }
198 41.63%,
58.29% { left:
25%; opacity:
1; }
199 66.66%,
100% { left:
110%; opacity:
0; }
203 0%,
66.66% { left: -
100%; opacity:
0; }
204 74.96%,
91.62% { left:
25%; opacity:
1; }
205 100% { left:
110%; opacity:
0; }
208 /* Hidden all content */
210 .program-timeslot { display: none; }
212 /* Show specifiy day */
213 .day21 #day-
1-program,
214 .day22 #day-
2-program,
215 .day23 #day-
1-program,
216 .day24 #day-
2-program { display: block; }
218 /* Show specifiy time */
219 .time8 #day-
1-timeslot-
1,
220 .time8 #day-
1-timeslot-
2,
221 .time8 #day-
1-timeslot-
3,
222 .time8 #day-
1-timeslot-
4,
223 .time8 #day-
1-timeslot-
5,
224 .time8 #day-
2-timeslot-
1,
225 .time8 #day-
2-timeslot-
2,
226 .time8 #day-
2-timeslot-
3,
227 .time8 #day-
2-timeslot-
4,
228 .time8 #day-
2-timeslot-
5,
229 .time9 #day-
1-timeslot-
1,
230 .time9 #day-
1-timeslot-
2,
231 .time9 #day-
1-timeslot-
3,
232 .time9 #day-
1-timeslot-
4,
233 .time9 #day-
1-timeslot-
5,
234 .time9 #day-
2-timeslot-
1,
235 .time9 #day-
2-timeslot-
2,
236 .time9 #day-
2-timeslot-
3,
237 .time9 #day-
2-timeslot-
4,
238 .time9 #day-
2-timeslot-
5,
239 .time10 #day-
1-timeslot-
3,
240 .time10 #day-
1-timeslot-
4,
241 .time10 #day-
1-timeslot-
5,
242 .time10 #day-
1-timeslot-
6,
243 .time10 #day-
2-timeslot-
3,
244 .time10 #day-
2-timeslot-
4,
245 .time10 #day-
2-timeslot-
5,
246 .time10 #day-
2-timeslot-
6,
247 .time11 #day-
1-timeslot-
5,
248 .time11 #day-
1-timeslot-
6,
249 .time11 #day-
2-timeslot-
5,
250 .time11 #day-
2-timeslot-
6,
251 .time12 #day-
1-timeslot-
6,
252 .time12 #day-
1-timeslot-
7,
253 .time12 #day-
1-timeslot-
8,
254 .time12 #day-
2-timeslot-
6,
255 .time12 #day-
2-timeslot-
7,
256 .time12 #day-
2-timeslot-
8,
257 .time13 #day-
1-timeslot-
7,
258 .time13 #day-
1-timeslot-
8,
259 .time13 #day-
1-timeslot-
9,
260 .time13 #day-
1-timeslot-
10,
261 .time13 #day-
2-timeslot-
7,
262 .time13 #day-
2-timeslot-
8,
263 .time13 #day-
2-timeslot-
9,
264 .time13 #day-
2-timeslot-
10,
265 .time14 #day-
1-timeslot-
8,
266 .time14 #day-
1-timeslot-
9,
267 .time14 #day-
1-timeslot-
10,
268 .time14 #day-
2-timeslot-
8,
269 .time14 #day-
2-timeslot-
9,
270 .time14 #day-
2-timeslot-
10,
271 .time15 #day-
1-timeslot-
10,
272 .time15 #day-
1-timeslot-
11,
273 .time15 #day-
1-timeslot-
12,
274 .time15 #day-
2-timeslot-
10,
275 .time15 #day-
2-timeslot-
11,
276 .time15 #day-
2-timeslot-
12,
277 .time16 #day-
1-timeslot-
12,
278 .time16 #day-
1-timeslot-
13,
279 .time16 #day-
1-timeslot-
14,
280 .time16 #day-
2-timeslot-
12,
281 .time16 #day-
2-timeslot-
13,
282 .time16 #day-
2-timeslot-
14,
283 .time17 #day-
1-timeslot-
14,
284 .time17 #day-
1-timeslot-
15,
285 .time17 #day-
1-timeslot-
16,
286 .time17 #day-
1-timeslot-
17,
287 .time17 #day-
2-timeslot-
14,
288 .time17 #day-
2-timeslot-
15,
289 .time17 #day-
2-timeslot-
16,
290 .time17 #day-
2-timeslot-
17,
291 .time18 #day-
1-timeslot-
15,
292 .time18 #day-
1-timeslot-
16,
293 .time18 #day-
1-timeslot-
17,
294 .time18 #day-
2-timeslot-
15,
295 .time18 #day-
2-timeslot-
16,
296 .time18 #day-
2-timeslot-
17,
298 .time20 #whatsup { display: block; }
301 <body class=
"day time">
303 <div class=
"wrapper">
304 <header class=
"grid">
307 <article class=
"grid" id=
"content-program">
309 <!--#include virtual="/2019/includes/generated-sessions.html"-->
311 <div class=
"program-day" id=
"whatsup">
312 <section class=
"program-session">
313 <header class=
"program-session-header">
315 <h2>We do not have programming today.
</h2>
318 <div class=
"program-session-shelf">
319 <div class=
"program-session-room-details">
320 <span class=
"room label label-default"><h3 style=
"text-align: center;">March
23rd -
24th
</h3></span>
324 </div><!-- #whatsup -->
329 <img src=
"/2019/assets/img/lp-anim.svg" alt=
"LibrePlanet Logo with Animation" title=
"LibrePlanet Logo" />
331 <p class=
"item-1"><img class=
"iitem" src=
"/2019/assets/img/pia-logo.svg" alt=
"Private Internet Access" /></p>
332 <p class=
"item-2"><img class=
"iitem" src=
"/2019/assets/img/redhat-logo.svg" alt=
"RedHat" /></p>
333 <p class=
"item-3"><img class=
"iitem" src=
"/2019/assets/img/fsf2.svg" alt=
"Free Software Foundation" /></p>
335 <footer class=
"grid">
340 <div class=
"multiple-items slide-list">
341 <output>Loading...
</output>
345 <div class=
"content-ft"></div>
352 const DOMPARSER = new DOMParser().parseFromString.bind(new DOMParser())
353 var frag = document.createDocumentFragment()
355 var feedUrl = 'https://status.fsf.org/lpstatus/all/rss'
356 /* Fetch the RSS Feed */
357 fetch(feedUrl).then((res) =
> {
358 res.text().then((xmlTxt) =
> {
359 /* Parse the RSS Feed and display the content */
361 let doc = DOMPARSER(xmlTxt,
"text/xml")
362 // let heading = document.createElement('h1')
363 // heading.textContent = url.hostname
364 // frag.appendChild(heading)
365 doc.querySelectorAll('item').forEach((item) =
> {
366 let temp = document.importNode(document.querySelector('template').content, true);
367 let i = item.querySelector.bind(item)
368 let t = temp.querySelector.bind(temp)
369 t('div').textContent = !!i('title') ? i('title').textContent : '-'
370 // t('a').textContent = t('a').href = !!i('link') ? i('link').textContent : '#'
371 // t('p').innerHTML = !!i('description') ? i('description').textContent : '-'
372 // t('h3').textContent = url.hostname
373 frag.appendChild(temp)
376 console.error('Error in parsing the feed')
379 document.querySelector('output').textContent = '';
382 document.querySelector('output').appendChild(frag)
384 }).catch(() =
> console.error('Error in fetching the RSS feed'));
387 var h = d.getUTCHours();
390 document.body.className =
"day" + m +
" time" + h;