RSS At Harvard Law

xiaoxiao2021-03-05  30

According to ND

http://blogs.law.harvard.edu/tech/rss

RSS At Harvard Law

Syndication technology hosted by the Berkman Center

RSS 2.0 Specification

Contents

What is rs? Sample Files About this Document Required Channel Elements Optional Channel Elements Elements Of Comments Extending Rss Roadmap License and Authorship

What is rss?

RSS Directory

About this websiteSpecificationsFeedsAggregatorsValidatorsHowtos / ArticlesToolsUtilitiesRSS is a Web content syndication format.

ITS Name is an Acronym for

Really Simple Syndication.

RSS IS A DIALECT OF XML. All RSS Files Must Conform To The XML 1.0

Specification, AS Published on The World Wide Web Consortium (W3C) Website.

A Summary of

RSS VERSION HISTORY.

At the top level, a RSS document is a element, with a mandatory attribute called version, that specifies the version of RSS that the document conforms to. If it conforms to this specification, the version attribute must be 2.0.

Subordinate to the Element is a single Element, Which Contains Information About The Channel (Metadata) and ITS Contents.

Sample Files

Here Are Sample Files for: RSS

0.91,

0.92 and

2.0.

Note That The Sample Files May Point To Documents and Services That No Longer Exist. The 0.91 Sample Was Created WHEN THE 0.91 DOCS WERE WERE WRITTEN. Maintaining a TRAIL OF SAMPLES Seem Like a Good Idea.

About this document

This Document Represents The Status of RSS AS of The Fall Of 2002, Version 2.0.1.

IT INCORPORATES All Changes and Additions, Starting with The Basic Spec for

RSS 0.91 (June 2000) and incdude new features introduces

RSS 0.92 (DECEMBER 2000) and RSS 0.94 (August 2002).

Change Notes Are

Here.

First we document the required and optional sub-elements of ; and then document the sub-elements of The final sections answer frequently asked questions, and provide a roadmap for future evolution, and guidelines for extending RSS.Required. Channel Elements

Here's a list of the Required Channel Elements, Each with a brief Description, An Example, And Where Available, a Pointer to a more complete design.

ElementDescriptionExampletitleThe name of the channel. It's how people refer to your service. If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website. GoUpstate.com News HeadlineslinkThe URL to the HTML website corresponding to the channel.http: //www.goupstate.com/description Phrase or sentence describing the channel.The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.

Optional Channel Elements

Here's a list of optional channel elements.

ElementDescriptionExamplelanguageThe language the channel is written in. This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values ​​for this element, as provided by Netscape, is here. You may also use values ​​defined by the W3C.en-uscopyrightCopyright notice for content in the channel.Copyright 2002, Spartanburg Herald-JournalmanagingEditorEmail address for person responsible for editorial content.geo@herald.com (George Matesky) webMasterEmail address for person responsible for technical issues relating to channel.betty @ herald.com (Betty Guernsey) pubDateThe publication date for the content in the channel. for example, the New York Times publishes on a daily basis, the publication date flips once every 24 hours. That's when the pubDate of the channel changes. All Date-Times In Rss Conform To The Date And Time Specification of RFC 822, with the Exception That The Year May Be Expressed with Two Characters Or Four Characters (Four P referred) .Sat, 07 Sep 2002 00:00:01 GMTlastBuildDateThe last time the content of the channel changed.Sat, 07 Sep 2002 09:42:31 GMTcategorySpecify one or more categories that the channel belongs to. Follows the same rules as the -level category element. More info. Newspapers generatorA string indicating the program used to generate the channel.MightyInHouse Content System v2.3docsA URL that points to the documentation for the format used in the RSS file It's probably a pointer to this page. It '

s for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.http: //blogs.law.harvard.edu/tech/rsscloudAllows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds. More info here. ttlttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. More info here. 60 imageSpecifies a GIF, JPEG or PNG image that can be displayed with the channel. More info here.ratingThe PICS rating for the channel.textInputSpecifies a text input box that can be displayed with the channel. More info here.skipHoursA hint for aggregators telling them which hours they can skip. More info Here.skipdaysa Hint for aggregators telling the which day.. More info here. Sub-Element of

is an optional sub-element of , Which Contains Three Required and Three Optional Sub-Elements.

Is The Url of A GIF, JPEG OR PNG Image That Repesents The Channel.

.

is The Url of the Site, When The Channel Is Rendered, The Image, In Practice The Image and <Link> SHOULD HAVE The Same Value As The Channel's <title> And <link>.</p> <p>Optional elements include <width> and <height>, numbers, indicating the width and height of the image in pixels. <Description> contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.Maximum value For Width IS 144, Default Value IS 88.</p> <p>Maximum Value for Height IS 400, Default Value IS 31.</p> <p><Cloud> Sub-Element of <CHANNEL></p> <p><Cloud> Is An Optional Sub-Element of <Channel>.</p> <p>IT Specifies A Web Service That Supports The Rsscloud Interface Which Can Be Implement In Http-Post, XML-RPC OR SOAP 1.1.</p> <p>ITS Purpose Is To Allow Processes To Register With a Cloud To Be Notified of Updates To The Channel, IMPLEMENTING A LIGHTWEIGHT PUBLISH-SUBSCRIBE PROTOCOL for RSS feeds.</p> <p><Cloud Domain = "rpc.sys.com" port = "80" path = "/ rpc2" registerprocedure = "mycloud.rsnuasenotify" protocol = "xml-rpc" /></p> <p>In this Example, To Request Notification On The Channel It Appers in, You Would Send An XML-RPC Message To Rpc.sys.com on Port 80, with a path of / rpc2. The procedure to call is mycloud.rspleasenotify.</p> <p>A Full Explanation of this element and the rsscloud interface IS</p> <p>Here.</p> <p><TTL> SUB-Element of <Channel></p> <p><TTL> IS An Optional Sub - Element of <Channel>.</p> <p>ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. This makes it possible for RSS sources to be managed by a file-sharing network such as</p> <p>Gnutella.</p> <p>Example: <TTL> 60 </ TTL></p> <p><textInput> Sub-element of <channel></p> <p>A Channel May Optionally Contain A <textInput> Sub-Element, Which Contains Four Required Sub-Elements. <Title> - The label of the submit button in the text.</p> <p><Description> - Explains The Text Input Area.</p> <p><name> - The name of the text object in the text.</p> <p><link> - The Url of The CGI Script That Processes Text Input Requests.</p> <p>The purpose of the <textInput> Element is Something of a mystery. You can use it to specify a search engine box. Or To Allow a Reader to Provide Feedback. Most Aggregators Ignore IT.</p> <p>Elements of <item></p> <p>A Channel May Contain Any Number of <item> s. An Item May Repesent A "Story" - Much Like A Story In a Newspaper or Magazine; if So ITS Description is a synopsis of the story, and the link points to the full Story. An Item May Also Be Complete in Itself, IF So, The Description Contains The Text (entity-encoded HTML IS Allowed; See</p> <p>EXAMPLES), AND the link and title may be omitted. All Elements of anly.</p> <p>ElementDescriptionExampleTitlethe Title of the item.venice Film Festival Tries To Quit SinkingLinkthe Url of The item/2004/07fest.htmldescription The item synopsis.</p> <p>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.authorEmail address of the author of the item. More.categoryIncludes the item in one or more categories. More.commentsURL of a page for comments relating to the item. More.enclosureDescribes a media object that is attached to the item. More.guidA string that uniquely identifies the item. More.pubDateIndicates when the item was published. More.sourceThe RSS Channel That The Item Came from. More. <Source> Sub-Element of <item></p> <p><source> is an optional sub-element of <item>.</p> <p>ITS Value Is The Name of the RSs Channel That The Item Came from, Derived from Its <title>. It has one required attribute, URL, Which Links to the Xmlization of the source.</p> <p><source url = "http://www.tomalak.org/links2.xml"> Tomalak's Realm </ source></p> <p>The purpose of this element is to propagate credit for links, to publicize the sources of news items. It can be used in the Post command of an aggregator. It should be generated automatically when forwarding an item from an aggregator to a weblog authoring tool.</p> <p><Enclosure> Sub-Element of <item></p> <p><Enclosure> IS An Optional Sub-Element of <item>.</p> <p>IT Has Three Required Attribute 40, Length Says How Big It Is in Bytes, And Type Says What ITS TYPE IS, A Standard Mime Type.</p> <p>The URL Must Be an HTTP URL.</p> <p><Enclosure Url = "http://www.scripting.com/mp3s/weatherreportsuite.mp3" length = "12216320" TYPE = "AUDIO / MPEG" /></p> <p>A Use-Case Narrative for this Element IS</p> <p>Here.</p> <p><category> sub-element of <item> <category> is an optional sub-element of <item>.</p> <p>IT Has One Optional Attribute, Domain, A String That Identifies a Categorization Taxonomy.</p> <p>.. The value of the element is a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy Processors may establish conventions for the interpretation of categories Two examples are provided below:</p> <p><category> grateful dead </ category></p> <p><category domain = "http://www.fool.com/cusips"> MSFT </ category></p> <p>You May include as a.</p> <p><Pubdate> Sub-Element of <item></p> <p><pubdate> is an optional sub-element of <item>.</p> <p>ITS Value IS A</p> <p>Date, INDICATING WHEN THE ITEM WAS PUBLISHED. IF IT'S MAY Choose to Not Display The Item Until That Date.</p> <p><Pubdate> Sun, 19 May 2002 15:21:36 GMT </ pubdate></p> <p><Guid> Sub-Element of <item></p> <p><guid> is an optional sub-element of <item>.</p> <p>Guid Stands for Globally Unique Identifier. It's a string That Unique Identifies The item. When present, An Aggregator May Choose To Use this string to determine if an item is new.</p> <p><Guid> http://some.server.com/weblogitem3207 </ guid></p> <p>The uniqueness of the string.</p> <p>If the guid element has an attribute named "isPermaLink" with a value of true, the reader may assume that it is a permalink to the item, that is, a url that can be opened in a Web browser, that points to the full item Described by the <item> Element. An example: <guid ispermalink = "true"> http://inessential.com/2002/09/01.php#a2 </ guid></p> <p>ISPERMALINK IS OPTIONAL, ITS DEFAULT VALUE IS TRUE. If ITS Value IS False, The Guid May Not Be Assumed to BE A URL, OR A URL TO Anything In Particular.</p> <p><Comments> Sub-Element of <item></p> <p><Comments> IS An Optional Sub-Element of <item>.</p> <p>IF present, it is the url of the comments page for the item.</p> <p><Comments> http://ekzemplo.com/entry/4403/comments </ comments></p> <p>More About Comments</p> <p>Here.</p> <p><author> sub-element of <item></p> <p><author> is an optional sub-element of <item>.</p> <p>It's the email address of the author of the item. For newspapers and magazines syndicating via RSS, the author is the person who wrote the article that the <item> describes. For collaborative weblogs, the author of the item might be different from the managing Editor Or Webmaster. for a Weblog Author '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''.</p> <p><author> lawyer@boyer.net (lawyer boyer) </ author></p> <p>Comments</p> <p>RSS Places Restrictions on The First Non-Whitespace Characters of The Data IN <link> and <url> Elements. The Data IN THESE Elements Must Begin with AN</p> <p>IANA-Registered Uri Scheme, Such as http: //, https: //, news: //, mailto: and ftp: //. Prior to rss 2.0, the specification only allowed http: // and ftp: //, however, in practice other URI schemes were in use by content developers and supported by aggregators. aggregators may have limits on the URI schemes they support. Content developers should not assume that all aggregators support all schemes.In RSS 0.91, various elements are restricted to 500 or 100 characters. There can be no more than 15 <items> in a 0.91 <channel>. There are no string-length or XML-level limits in RSS 0.92 and greater. Processors may impose their own limits, and generators may have Preferences That Say No More Than A Certain Number of <item> S CAN APPEAR IN A CHANNEL, OR THAT STRINGS Are Limited in Length.</p> <p>IN RSS 2.0,</p> <p>a provision is made for linking a channel to its identifier in a cataloging system, using the channel-level category feature, described above. For example, to link a channel to its Syndic8 identifier, include a category element as a sub-element of < channel>, with domain "Syndic8", and value the identifier for your channel in the Syndic8 database. The appropriate category element for Scripting News would be <category domain = "Syndic8"> 1765 </ category>.</p> <p>A frequently asked Question About <guid> s is how do the compare to <link> s. Aren't thede it same? Yes, in Some Content Systems, And no in others. In Some Systems, <link> is a permalink to a weblog item. However, in other systems, each <item> is a synopsis of a longer article, <link> points to the article, and <guid> is the permalink to the weblog entry. in all cases, it's recommended that you provide the guid, and if possible make it a permalink. This enables aggregators to not repeat items, even if there have been editing changes.If you have questions about the RSS 2.0 format, please post them on the</p> <p>RSS2-Support Mail List, Hosted by Sjoerd VisScher. This is not a debtyning list, but serves as a support resource for users, Authors and Developers Who Are Creating and use Content In RSS 2.0 Format.</p> <p>Extending RSS</p> <p>RSS originated in 1999, and has strived to be a simple, easy to understand format, with relatively modest goals. After it became a popular format, developers wanted to extend it using modules defined in namespaces, as</p> <p>Specified by the W3C.</p> <p>RSS 2.0 Adds That Capability, FOLLOWING A Simple Rule. A RSS feed May Contain Elements Not Described on this page, "ONLY Those Elements Are Defined In A Namespace.</p> <p>The elements defined in this document are not themselves members of a namespace, so that RSS 2.0 can remain compatible with previous versions in the following sense -. A version 0.91 or 0.92 file is also a valid 2.0 file If the elements of RSS 2.0 were IN A Namespace, This Construction 0.9x File</p> <p>Would Not Be a Valid 2.0 file.</p> <p>Roadmap</p> <p>RSS is by no means a perfect format, but it is very popular and widely supported. Having a settled spec is something RSS has needed for a long time. The purpose of this work is to help it become a unchanging thing, to foster growth in the market that is developing around it, and to clear the path for innovation in new syndication formats. Therefore, the RSS spec is, for all practical purposes, frozen at version 2.0.1. We anticipate possible 2.0.2 or 2.0.3 versions , etc. only for the purpose of clarifying the specification, not for adding new features to the format. Subsequent work should happen in modules, using namespaces, and in completely new syndication formats, with new names.License and authorship</p> <p>RSS 2.0 is offreed by the Berkman Center for Internet & Society At Harvard Law School Under The Terms of The Attribution / Share Alike Creative Commons</p> <p>.</p> <p>Unless OtherWise Labeled by Its Originating Author, The Content Found ON this site is master available under the terminal of an attribution / share alike creative commit</p> <p>license, with the exception that no rights are granted - since they are not ours to grant - in any logo, graphic design, trademarks or trade names, including the Harvard name Last update:. Sunday, January 30, 2005 at 6: 14:58 pm. Published by the RSS Advisory Board:</p> <p>ROGERS CADENHEAD,</p> <p>ADAM CURRY, AND Steve Zellers.</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-32792.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="32792" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.047</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = 'oDezMyf_2FUZskTa6b7thYBrMKqhs7tMVbSAUr9VOMNA5ueO4Xtf0gogs5ECX8R_2FS1zTKPNoNAhswx_2Fq7lxrf0EA_3D_3D'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>