|
|
|
|
|
|
| Start |
|
|
| Manual |
|
|
|
|
|
|
|
|
|
|
|
|
| Tools |
|
|
|
|
| News |
|
|
|
|
|
|
| Software |
|
|
| Services |
|
|
|
|
|
|
|
|
|
|
RSS 0.91
It published in June of the 2000 by Dave Winner. This specification supposes to adopt the specification XML 1.0 and to abandon the original specification of documents RDF. Of the same form changes the meaning of the acronyms RSS (is modified for Really Simply Syndication).
Obligatory elements
In the upper part of the file, the label should exist <rss> And the version that complies the document XML. Subordinate to the label <rss> the element is found <channel> That it contains information about the data that shows.
Every channel should contain al less, the three elements that are enumerated subsequently:
<title> -- The name of the channel, is like the users identify the service. If you are webmaster and arrange of a page web that contains information in a fichero RSS, the title of the channel should be the same one that the title of the page web. The so great maximum is of 100 characters.
<link> -- Direction web (URL) where is found in name of the channel. The so great maximum is of 500 characters.
<description> -- The phrase that describes the channel. The so great maximum is of 500 characters.
<language> -- It Indicates the language in which is written the channel. This it permits to the agreagadores of newss to group the places in Spaniard, for example, in an only page. For the Spanish language, we should introduce "is".
<image> -- It Is an element XML that contains various sub-elements, three of them are required and 3 are optional:
<url> -- Direction web (URL) of a file of image with format GIF, JPEG or PNG that represents al channel. The so great maximum is of 500 characters.
<title> -- It Describes the image, is used like the attribute ALT of HTML. The so great maximum is of 100 characters.
<link> -- It Is the direction web where is found the channel (in practice the elements of image <title> and <link> should be the same that the elements of the channel). The so great maximum is of 500 characters.
Los optional elements include <width> and <height>, They are numbers that indicate the wide and high one of the image in píxels. ≪description> contains the text that is included in the attribute TITLE of the link that corresponds with the renderizado of the image in HTML. The so great maximum for width is of 144, by defect is 88. The so great maximum for height is of 400, by defect is 31.
Optional Sub-elements of <channel>
<copyright> -- Notice of copyright by the content of the channel. The so great maximum is of 100 characters.
<managinghEditorcopyright> -- The direction of mail of the publisher of the channel, the person of contact for questions of edition. The so great maximum is of 100 characters.
<webMastercopyright> -- The direction of mail of the webmaster of the channel, the person of contact if technical problems exist. The so great maximum is of 100 characters.
<rating> -- PICS Rating Of the channel. The so great maximum is of 500 characters.
<pubdaterating> -- The date of publication of the contained web of the channel. For example: The Pais publishes several news times al day and the edition is each 24 hours, is then when changes the date of publication.
<lastbuiltdate> -- The last date in which the content of the channel was modified.
<docs> -- It Is a direction web (URL), aims at the documentation used for the format used in the fichero RSS. The so great maximum is 500 characters.
<textinput> -- It Is an element XML that contains various sub-elements that are required:
<title> -- It Is the label of the button to execute. Maximum length 100.
<description> -- It Describes the area of text where is written. Maximum length 500.
<name> -- Name of the object of text. Maximum length 20.
<link> -- Direction web (URL) of the script CGI that processes the consultation of the textinput. The so great maximum is of 500 characters.
<skipDays> -- It Is an element XML that can contain to seven sub-elements of I gave that they can be: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday. The readers of newss not to read the channel during the days specified in this element. Many readers avoid this label.
<skipHours> -- It Is an element XML that can contain to 24 sub-elements of hour that represent the hour in format GMT. The readers of newss not to read the channel during the hours specified in this element. Many readers avoid this label.
What is an item?
This is one of the most important elements, since all the ficheros RSS owe cotener al except a <item>. A channel can contain various <item>S, cadauno will aim at a news different, with an optional description.
<title> Is the title of the news. The so great maximum is of 100.
<link> Direction web (URL) to the news. The so great maximum is of 500.
<description> Is the summary of the news. The so great maximum is of 500.
We show an example simplified of a document RSS 0.91 that a channel is comprised of and two elements item:
<rss version="0.91">
<channel>
<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>
<item>
<title> RSS Ficheros </title>
<link> http://www.uatsap.com </link>
<description> Obtén respuesta a tus preguntas acerca de los ficheros RSS</description>
</item>
<item>
<title> ¿Cómo sindicar noticias RSS? </title>
<link> http://www.uatsap.com </link>
<description> Manual para utilizar RSS y sindicar noticias en tu web </description>
</item>
</channel>
</rss>
|