Further unify related news and events sections
This commit is contained in:
parent
2761b56591
commit
f54039b16f
@ -57,32 +57,7 @@
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
|
||||
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
|
||||
|
||||
<a href="/news/news.html"><news-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<news-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="events">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
|
||||
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE Veranstaltungen als iCal feed" /></a>
|
||||
|
||||
<a href="/events/events.html"><events-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<event-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<related-feed tag="education"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="about-fsfe">
|
||||
|
@ -58,33 +58,7 @@
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
|
||||
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
|
||||
|
||||
<a href="/news/news.html"><news-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<news-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="events">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
|
||||
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
|
||||
|
||||
<a href="/events/events.html"><events-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<!-- this element fetches all event items which have the relevant country tag -->
|
||||
<event-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<related-feed tag="education"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="about-fsfe">
|
||||
|
@ -60,32 +60,7 @@ Education working group</a> to focus on these efforts. Today, it acts as a hub
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
|
||||
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
|
||||
|
||||
<a href="/news/news.html"><news-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<news-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="events" class="section">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
|
||||
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
|
||||
|
||||
<a href="/events/events.html"><events-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<event-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<related-feed tag="education"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="about-fsfe">
|
||||
|
@ -31,7 +31,7 @@ Nous avons mis en place un groupe de travail, l'<em><a href="/activities/educati
|
||||
|
||||
</ul>
|
||||
|
||||
<news-feed/>
|
||||
<related-feed tag="education"/>
|
||||
|
||||
<h2 id="subpages">Navigation</h2>
|
||||
|
||||
|
@ -58,32 +58,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
|
||||
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
|
||||
|
||||
<a href="/news/news.html"><news-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<news-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="events">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
|
||||
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
|
||||
|
||||
<a href="/events/events.html"><events-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<event-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<related-feed tag="education"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="about-fsfe">
|
||||
|
@ -49,33 +49,7 @@ Educatie werkgroep</a> op om de aandacht te richten op deze inspanningen. Vandaa
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="Nieuws RSS" title="nieuws RSS feed" /></a>
|
||||
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="volg FSFE op twitteridenti.ca"/></a> -->
|
||||
|
||||
<a href="/news/news.html"><news-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<news-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="events">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Evenementen RSS" title="evenementen RSS feed" /></a>
|
||||
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE evenementen als iCal feed" /></a>
|
||||
|
||||
<a href="/events/events.html"><events-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<!-- this element fetches all event items which have the relevant country tag -->
|
||||
<event-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<related-feed tag="education"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="about-fsfe">
|
||||
|
@ -60,32 +60,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/news/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
|
||||
<!-- remove identica? add twitter? <a class="ical" href="http://www.twitter.com/fsfe"><img src="/graphics/identica.png" alt="twitter" title="follow FSFE on twitteridenti.ca"/></a> -->
|
||||
|
||||
<a href="/news/news.html"><news-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<news-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="events">
|
||||
<h2>
|
||||
<a class="rss-feed" href="/events/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
|
||||
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
|
||||
|
||||
<a href="/events/events.html"><events-label /></a>
|
||||
|
||||
</h2>
|
||||
|
||||
<event-feed/>
|
||||
|
||||
</section>
|
||||
|
||||
<related-feed tag="education"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="about-fsfe">
|
||||
|
@ -49,7 +49,8 @@
|
||||
|
||||
</ul>
|
||||
|
||||
<news-feed/>
|
||||
<related-feed tag="education"/>
|
||||
|
||||
<h2 id="subpages">Содержание</h2>
|
||||
|
||||
<ul>
|
||||
|
@ -155,11 +155,7 @@
|
||||
<p>Das Urteil ist noch nicht rechtskräftig. Die Parteien können noch
|
||||
Berufung einlegen.</p>
|
||||
|
||||
|
||||
<h2>Dazugehörige Nachrichten</h2>
|
||||
|
||||
<news-list/>
|
||||
|
||||
<related-feed tag="avm"/>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -172,11 +172,7 @@ The granting part of the verdict which parallels last year's judgment of the Sup
|
||||
The verdict is not yet final. The parties can still appeal the decision.
|
||||
</p>
|
||||
|
||||
<h2>Related news</h2>
|
||||
|
||||
<news-list/>
|
||||
|
||||
|
||||
<related-feed tag="avm"/>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -90,10 +90,7 @@
|
||||
<li>Article on Heise.de: "<a href="/activities/os/msooxml-converter-hoax.html">The converter hoax</a>"</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Relaterede nyheder</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
<h2>Eksterne links af interesse</h2>
|
||||
<ul>
|
||||
|
@ -196,10 +196,7 @@ um die Kompatibilität aller Softwarelösungen im öffentlichen Sektor sicherzus
|
||||
</ul>
|
||||
</blockquote>
|
||||
|
||||
<section id="news">
|
||||
<h2>Verwandte Themen</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -134,10 +134,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Σχετικά Νέα</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
<h2>Εξωτερικοί σύνδεσμοι</h2>
|
||||
<ul>
|
||||
|
@ -203,11 +203,8 @@ solutions used in public sector.</li>
|
||||
|
||||
</div>
|
||||
|
||||
<section id="news">
|
||||
<h2>Related news</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
<sidebar promo="open-standards">
|
||||
|
@ -102,11 +102,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
<section id="news">
|
||||
<h2>Noticias relacionadas</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
<sidebar promo="open-standards">
|
||||
|
@ -231,11 +231,8 @@ forcer à utiliser des formats verrouillés.</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<section id="news">
|
||||
<h2>Actualités liées</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
<sidebar promo="open-standards">
|
||||
|
@ -76,10 +76,7 @@
|
||||
<li>Članak na Heise.de: "<a href="/documents/msooxml-converter-hoax">The converter hoax</a>"</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Povezane vijesti</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
<h2>Vanjske poveznice</h2>
|
||||
<ul>
|
||||
|
@ -204,11 +204,8 @@ soluzione software impiegate nel settore pubblico.</li>
|
||||
|
||||
</div>
|
||||
|
||||
<section id="news">
|
||||
<h2>Notizie correlate</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
<sidebar promo="open-standards">
|
||||
|
@ -108,11 +108,8 @@ om het technologische probleem adequaat op te lossen en om zoveel mogelijk invoe
|
||||
|
||||
</div>
|
||||
|
||||
<section id="news">
|
||||
<h2>Verwant nieuws</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
<sidebar promo="open-standards">
|
||||
|
@ -119,10 +119,7 @@
|
||||
<li>Article on Heise.de: "<a href="/activities/os/msooxml-converter-hoax.html">The converter hoax</a>"</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Notícias Relacionadas</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
<h2>Ligações externas com interesse</h2>
|
||||
<ul>
|
||||
|
@ -53,10 +53,7 @@
|
||||
<li>Article on Heise.de: "<a href="/documents/msooxml-converter-hoax">The converter hoax</a>"</li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Related News</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
<h2>External links of interest</h2>
|
||||
<ul>
|
||||
|
@ -114,10 +114,7 @@ DIS-29500: К использованию не рекомендовать?</a></l
|
||||
Фальшивый конвертер</a></li>
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Новости по теме</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
<h2>Ссылки на внешние ресурсы</h2>
|
||||
<ul>
|
||||
|
@ -153,10 +153,7 @@ krejt zgjidhjeve software të përdorura në sektorin publik.</li>
|
||||
|
||||
</div>
|
||||
|
||||
<section id="news">
|
||||
<h2>Lajme të afërta</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="openstandards"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -156,10 +156,7 @@ at holde sig til lovens bogstav og ånd hvad angår offentlige indkøb i EU-regi
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Relaterede nyheder</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="procurement"/>
|
||||
|
||||
</body>
|
||||
<sidebar promo="our-work">
|
||||
|
@ -155,10 +155,7 @@ excellent start.
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Related News</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="procurement"/>
|
||||
|
||||
</body>
|
||||
<sidebar promo="our-work">
|
||||
|
@ -100,10 +100,7 @@
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Nouvelle liées</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="procurement"/>
|
||||
|
||||
</body>
|
||||
<sidebar promo="our-work">
|
||||
|
@ -123,10 +123,7 @@ In: Shane Coughlan (ed.)(2012): <em>The First OpenForum Academy Conference Proce
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Verwant nieuws</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="procurement"/>
|
||||
|
||||
</body>
|
||||
<sidebar promo="our-work">
|
||||
|
@ -121,8 +121,7 @@
|
||||
<li><a href="https://download.fsfe.org/policy/radiodirective/RED_Legal_Study_Jaeger-2019.pdf">Legal Study on the Radio Equipment Directive’s Potential Ramifications for FOSS</a> by Dr. Till Jaeger</li>
|
||||
</ul>
|
||||
|
||||
<h3>Latest News</h3>
|
||||
<news-list/>
|
||||
<related-list tag="radiodirective"/>
|
||||
|
||||
</sidebar>
|
||||
|
||||
|
@ -270,8 +270,7 @@ comme le Parlement et le Conseil de l'Europe le permettent (Art. 44) , qui</p>
|
||||
<!--<li><a href="http://blog.die-linke.de/digitalelinke/niemand-hat-die-absicht-freie-software-zu-verbieten/">Déclaration du parti allemand DIE LINKE</a></li>-->
|
||||
</ul>
|
||||
|
||||
<h3>Dernières actualités</h3>
|
||||
<news-list/>
|
||||
<related-list tag="radiodirective"/>
|
||||
|
||||
</sidebar>
|
||||
|
||||
|
@ -242,8 +242,7 @@ dragen door gedwongen te worden om alle alternatieve software te moeten controle
|
||||
<!--<li><a href="http://blog.die-linke.de/digitalelinke/niemand-hat-die-absicht-freie-software-zu-verbieten/">Statement of German party DIE LINKE</a></li>-->
|
||||
</ul>
|
||||
|
||||
<h3>Laatste nieuws</h3>
|
||||
<news-list/>
|
||||
<related-list tag="radiodirective"/>
|
||||
|
||||
</sidebar>
|
||||
|
||||
|
@ -206,8 +206,7 @@
|
||||
Yönergesi'nin ÖAKK İçin Potansiyel Sonuçları Üzerine Hukuki İnceleme</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Son Haberler</h3>
|
||||
<news-list/>
|
||||
<related-list tag="radiodirective"/>
|
||||
|
||||
</sidebar>
|
||||
|
||||
|
@ -104,10 +104,7 @@ werden Kunden zulasten ihrer Sicherheit entmündigt.</p></li>
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Verwandte Nachrichten</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -55,10 +55,7 @@
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Σχετικά Νέα</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -89,10 +89,7 @@
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Related news</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -192,10 +192,7 @@ representantes políticos.</p>
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Noticias relacionadas</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -116,10 +116,7 @@
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Actualités liées</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -89,10 +89,7 @@
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Notizie correlate</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -89,10 +89,7 @@
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Verwant nieuws</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -88,10 +88,7 @@ fabricante do encaminhador. Os clientes ficam, assim, incapacitados para cuidar
|
||||
|
||||
</div><!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>Notícias relacionadas</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
|
||||
</body>
|
||||
|
||||
|
@ -247,10 +247,7 @@
|
||||
</div>
|
||||
<!--/e-content-->
|
||||
|
||||
<section id="news">
|
||||
<h2>İlgili haberler</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="routers"/>
|
||||
</body>
|
||||
|
||||
<sidebar promo="our-work">
|
||||
|
@ -140,7 +140,7 @@
|
||||
<!-- List of events (as elements of an unsorted list) -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<xsl:template match="event-list">
|
||||
<xsl:template name="event-list">
|
||||
|
||||
<!-- Number of events to display -->
|
||||
<xsl:variable name="count">
|
||||
@ -174,7 +174,7 @@
|
||||
<!-- Verbose event feed -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<xsl:template match="event-feed">
|
||||
<xsl:template name="event-feed">
|
||||
|
||||
<!-- Number of events to display -->
|
||||
<xsl:variable name="count">
|
||||
@ -212,7 +212,7 @@
|
||||
<!-- Details -->
|
||||
<xsl:call-template name="event-info"/>
|
||||
|
||||
</xsl:element><!-- div/entry -->
|
||||
</xsl:element><!-- article -->
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
||||
<!-- List of news items (as elements of an unsorted list) -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<xsl:template match="news-list">
|
||||
<xsl:template name="news-list">
|
||||
|
||||
<!-- Number of news items to display -->
|
||||
<xsl:variable name="count">
|
||||
@ -138,7 +138,7 @@
|
||||
<!-- Verbose news feed -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<xsl:template match="news-feed">
|
||||
<xsl:template name="news-feed">
|
||||
|
||||
<!-- Number of news items to display -->
|
||||
<xsl:variable name="count">
|
||||
@ -176,7 +176,7 @@
|
||||
<!-- Text -->
|
||||
<xsl:call-template name="news-teaser"/>
|
||||
|
||||
</xsl:element><!-- div/entry -->
|
||||
</xsl:element><!-- article -->
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
|
||||
|
115
build/xslt/related.xsl
Normal file
115
build/xslt/related.xsl
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:import href="gettext.xsl"/>
|
||||
<xsl:import href="news.xsl"/>
|
||||
<xsl:import href="events.xsl"/>
|
||||
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Short list of related news and events -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<xsl:template match="related-list">
|
||||
|
||||
<!-- Related news -->
|
||||
<xsl:if test="/buildinfo/document/set/news[
|
||||
translate(@date,'-','') <= translate(/buildinfo/@date,'-','')
|
||||
]">
|
||||
<xsl:element name="h3">
|
||||
<xsl:call-template name="fsfe-gettext">
|
||||
<xsl:with-param name="id">related-news</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:element>
|
||||
<xsl:call-template name="news-list"/>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Related events -->
|
||||
<xsl:if test="/buildinfo/document/set/event[
|
||||
translate(@end,'-','') >= translate(/buildinfo/@date,'-','')
|
||||
]">
|
||||
<xsl:element name="h3">
|
||||
<xsl:call-template name="fsfe-gettext">
|
||||
<xsl:with-param name="id">related-events</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:element>
|
||||
<xsl:call-template name="event-list"/>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Link to tag page -->
|
||||
<xsl:if test="@tag">
|
||||
<xsl:element name="p">
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="class">learn-more</xsl:attribute>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>/tags/tagged-</xsl:text>
|
||||
<xsl:value-of select="@tag"/>
|
||||
<xsl:text>.html</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:call-template name="fsfe-gettext">
|
||||
<xsl:with-param name="id">related-all</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:element><!-- a -->
|
||||
</xsl:element><!-- p -->
|
||||
</xsl:if>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Verbose feed of related news and events -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<xsl:template match="related-feed">
|
||||
|
||||
<!-- Related news -->
|
||||
<xsl:if test="/buildinfo/document/set/news[
|
||||
translate(@date,'-','') <= translate(/buildinfo/@date,'-','')
|
||||
]">
|
||||
<xsl:element name="section">
|
||||
<xsl:attribute name="id">related-news</xsl:attribute>
|
||||
<xsl:element name="h2">
|
||||
<xsl:call-template name="fsfe-gettext">
|
||||
<xsl:with-param name="id">related-news</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:element><!-- h2 -->
|
||||
<xsl:call-template name="news-feed"/>
|
||||
</xsl:element><!-- section -->
|
||||
</xsl:if>
|
||||
|
||||
<!-- Related events -->
|
||||
<xsl:if test="/buildinfo/document/set/event[
|
||||
translate(@end,'-','') >= translate(/buildinfo/@date,'-','')
|
||||
]">
|
||||
<xsl:element name="section">
|
||||
<xsl:attribute name="id">related-events</xsl:attribute>
|
||||
<xsl:element name="h2">
|
||||
<xsl:call-template name="fsfe-gettext">
|
||||
<xsl:with-param name="id">related-events</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:element><!-- h2 -->
|
||||
<xsl:call-template name="event-feed"/>
|
||||
</xsl:element><!-- section -->
|
||||
</xsl:if>
|
||||
|
||||
<!-- Link to tag page -->
|
||||
<xsl:if test="@tag">
|
||||
<xsl:element name="p">
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="class">learn-more</xsl:attribute>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>/tags/tagged-</xsl:text>
|
||||
<xsl:value-of select="@tag"/>
|
||||
<xsl:text>.html</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:call-template name="fsfe-gettext">
|
||||
<xsl:with-param name="id">related-all</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:element><!-- a -->
|
||||
</xsl:element><!-- p -->
|
||||
</xsl:if>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
@ -118,10 +118,7 @@
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Neuigkeiten</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="nledu"/>
|
||||
|
||||
<section id="contact">
|
||||
<h2>Kontakt</h2>
|
||||
|
@ -185,10 +185,7 @@ problems with using proprietary software.</p>
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>News</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="nledu"/>
|
||||
|
||||
<section id="contact">
|
||||
<h2>Contact</h2>
|
||||
|
@ -103,10 +103,7 @@ education-mandatory/">Firma la petizione internazionale</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>News</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="nledu"/>
|
||||
|
||||
<section id="contact">
|
||||
<h2>Contatti</h2>
|
||||
|
@ -97,10 +97,7 @@ Het gebruik van propriëtaire technologie voor publieke diensten is een bewuste
|
||||
|
||||
</ul>
|
||||
|
||||
<section id="news">
|
||||
<h2>Nieuws</h2>
|
||||
<news-feed/>
|
||||
</section>
|
||||
<related-feed tag="nledu"/>
|
||||
|
||||
<section id="contact">
|
||||
<h2>Contact</h2>
|
||||
|
@ -73,8 +73,7 @@
|
||||
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Material für Presse und Medien</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Neuigkeiten</h3>
|
||||
<news-list/>
|
||||
<related-list tag="pmpc"/>
|
||||
|
||||
</sidebar>
|
||||
<translator>Marco Heins</translator>
|
||||
|
@ -46,8 +46,7 @@
|
||||
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Press and media kit</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Latest News</h3>
|
||||
<news-list/>
|
||||
<related-list tag="pmpc"/>
|
||||
|
||||
</sidebar>
|
||||
</html>
|
||||
|
@ -56,8 +56,7 @@ donner encore plus de poids !</p>
|
||||
|
||||
<sidebar promo="our-work">
|
||||
|
||||
<h3>Les dernières actualités</h3>
|
||||
<news-list/>
|
||||
<related-list tag="pmpc"/>
|
||||
|
||||
</sidebar>
|
||||
<translator> Thibault et Cryptie </translator>
|
||||
|
@ -46,8 +46,7 @@
|
||||
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Cartella stampa</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Ultime notizie</h3>
|
||||
<news-list/>
|
||||
<related-list tag="pmpc"/>
|
||||
|
||||
</sidebar>
|
||||
<translator>Sebastiano Pistore</translator>
|
||||
|
@ -46,8 +46,7 @@
|
||||
<li><a href="https://download.fsfe.org/campaigns/pmpc/pmpc_media_kit.zip">Set voor pers en media</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Laatste nieuws</h3>
|
||||
<news-list/>
|
||||
<related-list tag="pmpc"/>
|
||||
|
||||
</sidebar>
|
||||
<translator>André Ockers</translator>
|
||||
|
@ -86,8 +86,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Son Haberler</h3>
|
||||
<news-list/>
|
||||
<related-list tag="pmpc"/>
|
||||
</sidebar>
|
||||
<translator>The FLOSS Information</translator>
|
||||
</html>
|
||||
|
3
fsfe.xsl
3
fsfe.xsl
@ -10,8 +10,7 @@
|
||||
<xsl:include href="build/xslt/fsfe_body.xsl" />
|
||||
<xsl:include href="build/xslt/gettext.xsl" />
|
||||
<xsl:include href="build/xslt/static-elements.xsl" />
|
||||
<xsl:include href="build/xslt/news.xsl" />
|
||||
<xsl:include href="build/xslt/events.xsl" />
|
||||
<xsl:include href="build/xslt/related.xsl" />
|
||||
|
||||
<!-- HTML 5 compatibility doctype, since our XSLT parser doesn't support disabling output escaping -->
|
||||
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
|
||||
|
@ -924,7 +924,7 @@ article.news, article.event {
|
||||
|
||||
// In a "related news" section, display all but the first news items in a
|
||||
// compressed form.
|
||||
section#news article.news:nth-of-type(n+2) {
|
||||
section#related-news article.news:nth-of-type(n+2) {
|
||||
border-bottom: none;
|
||||
margin-bottom: 0;
|
||||
|
||||
|
@ -109,8 +109,13 @@
|
||||
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- News and event feeds -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
|
||||
<p>As a non-profit, non-governmental organisation, Free Software Foundation
|
||||
|
@ -116,8 +116,13 @@
|
||||
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- News and event feeds -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
|
||||
<p>As a non-profit, non-governmental organisation, Free Software Foundation
|
||||
|
@ -117,8 +117,13 @@
|
||||
<text id="bsig">Kompanije</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- News and event feeds -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
|
||||
<p>As a non-profit, non-governmental organisation, Free Software Foundation
|
||||
|
@ -115,8 +115,13 @@
|
||||
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- News and event feeds -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
|
||||
<p>As a non-profit, non-governmental organisation, Free Software Foundation
|
||||
|
@ -114,8 +114,13 @@
|
||||
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- News and event feeds -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
|
||||
<p>As a non-profit, non-governmental organisation, Free Software Foundation
|
||||
|
@ -119,8 +119,13 @@
|
||||
<!-- !! MISSING TRANSLATION --> <text id="bsig">Businesses</text>
|
||||
|
||||
|
||||
<!-- News and event feeds -->
|
||||
<text id="related-news">Relaterede nyheder</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-events">Related Events</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-all">All related news and events</text>
|
||||
|
||||
|
||||
<!-- Sidebars -->
|
||||
<!-- !! MISSING TRANSLATION --> <text id="related-news">Related News</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work">Our Work</text>
|
||||
<!-- !! MISSING TRANSLATION --> <text id="our-work-intro">
|
||||
<p>As a non-profit, non-governmental organisation, Free Software Foundation
|
||||
|