|
|
|
|
|
|
| Start |
|
|
| Manual |
|
|
|
|
|
|
|
|
|
|
|
|
| Tools |
|
|
|
|
| News |
|
|
|
|
|
|
| Software |
|
|
| Services |
|
|
|
|
|
|
|
|
|
|
RSS 2.0
It published in October of the 2002 by Dave Winner. This specification is compatible with RSS 0.91 and RSS 0.92 . Therefore, a fichero RSS 0.91 Is also a fichero RSS 2.0 valid.
Modifications with respect to the previous versions
They are permitted to create so many elements as being necessary, whenever they have defined themselves correctly.
The element <categoy> It passes to be optional.
New elements
<categoy> -- Is a new optional sub-element of the <channel>.
<comments> -- Is a new optional sub-element of the <item>. It is the direction web (URL) where the comments are found about the item.
t;comments>http://www.uatsap.com/comentarios>
<generator> -- Is a new optional sub-element of the <channel>. It programs that it has generated the file RSS.
<author> -- Is a new optional sub-element of the <item>. It specifies the direction of mail of the author of the item. For the newspapers or magazines that himself sindican via RSS, the author is the person that has written the article.
<author> uatsap@uatsap.com (uatsap.com)</author>
<ttl> -- Is a new optional sub-element of the <channel>. It defines the time of life of the channel. Himself express in minutes and indicates how much time the channel can be kept in the caché before being refreshed.
<ttl> 60 </ttl>
<pubdate> -- Is a new optional sub-element of the <item>. It is a date that indicates when the item was published. If the date is future, the agregadores of news can decide not showing it until arriving at the date of publication.
<guid> -- Is a new optional sub-element of the <item>. Is an identificador of the number of item (similar al concept of you GO). If it been present, an agregador can utilize it to decide if the item is new or not.
<guid> http: //www.uatsap.com/rss10001 </guid>
The attribute exists permalink, optional and with value by defect to True, that if is activated the agregador of notícias assumes that the fichero can be opened by a browser.
< guid isPermaLink = "true"> http: //www.uatsap.com/rss10001.php </guid>
Summary of the elements that form part of a fichero RSS 2.0
Elements required of the channel
<title> -- Title of the channel.
<link> -- Direction URL to the page web that generates the channel of information.
<description> -- Brief description of the channel.
Optional elements of the channel
<language> -- Language of the source of information.
<copyright> -- Legal Notice of the channel.
<managingEditor> -- E-mail of the publisher of the channel.
<webMaster> -- E-mail of the webmaster of the channel, to resolve technical problems.
<pubDate> -- Date of publication of the channel. Example: each 24 hours.
<lastBuildDate> -- Last date of updating of the channel.
<category> -- Cateogoría to which the channel belongs. Example: finances.
<generator> -- Name of the program that generates the files rss.
<docs> -- Direction url where is found the source of information of the channel.
<cloud> -- It Permits to receive notices when the channel is brought up to date.
<ttl> -- Time of life of the aforesaid channel in minutes.
<image> -- Url where the image of the channel is found.
<rating> -- PICS rating of the channel.
<textinput> -- Label of the box of text of the channel.
<skipHours> -- Hours in which does not be available the channel.
<skipDays> -- Dates in which does not be available the channel.
Elements required of the item
<title> -- Title of the item.
<link> -- Link al item.
<description> -- Brief description of the item.
Optional elements of the channel
<author> -- E-mail of the person that there is writing the notícia.
<category> -- Category to which belongs the notícia.
<comments> -- Direction URL where the comments are found about the notícia.
<enclosure> -- It Describes the object of audio, video... that is included with the notícia.
<guid> -- Number that identifies to the notícia.
<pubDate> -- Date of publication of the notícia.
<source> -- Name of the channel RSS where proceeds the notícia.
We show an example simplified of a fichero RSS 2.0 that a channel is comprised of and two elements item:
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://www.uatsap.com/rss.php>
<title>Uats'ap. Noticias RSS.</title>
<link>http://www.uatsap.com</link>
<description> XML (Extensible Markup Language) es el formato universal para datos en la web. XML permite fácilmente a los desarrolladores describir y proporcionar contenido, datos estructurados para cualquier aplicación de una forma estándard, XML no sustituye a HTML; es un formato que lo complementa.
</description>
<image rdf:resource="http://www.uatsap.com/image/logo.gif"/>
<items>
<rdf:Seq>
<rdf:li resource="http://www.uatsap.com/news1.php" />
<rdf:li resource="http://www.uatsap.com/news2.php" />
</rdf:Seq>
</items>
<textinput rdf:resource="http://search.uatsap.com" />
</channel>
<image rdf:about="http://www.uatsap.com/image/logo.gif">
<title>uatsap.com</title>
<url>http://www.uatsap.com/</url>
<link>http://www.uatsap.com/image/logo_little.gif</link>
</image>
<item rdf:about="http://www.uatsap.com/news1.php">
<title>Nueva especificación RSS</title>
<link>http://www.uatsap.com/noticias/rss2.php</link>
<description>Se ha publicado una nueva especificación RSS compatible con RSS 0.9x.
</description>
</item>
<item rdf:about="http://www.uatsap.com/news2.php">
<title>Aumenta el número de usuarios de noticias sindicadas</title>
<link>http://www.uatsap.com/noticias/rss2.php</link>
<description>Incremento en el número de usuarios de lectores de notícias.
</description>
</item>
<textinput rdf:about"http://www.uatsap.com">
<title>Buscar en Uats'ap.com</title>
<description>Búsqueda de artículos en uatsap.com</description>
<name>search</name>
<link>http://search.uatsap.com</link>
</textinput>
</rdf:RDF>
|