What is rss?

xiaoxiao2021-03-06  14

What is rss?

By Mark Pilgrim

December 18, 2002

Marginwidth = "0" marginheight = "0" src = "http://ad.doubleclick.net/adi/xml.ds/art;pos=_art;sz=336x280; ord=1507972002?" frameborder = "0" width = "336" scrolling = "no" height = "280">

RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the "recent changes" page of a wiki, a changelog of CVS checkins, even the revision history of a book Once information about each item is in RSS format, an RSS-aware program can check. The feeding for change.

RSS-aware programs called news aggregators are popular in the weblogging community. Many weblogs make content available in RSS. A news aggregator can help you keep up with all your favorite weblogs by checking their RSS feeds and displaying new items from each of them.

A brief history

Related Reading Content Syndication with Rssby Ben Hammery

Table of contents

Index

Sample chapter

Read Online - Safari

Search this book on Safari:

But coders beware. The name "RSS" is an umbrella term for a format that spans several different versions of at least two different (but parallel) formats. The original RSS, version 0.90, was designed by Netscape as a format for building portals of headlines to mainstream news sites It was deemed overly complex for its goals;. a simpler version, 0.91, was proposed and subsequently dropped when Netscape lost interest in the portal-making business But 0.91 was picked up by another vendor, UserLand Software, which. intended to use it as the basis of its weblogging products and other web-based writing software.In the meantime, a third, non-commercial group split off and designed a new format based on what they perceived as the original guiding principles of RSS 0.90 (before it got simplified into 0.91). This format, which is based on RDF, is called RSS 1.0. But UserLand was not involved in designing this new format, and, as an advocate of simplifying 0.90, it was not happy when RSS 1.0 WAS Announced. Instead of Accepting RSS 1.0, Userland Continued to Evolve The 0.9x Branch, Through Versions 0.92, 0.93, 0.94, And Finally 2.0.

What a mess.

SO Which One Do I USE?

That's 7 - Count 'EM, 7! - Different Formats, All Called "RSS". AS A CODER OF RSS-Aware Program, You'll Need To Be Liberal Enough To Handle All The Variations. But As a Content Product PROducer Who Wants to make your content, which format shouth, which format

RSS Versions and Recommendations

VersionOwnerProsStatusRecommendation0.90Netscape Obsoleted by 1.0Don't use0.91UserLandDrop dead simpleOfficially obsoleted by 2.0, but still quite popularUse for basic syndication. Easy migration path to 2.0 if you need more flexibility0.92, 0.93, 0.94UserLandAllows richer metadata than 0.91Obsoleted by 2.0 Use 2.0 instead1.0RSS-DEV Working GroupRDF-based, extensibility via modules, not controlled by a single vendorStable core, active module developmentUse for RDF-based applications or if you need advanced modules2.0UserLandExtensibility via modules RDF-specific, easy migration path from 0.9x BranchStable Core, Active Module DevelopmentUse for General-Purpose, Metadata-Rich SyndicationWhat DOES RSS LOOK LIKE?

Imagine you want to write a program that reads RSS feeds, so that you can publish headlines on your site, build your own portal or homegrown news aggregator, or whatever. What does an RSS feed look like? That depends on which version of RSS you 'Re Talking About. Here's A Sample RSS 0.91 feed (Adapted from XML.com's RSS feed):

Xml.com </ title> <link> http://www.xml.com/ </ link> <description> XML.com Features a Rich Mix Of Information And Services for the xml community. </ description> <language> EN-US </ language> <item> <title> Normalizing XML, Part 2 </ title> <link> http://www.xml.com/pub /a/2002/12/04/normalizing.html </ link> <description> In this second and final look at applying relational normalization techniques to W3C XML Schema data modeling, Will Provost discusses when not to normalize, the scope of uniqueness and The Fourth and Fifth Normal Forms. </ description> </ item> <item> <title> The .NET Schema Object Model </ Title> <link> http://www.xml.com/pub/a/2002/ 12/04 / som.html </ link> <description> Priya Lakshminarayanan describes in detail the use of the .NET Schema Object Model for programmatic manipulation of W3C XML Schemas. </ description> </ item> <item> <title> Svg's Past and Promising Future </ Title> <link> http: // Www.xml.com/pub/a/2002/12/04/svg.html </ link> <description> in this Month's Svg Column, Antoine Quint Looks Back At Svg's Journey Through 2002 and Looks Forward to 2003. </ Description > </ Item> </ channel> </ rs s r c i i h h l l l i i l l Title, Link, And Description.</p> <p>Now Look at the RSS 1.0 Version of The Same Information:</p> <p><RDF: RDF XMLns: RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns = "http://purl.org/rss/1.0/" XMLNS: DC = "http://purl.org/dc/elements/1.1/"> <channel rdf: about = "http://www.xml.com/cs/xml/query/q/19> <title> Xml.com </ title> <link> http://www.xml.com/ </ link> <description> XML.com Features a Rich Mix of Information and services for the xml community. </ Description> <language> EN-US <RDF: SEQ> <rdf: li rdf: resource = "http://www.xml.com/pub/a/2002/12/04/normalization.html" /> <rdf: li rdf: resource = "http://www.xml.com/pub/a/2002/12/04/som.html" /> <rdf: li rdf: resource = "http: // www. Xml.com/pub/a/2002/12/04/svg.html "/> </ rdf: SEQ> <items> </ channel> <item rdf: about =" http://www.xml.com /PUB/A/2002/12/04/NORMALIZING.HTML "> <title> Normalizing XML, Part 2 </ Title> <link> http://www.xml.com/pub/a/2002/04 / Normalizing.html </ link> <description> in this second and final look at Applying RELATIONAL NORMALIZATION TECHNIQUES TO W3C XML Schema Data Modeling, Will Provost Discusses When Not to Normalize, The Scope of Uniqueess and The Fourth and Fifth Normal Forms. </ Description> <DC: Creat> Will Provost </ dc: Creator> <DC: DATE> 2002-12- 04 </ dc: DATE> </ item> <item rdf: About = "http://www.xml.com/pub/a/2002/12/04/som.html> <title> The .NET Schema Object model </ title> <link> http://www.xml.com/pub/a/2002/12/04/som.html </ link> <design></p> <p>Priya Lakshminarayanan describes in detail the use of the .NET Schema Object Model for programmatic manipulation of W3C XML Schemas </ description> <dc: creator>. Priya Lakshminarayanan </ dc: creator> <dc: date> 2002-12-04 < / DC: DATE> </ item> <item rdf: About = "http://www.xml.com/pub/a/2002/12/04/svg.html"> <title> svg's paste and promising future < / Title> <link> http://www.xml.com/pub/a/2002/12/04/svg.html </ link> <description> in this Month's Svg Column, Antoine Quint Looks Back At Svg's Journey Through 2002 and looks forward to 2003. </ Description> <dc: creator> Antoine quint </ dc: creator> <dc: date> 2002-12-04 </ dc: DATE> </ item> </ rdf: rdf> . Quite a bit more verbose People familiar with RDF will recognize this as an XML serialization of an RDF document;. the rest of the world will at least recognize that we're syndicating essentially the same information In fact, we're including a bit More information: item-level authors and publish dates, Which RSS 0.91 Does Not</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-47893.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="47893" 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.044</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 = 'VpDZqmy_2F_2B_2F22aMCwEz9VT8LSLwiPCTTysL7vCL4lI4KERdt48sxzGHThHSw4v_2FjmgIvRzR_2FKJSTNjK24EJdBKw_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>