2024-07-12 14:39:17 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Copyright (C) 2016 - 2024 Schimon Jehuda. Released under MIT license
|
|
|
|
Feeds rendered using this XSLT stylesheet, or it's derivatives, must
|
|
|
|
include https://schimon.i2p/ in attribute name='generator' of
|
|
|
|
element <meta/> inside of html element </head>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<xsl:stylesheet version='1.0'
|
|
|
|
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
|
|
|
|
xmlns:xml='http://www.w3.org/XML/1998/namespace'>
|
|
|
|
<xsl:template match='/opml'>
|
|
|
|
<!-- index right-to-left language codes -->
|
|
|
|
<!-- TODO http://www.w3.org/TR/xpath/#function-lang -->
|
|
|
|
<xsl:variable name='rtl'
|
|
|
|
select='lang[
|
|
|
|
contains(self::node(),"ar") or
|
|
|
|
contains(self::node(),"fa") or
|
|
|
|
contains(self::node(),"he") or
|
|
|
|
contains(self::node(),"ji") or
|
|
|
|
contains(self::node(),"ku") or
|
|
|
|
contains(self::node(),"ur") or
|
|
|
|
contains(self::node(),"yi")]'/>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<xsl:call-template name='metadata'>
|
|
|
|
<xsl:with-param name='name' select='"description"' />
|
|
|
|
<xsl:with-param name='content' select='subtitle' />
|
|
|
|
</xsl:call-template>
|
|
|
|
<xsl:call-template name='metadata'>
|
|
|
|
<xsl:with-param name='name' select='"generator"' />
|
2024-07-13 21:16:25 +02:00
|
|
|
<xsl:with-param name='content' select='Rivista' />
|
2024-07-12 14:39:17 +02:00
|
|
|
</xsl:call-template>
|
|
|
|
<xsl:call-template name='metadata'>
|
|
|
|
<xsl:with-param name='name' select='"mimetype"' />
|
|
|
|
<xsl:with-param name='content' select='"text/x-opml"' />
|
|
|
|
</xsl:call-template>
|
|
|
|
<title>
|
|
|
|
<xsl:choose>
|
2024-07-13 21:16:25 +02:00
|
|
|
<xsl:when test='//head/title and not(//head/title="")'>
|
|
|
|
<xsl:value-of select='//head/title'/>
|
2024-07-12 14:39:17 +02:00
|
|
|
</xsl:when>
|
2024-07-13 21:16:25 +02:00
|
|
|
<xsl:otherwise>Rivista OPML</xsl:otherwise>
|
2024-07-12 14:39:17 +02:00
|
|
|
</xsl:choose>
|
|
|
|
</title>
|
|
|
|
<!-- TODO media='print' -->
|
2024-07-14 11:35:59 +02:00
|
|
|
<link rel='stylesheet' type='text/css' media='screen' href='/css/stylesheet.css'/>
|
2024-07-12 14:39:17 +02:00
|
|
|
<link rel='icon' type='image/svg+xml' href='/graphic/xmpp.svg'/>
|
|
|
|
<!-- whether language code is of direction right-to-left -->
|
|
|
|
<xsl:if test='$rtl'>
|
|
|
|
<link id='semitic' href='/css/stylesheet-rtl.css' rel='stylesheet' type='text/css' />
|
|
|
|
</xsl:if>
|
2024-07-14 11:35:59 +02:00
|
|
|
<script type='text/javascript' src='/script/postprocess.js'/>
|
2024-07-12 14:39:17 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id='actions'>
|
|
|
|
<a href='https://xmpp.org/about/technology-overview/'
|
|
|
|
title='Of the benefits of XMPP.'>
|
|
|
|
XMPP
|
|
|
|
</a>
|
|
|
|
<a href='https://join.jabber.network/#syndication@conference.movim.eu?join'
|
|
|
|
title='Syndictaion and PubSub.'>
|
|
|
|
Groupchat
|
|
|
|
</a>
|
2024-07-13 21:16:25 +02:00
|
|
|
<a href='https://aboutfeeds.com/'
|
|
|
|
title='Of the benefits of syndication feed.'
|
|
|
|
id='aboutfeeds'>
|
|
|
|
Help
|
|
|
|
</a>
|
2024-07-12 14:39:17 +02:00
|
|
|
</div>
|
|
|
|
<div id='feed'>
|
|
|
|
<div id='header'>
|
|
|
|
<!-- feed title -->
|
|
|
|
<h1 id='title'>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test='//head/title and not(//head/title="") and count(//outline) > 1'>
|
|
|
|
<xsl:value-of select='//head/title'/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
2024-07-13 21:16:25 +02:00
|
|
|
Rivista OPML Collection
|
2024-07-12 14:39:17 +02:00
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</h1>
|
|
|
|
<!-- feed subtitle -->
|
|
|
|
<h2 id='subtitle'>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test='//head/description and not(//head/description="") and count(//outline) > 1'>
|
|
|
|
<xsl:value-of select='//head/description'/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
Outline Processor Markup Language
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<xsl:if test='count(//outline) > 1'>
|
|
|
|
<div id='menu'>
|
|
|
|
<h3>Subscriptions</h3>
|
|
|
|
<!-- xsl:for-each select='outline[position() <21]' -->
|
2024-07-13 21:16:25 +02:00
|
|
|
<ol>
|
2024-07-12 14:39:17 +02:00
|
|
|
<xsl:for-each select='//outline[not(position() > 20)]'>
|
|
|
|
<li>
|
|
|
|
<xsl:element name='a'>
|
|
|
|
<xsl:attribute name='href'>
|
2024-07-13 21:16:25 +02:00
|
|
|
<xsl:text>#rivista-</xsl:text>
|
2024-07-12 14:39:17 +02:00
|
|
|
<xsl:value-of select='position()'/>
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test='string-length(@text) > 0'>
|
|
|
|
<xsl:value-of select='@text'/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
*** No Title ***
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:element>
|
|
|
|
</li>
|
|
|
|
</xsl:for-each>
|
2024-07-13 21:16:25 +02:00
|
|
|
</ol>
|
2024-07-12 14:39:17 +02:00
|
|
|
</div>
|
|
|
|
</xsl:if>
|
|
|
|
<div id='articles'>
|
|
|
|
<!-- opml outline -->
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test='//outline'>
|
|
|
|
<ul>
|
|
|
|
<xsl:for-each select='//outline[not(position() > 20)]'>
|
|
|
|
<li>
|
|
|
|
<div class='entry'>
|
|
|
|
<!-- outline title -->
|
|
|
|
<h3 class='title'>
|
|
|
|
<xsl:element name='a'>
|
|
|
|
<xsl:attribute name='href'>
|
|
|
|
<xsl:value-of select='@xmlUrl'/>
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:attribute name='id'>
|
2024-07-13 21:16:25 +02:00
|
|
|
<xsl:text>rivista-</xsl:text>
|
2024-07-12 14:39:17 +02:00
|
|
|
<xsl:value-of select='position()'/>
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test='string-length(@text) > 0'>
|
|
|
|
<xsl:value-of select='@text'/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
*** No Title ***
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:element>
|
|
|
|
</h3>
|
|
|
|
<!-- entry content -->
|
|
|
|
<h4>
|
|
|
|
<xsl:value-of select='@text'/>
|
|
|
|
</h4>
|
|
|
|
<p class='content'>
|
|
|
|
<xsl:value-of select='@xmlUrl'/>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</xsl:for-each>
|
|
|
|
</ul>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<div class='notice no-entry'></div>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id='references'>
|
|
|
|
<a href='https://joinjabber.org/'
|
|
|
|
title='An Inclusive Space On The Jabber Network.'>
|
|
|
|
JoinJabber
|
|
|
|
</a>
|
|
|
|
<a href='https://libervia.org/'
|
|
|
|
title='The Universal Communication Ecosystem.'>
|
|
|
|
Libervia
|
|
|
|
</a>
|
|
|
|
<a href='https://join.movim.eu/'
|
|
|
|
title='The Social Platform Shaped For Your Community.'>
|
|
|
|
Movim
|
|
|
|
</a>
|
2024-07-13 21:16:25 +02:00
|
|
|
<a href='https://git.xmpp-it.net/sch/Rivista'
|
|
|
|
title='A Journal Publisher And Browser For XMPP.'>
|
|
|
|
Rivista
|
|
|
|
</a>
|
2024-07-31 18:21:33 +02:00
|
|
|
<a href='https://git.xmpp-it.net/sch/Blasta'
|
|
|
|
title='A Social Bookmark Manager For XMPP.'>
|
|
|
|
Blasta
|
|
|
|
</a>
|
2024-07-13 21:16:25 +02:00
|
|
|
<a href='https://github.com/SeveFP/Reeder'
|
2024-07-31 18:21:33 +02:00
|
|
|
title='An XMPP-Based Feed Reader.'>
|
2024-07-13 21:16:25 +02:00
|
|
|
Reeder
|
|
|
|
</a>
|
2024-07-12 14:39:17 +02:00
|
|
|
<a href='https://modernxmpp.org/'
|
2024-07-13 21:16:25 +02:00
|
|
|
title='A Project To Improve The Quality Of User-To-User Messaging Applications That Use XMPP.'>
|
2024-07-12 14:39:17 +02:00
|
|
|
Modern
|
|
|
|
</a>
|
|
|
|
<a href='https://xmpp.org/'
|
|
|
|
title='The Universal Messaging Standard.'>
|
|
|
|
XMPP
|
|
|
|
</a>
|
|
|
|
<a href='https://xmpp.org/extensions/xep-0060.html'
|
|
|
|
title='XEP-0060: Publish-Subscribe.'>
|
|
|
|
PubSub
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<!-- note -->
|
|
|
|
<p id='note'>
|
2024-07-31 18:21:33 +02:00
|
|
|
This is an OPML document which includes a collection of
|
|
|
|
subscriptions, and it can be imported to
|
|
|
|
a Syndication Feed Reader (also referred to as News Reader
|
|
|
|
or RSS Reader) which provides automated news updates and
|
|
|
|
notifications on desktop and mobile.
|
|
|
|
<span id="selection-link">Click here</span> for a
|
|
|
|
selection of software and pick the ones that would fit
|
|
|
|
to you best!
|
|
|
|
</p>
|
|
|
|
<p id='small'>
|
2024-07-12 14:39:17 +02:00
|
|
|
<i>
|
2024-07-31 18:21:33 +02:00
|
|
|
This OPML (Outline Processor Markup Language)
|
|
|
|
document is conveyed as an XHTML document.
|
|
|
|
This document was produced by an
|
|
|
|
XSLT <a href="xsl/opml.xsl">stylesheet</a>.
|
|
|
|
XSLT is a powerful technology which transforms XML
|
|
|
|
documents into HTML, JSON, PDF, Text XHTML, and
|
|
|
|
(modified) XML documents;
|
|
|
|
<a href="https://www.w3.org/Style/XSL/">Learn more</a>
|
|
|
|
about The Extensible Stylesheet Language Family (XSL).
|
2024-07-12 14:39:17 +02:00
|
|
|
</i>
|
|
|
|
</p>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|