Name
mod_admin
Synopsis
The Administration module, written by Aaron Swartz and Ken Macleod, provides information on the feed’s owner and the toolkit used to produce it. This helps the RSS user work with his provider to get things right, and it helps the RSS community at large to identify problems with certain systems.
Recommended Usage
It is good manners to include this module as a matter of course. The data is not dynamically created, so it can be included within a template and just left to do its job.
Namespace
The namespace prefix for this module is
admin
:, which should point to
http://webns.net/mvcb/
. Therefore, the
root element and the RSS 1.0
module containing mod_admin
should look like this:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:admin="http://webns.net/mvcb/">
Elements
The mod_admin
elements occur as subelements of
channel
only. They consist of:
-
<admin:errorReportsTo
rdf:resource=
"URI
"/>
The URI is typically a
mailto
: URL for contacting the feed administrator to report technical errors.-
<admin:generatorAgent
rdf:resource=
"URI
"/>
The URI is the home page of the software used to generate the feed. If possible, this should be a page that specifies a version number within the URI.
Example
Example 7-1. mod_admin in the channel element
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:admin="http://webns.net/mvcb/"> <channel rdf:about="http://rss.benhammersley.com/index.rdf"> ...
Get Content Syndication with RSS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.