欢迎来到天天文库
浏览记录
ID:31816422
大小:66.63 KB
页数:11页
时间:2019-01-18
《rss20规范(英文原版)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、RSS2.0SpecificationTuesday,July15,2003Contents•WhatisRSS?•Samplefiles•Aboutthisdocument•Requiredchannelelements•Optionalchannelelements•Elementsof•Comments•ExtendingRSS•Roadmap•LicenseandauthorshipWhatisRSS?«RSSisaWebcontentsyndicationformat・ItsnameisanacronymforReallySim
2、pleSyndication・RSSisadialectofXML.AllRSSfilesmustconformtotheXML1.0specification,aspublishedontheWorldWideWebConsortium(W3C)website・AsummaryofRSSversionhistory.Atthetoplevel,aRSSdocumentisaelement,withamandatoryattributecalledversion,thatspecifiestheversionofRSSthatthedocu
3、mentconformsto.Ifitconformstothisspecification,theversionattributemustbe2.0.Subordinatetotheelementisasingleelement,whichcontainsinformationaboutthechannel(metadata)anditscontents.SamplefilesHerearesamplefilesfor:RSS0.91,0.92and2.0.Notethatthesamplefilesmaypointto
4、documentsandservicesthatnoIongerexist・The0.91samplewascreatedwhenthe0.91docswerewritten.Maintainingatrailofsamplesseemslikeagoodidea・AboutthisdocumentThisdocumentrepresentsthestatusofRSSasoftheFallof2002,version2.0.1.Itincorporatesallchangesandadditions,startingwiththebasicspec
5、forRSS0.91(June2000)andincludesnewfeaturesintroducedinRSS0.92(December2000)andRSS0.94(August2002)・Changenotesarehere・Firstwedocumenttherequiredandoptionalsub-elementsof;andthendocumentthesub-elementsof6、dmapforfutureevolution,andguidelinesforextendingRSS・RequiredchannelelementsHerefsalistoftherequiredchannelelements,eachwithabriefdescription,anexample,andwhereavailable,apointertoamorecompletedescription.ElementDescriptionExampletitleThenameofthechannel.It'showpeoplerefertoyour7、service・IfyouhaveanHTMLwebsitethatcontainsthesameinformationasyourRSSfile,thetitleofyourchannelshouldbethesameasthetitleofyourwebsite・Gollpstate.comNewsHeadlineslinkTheURLtotheHTMLwebsitecorrespondingtothechannel.http://www.goupstate.com/descriptionPhraseorsentencedescribingthe8、channel.ThelatestnewsfromGoUpstate.com,aSpartanburgHer
6、dmapforfutureevolution,andguidelinesforextendingRSS・RequiredchannelelementsHerefsalistoftherequiredchannelelements,eachwithabriefdescription,anexample,andwhereavailable,apointertoamorecompletedescription.ElementDescriptionExampletitleThenameofthechannel.It'showpeoplerefertoyour
7、service・IfyouhaveanHTMLwebsitethatcontainsthesameinformationasyourRSSfile,thetitleofyourchannelshouldbethesameasthetitleofyourwebsite・Gollpstate.comNewsHeadlineslinkTheURLtotheHTMLwebsitecorrespondingtothechannel.http://www.goupstate.com/descriptionPhraseorsentencedescribingthe
8、channel.ThelatestnewsfromGoUpstate.com,aSpartanburgHer
此文档下载收益归作者所有