mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2022-03-08 Fred Gleason <fredg@paravelsystems.com>
* Added a 'direct' namespace to the 'Apple iTunes' and 'Apple iTunes + Superfeed' RSS schemas. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -27,12 +27,17 @@
|
||||
%.pdf: %.xml
|
||||
xsltproc $(DOCBOOK_STYLESHEETS)/fo/docbook.xsl $< | fop - -pdf $@
|
||||
|
||||
all-local: superfeed.html\
|
||||
all-local: direct.html\
|
||||
direct.pdf\
|
||||
superfeed.html\
|
||||
superfeed.pdf
|
||||
|
||||
EXTRA_DIST = superfeed.html\
|
||||
superfeed.pdf\
|
||||
superfeed.xml
|
||||
superfeed.xml\
|
||||
direct.html\
|
||||
direct.pdf\
|
||||
direct.xml
|
||||
|
||||
CLEANFILES = *~
|
||||
MAINTAINERCLEANFILES = *~\
|
||||
|
132
docs/dtds/direct.xml
Normal file
132
docs/dtds/direct.xml
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<article xmlns="http://docbook.org/ns/docbook" version="5.0">
|
||||
<info>
|
||||
<title>The Rivendell "direct" Namespace</title>
|
||||
<subtitle>Version 0.1</subtitle>
|
||||
<revnumber>v0.1</revnumber>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Fred</firstname>
|
||||
<surname>Gleason</surname>
|
||||
<email>fredg@paravelsystems.com</email>
|
||||
</personname>
|
||||
</author>
|
||||
<edition>
|
||||
v0.1
|
||||
</edition>
|
||||
<copyright><year>2022</year><holder>Fred Gleason</holder></copyright>
|
||||
<legalnotice>
|
||||
<para>
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
||||
</para>
|
||||
</legalnotice>
|
||||
</info>
|
||||
|
||||
<sect1 xml:id="overview">
|
||||
<title>Overview</title>
|
||||
<para>
|
||||
The "direct" XML namespace adds fields for enabling
|
||||
interoperation with the Imogen Direct DAM system.
|
||||
</para>
|
||||
</sect1>
|
||||
<sect1 xml:id="namespace_declaration">
|
||||
<title>Namespace Declaration</title>
|
||||
<para>
|
||||
The namespace declaration is:
|
||||
</para>
|
||||
<para>
|
||||
<code>xmlns:direct="http://www.rivendellaudio.org/dtds/direct-0.1.dtd"</code>
|
||||
</para>
|
||||
</sect1>
|
||||
<sect1 xml:id="fields">
|
||||
<title>Fields</title>
|
||||
<para>
|
||||
The namespace adds the following fields:
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<code><direct:pubDate></code>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The value of the RSS-standard <code><pubDate></code> field
|
||||
from the <code><channel></code> and
|
||||
<code><item></code> sections of the feed data, expressed
|
||||
xs:dateTime format.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect1>
|
||||
|
||||
<sect1 xml:id="example">
|
||||
<title>Example</title>
|
||||
<para>
|
||||
The following is an example illustrating the use of the namespace:
|
||||
</para>
|
||||
<literallayout>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:superfeed="http://www.rivendellaudio.org/dtds/superfeed-0.1.dtd" xmlns:direct="http://www.rivendellaudio.org/dtds/direct-0.1.dtd">
|
||||
<channel>
|
||||
<title>Feed2</title>
|
||||
<description>This is Feed2</description>
|
||||
<itunes:summary>This is Feed2</itunes:summary>
|
||||
<category>Arts</category>
|
||||
<link></link>
|
||||
<language>en-us</language>
|
||||
<copyright></copyright>
|
||||
<lastBuildDate>Tue, 8 Mar 2022 19:26:13 GMT</lastBuildDate>
|
||||
<pubDate>Mon, 12 Jul 2021 14:24:21 GMT</pubDate>
|
||||
<direct:pubDate>2021-07-12T14:24:21+00:00</direct:pubDate>
|
||||
<managingEditor>Fred Gleason <fredg@paravelsystems.com></managingEditor>
|
||||
<webMaster>Fred Gleason <fredg@paravelsystems.com></webMaster>
|
||||
<generator>Rivendell 4.0.0beta3</generator>
|
||||
<image>
|
||||
<url>http://192.168.21.21/podcasts/feed2/img000009_000002.jpg</url>
|
||||
<title>Feed2</title>
|
||||
<link></link>
|
||||
<width>3000</width>
|
||||
<height>3000</height>
|
||||
<description>Imported from /home/fredg/RFA/ENG/EYES.jpg</description>
|
||||
</image>
|
||||
<atom:link href="http://192.168.21.21/podcasts/feed2/Feed2.rss" rel="self" type="application/rss+xml" />
|
||||
<itunes:author>Fred Gleason <fredg@paravelsystems.com></itunes:author>
|
||||
<itunes:type>episodic</itunes:type>
|
||||
<itunes:owner>
|
||||
<itunes:name>Fred Gleason</itunes:name>
|
||||
<itunes:email>fredg@paravelsystems.com</itunes:email>
|
||||
</itunes:owner>
|
||||
<itunes:image href="http://192.168.21.21/podcasts/feed2/img000009_000002.jpg" />
|
||||
<itunes:category text="Arts">
|
||||
<itunes:category text="Books" />
|
||||
</itunes:category>
|
||||
<itunes:explicit>false</itunes:explicit>
|
||||
<item>
|
||||
<title>Test Tone</title>
|
||||
<itunes:title>Test Tone</itunes:title>
|
||||
<link></link>
|
||||
<guid isPermaLink="false">http://192.168.21.21/podcasts/feed2/000009_000071.mp3_000009_000071</guid>
|
||||
<description>An example item.</description>
|
||||
<itunes:summary>An example item.</itunes:summary>
|
||||
<author></author>
|
||||
<itunes:author></itunes:author>
|
||||
<comments></comments>
|
||||
<source url="http://192.168.21.21/podcasts/feed2/Feed2">Feed2</source>
|
||||
<enclosure url="http://192.168.21.21/podcasts/feed2/000009_000071.mp3" length="60696" type="audio/mpeg" />
|
||||
<category>Arts</category>
|
||||
<pubDate>Tue, 8 Mar 2022 19:22:43 GMT</pubDate>
|
||||
<direct:pubDate>2022-03-08T19:22:43+00:00</direct:pubDate>
|
||||
<itunes:duration>10</itunes:duration>
|
||||
<itunes:image href="http://192.168.21.21/podcasts/feed2/img000009_000002.jpg" />
|
||||
<itunes:explicit>false</itunes:explicit>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
</literallayout>
|
||||
</sect1>
|
||||
|
||||
</article>
|
Reference in New Issue
Block a user