What is RSS?
About this document
Required channel nodes
Element | Description | Example |
title | The name of the channel. It can tell others how to access your service. If you have an HTML website that matches the content of your RSS file, the value of your title element should be the same as the title of your website. | GoUpstate.com News Headings |
link | URL of the website responding to the channel | http://www.goupstate.com/ |
description | A description of the channel | The latest news from GoUpstate.com, a Spartanburg Herald-Joural Web Site |
Optional channel element
Node | Description | Example |
language | The language used. This allows the aggregator to group all Italian sites. | en-us |
copyright | Copyright notice | Copyright 2002, Spartanburg Herald-Journal |
managingEditor | Email of the person in charge of content | [email protected] (George Matesky) | webMaster | Email of the technician | [email protected] (Betty Guernsey) |
pubDate | The release date of the content | Sat, 07 Sep 2002 00:00:01 GMT |
lastBuildDate | Last Update time | Sat, 07 Sep 2002 09:42:31 GMT |
category | Specify one or more of this channel Categories. Follow the same rules as the item-level category element. | |
generator | The name of the program that generated the channel | MightyInHouse Content System v2.3 |
docs | Point to the url address of the rss format document? | http://blogs.law .harvard.edu/tech/rss |
cloud | allows all processes to register a cloud to get channel update notifications, and implement one for rss seed Lightweight publish and subscribe agreement. | ttl | ttl is the abbreviation of Time to live. It indicates the effective storage time of the cache. | |
image | The image address displayed with the channel | |
rating | The channel’s statistical picture address | |
textInput | Specify a textbox to be displayed with the channel | |
skipHours | Tell the user which time periods Can be ignored | |
skipDays | Tell the days which can be ignored | < /td> |
is the url of the site to be connected, when the channel is displayed, the link of the image points to the site.
Optional nodes include
图像宽度的最大值为144,默认值为88
图像高度的最大值为400,默认值为31
It specifies a web service that can support the rssCloud interface. The rssCloud interface can be implemented with HTTP-POST, XML-RPC or SOAP1.1.
Its purpose is to allow notification of process channels registered as cloud to be updated, thereby implementing a lightweight publish-subscribe protocol.
In this example, in order to request channel notification, you need to send an XML-RPC message to port 80 of rpc.sys.com with the path /RPC2. The calling process is myCloud.rssPleaseNotify.
ttl is the abbreviation of time to live. It indicates how long the channel should be cached before being refreshed. This allows the rss source to be managed by a network that supports file sharing, such as Gnutella
For example:
The purpose of using
一个频道可以包含许多项目(item)节点。 A project can represent a story—for example, a story in a newspaper or magazine. If this is the case, the description of the project is the summary of the story, and the link to the project points to the storage location of the entire story. All nodes of the project are optional, but at least must contain at least one title (title) and description (description).
Node | Description | Example |
title | item title | Venice Film Festival Tries to Quit Sinking |
link | item URL | http://www.nytimes.com/2002 /09/07/movies/07FEST.html |
description | item summary | Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged. |
author | author’s email address< /td> | oprah@oxygen.net |
category | item can be included in In one or more categories | Simpsons Characters |
comments | Address of comments related to item | http://www.myblog.org/cgi-local/mt/m t-comments.cgi?entry_id=290 |
enclosure | Additional media objects | |
guid | The string that can uniquely determine the item | http://inessential.com/2002/09/01.php#a2 |
pubDate | the time the item was published | Sun, 19 May 2002 15:21:36 GMT |
source | rss channel source | Quotes of the Day |
The function of this node is to increase the reputation of the connection and further promote the source of the news project. It can be used in the Post command of the aggregator. When accessing an item from the aggregator via webblog,
strong>
It has an optional attribute or field, which is a string used to define the taxonomy.
The value of this node is a string separated by forward slashes, which is used to identify a hierarchic location in the specified taxonomy. The processor can establish a session for classification recognition. (Processors may establish conventions for the interpretation of categories) Here are two examples:
< category domain =”http://www.fool.com/cusips” > MSFT category >
You can include many category nodes for different domains according to your needs, and you can have a cross-reference item in different parts of the same domain.
strong>
Its value is the date the item was released. If it is a date that has not arrived, the aggregator can choose not to display the item before the date arrives.
guid is the abbreviation for globally unique identifier. It is a string that can uniquely identify the item. After the item is released, the aggregator can choose to use the string to determine whether the item is new.
guid has no specific syntax rules, the aggregator must look at them Make a string. The generation of a unique string guid depends on the source of the seed.
If the guid node has the isPermaLink attribute and the value is true, the reader will consider it to be the permalink of the item. Permalink is a url link that can be opened in a web browser, which points to all items described by the
< p> isPermaLink is an optional attribute, and the default value is true. If the value is false, the guid will not be considered a url or a url pointing to any object.
strong>
If there is, it points to the URL
What is RSS?
About this document
Required channel nodes
Element | Description | Example |
title | The name of the channel. It can tell others how to access your service. If you have an HTML website that matches the content of your RSS file, the value of your title element should be the same as the title of your website. | GoUpstate.com News Headings |
link | URL of the website responding to the channel | http://www.goupstate.com/ |
description | A description of the channel | The latest news from GoUpstate.com, a Spartanburg Herald-Joural Web Site |
Optional channel element
Node | Description | Example |
language | The language used. This allows the aggregator to group all Italian sites. | en-us |
copyright | Copyright notice | Copyright 2002, Spartanburg Herald-Journal |
managingEditor | Email of the person in charge of content | [email protected] (George Matesky) | webMaster | Email of the technician | [email protected] (Betty Guernsey) |
pubDate | The release date of the content | Sat, 07 Sep 2002 00:00:01 GMT |
lastBuildDate | Last Update time | Sat, 07 Sep 2002 09:42:31 GMT |
category | Specify one or more of this channel Categories. Follow the same rules as the item-level category element. | |
generator | The name of the program that generated the channel | MightyInHouse Content System v2.3 |
docs | Point to the url address of the rss format document? | http://blogs.law .harvard.edu/tech/rss |
cloud | allows all processes to register a cloud to get channel update notifications, and implement one for rss seed Lightweight publish and subscribe agreement. | ttl | ttl is the abbreviation of Time to live. It indicates the effective storage time of the cache. | |
image | The image address displayed with the channel | |
rating | The channel’s statistical picture address | |
textInput | Specify a textbox to be displayed with the channel | |
skipHours | Tell the user which time periods Can be ignored | |
skipDays | Tell the days which can be ignored | < /td> |
is the url of the site to be connected, when the channel is displayed, the link of the image points to the site.
Optional nodes include
图像宽度的最大值为144,默认值为88
图像高度的最大值为400,默认值为31
It specifies a web service that can support the rssCloud interface. The rssCloud interface can be implemented with HTTP-POST, XML-RPC or SOAP1.1.
Its purpose is to allow notification of process channels registered as cloud to be updated, thereby implementing a lightweight publish-subscribe protocol.
in this example In order to request channel notifications, you need to send an XML-RPC message to port 80 of rpc.sys.com, the path is /RPC2. The calling process is myCloud.rssPleaseNotify.
ttl is the abbreviation of time to live. It indicates how long the channel should be cached before being refreshed. This allows the rss source to be managed by a network that supports file sharing, such as Gnutella
For example:
The purpose of using
一个频道可以包含许多项目(item)节点。 A project can represent a story—for example, a story in a newspaper or magazine. If this is the case, the description of the project is the summary of the story, and the link to the project points to the storage location of the entire story. All nodes of the project are optional, but at least must contain at least one title (title) and description (description).
Node | Description | Example |
title | item title | Venice Film Festival Tries to Quit Sinking |
link | item URL | http://www.nytimes.com/2002 /09/07/movies/07FEST.html |
description | item summary | Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged. |
author | author’s email address< /td> | oprah@oxygen.net |
category | item can be included in In one or more categories | Simpsons Characters |
comments | Address of comments related to item | http://www.myblog.org/cgi-local/mt/mt-comments.cgi?entry_id=290 |
enclosure | Additional media objects | |
guid | Yes The only string that determines the item | http://inessential.com/2002/09/01.php#a2 |
pubDate | Sun, 19 May 2002 15:21:36 GMT | |
source | rss channel source< /td> | Quotes of the Day |
该节点的作用是提高连接的声望,进一步推广新闻项目的源头。它可以用在聚合器的Post命令中。当从聚合器通过webblog访问一个item时,
它有三个必要的属性。 url属性指示enclosure的位置,length指出它的字节大小,type属性指出它的标准MIME类型
url必须为一个http url。
它有一个可选属性或域,该属性是一个用来定义分类法的字符串。
该节点的值是一个正斜杠分割的字符串,它用来在指定的分类法中识别一个分级位置(hierarchic location)。处理器可以为分类的识别建立会话。 (Processors may establish conventions for the interpretation of categories)下面有两个例子:
< category domain =”http://www.fool.com/cusips” > MSFT category >
你可以根据你的需要为不同的域(domain)包含很多category节点,并且可以在相同域的不同部分拥有一个前后参照的item。
它的值是item发布的日期。如果它是一个没有到达的日期,聚合器在日期到达之前可以选择不显示该item。
< br>
guid是globally unique identifier的缩写。它是一个可以唯一识别item的字符串。当item发布之后,聚合器可以选择使用该字符串判断该item是否是新的。
guid没有特定的语法规则,聚合器必须将他们看作一个字符串。生成具有唯一性的字符串guid取决于种子的源头。
如果guid节点有isPermaLink属性,并且值为真,读取器就会认为它是item的permalink。 permalink是一个可在web浏览器中打开的url链接,它指向
isPermaLink是可选属性,默认值为真。如果值为假,guid将不会被认为是一个url或指向任何对象的url。
如果出现,它指向该item评论的url
< cloud domain =”rpc.sys.com” port =”80″ path =”/RPC2″ registerProcedure = “myCloud.rssPleaseNotify” protocol =”xml-rpc” />
< source url =”http://static.userland.com/tomalak/links2.xml” > Tomalak’s Realm source >
< enclosure url =”http://www.scripting.com/mp3s/weatherReportSuite. mp3“ length =”12216320″ type =”audio/mpeg” />
< category domain =”http://www.fool.com/cusips” > MSFT category >
< category > Grateful Dead category >
< category domain =”http://www.fool.com/cusips” > MSFT category >
< pubDate > Sun, 19 May 2002 15:21:36 GMT pubDate >
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1819 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC