Qhov txawv ntawm RSS thiab RSS2

Qhov txawv ntawm RSS thiab RSS2
Qhov txawv ntawm RSS thiab RSS2

Video: Qhov txawv ntawm RSS thiab RSS2

Video: Qhov txawv ntawm RSS thiab RSS2
Video: Qhov Txawv Ntawm Lus Hmoob Thiab Lus Mab Mawb 2024, Kaum ib hlis
Anonim

RSS vs RSS2 | Rss 1.0 vs RSS 2.0

Web pub yog siv los tshaj tawm (hauv hom qauv) cov ntaub ntawv hais txog kev hloov tshiab tsis tu ncua xws li kev nkag tshiab hauv blogs, tshaj tawm xov xwm thiab xov xwm ntau rau nws cov neeg nyeem. Web pub yog qhov tseem ceeb heev rau cov tshaj tawm vim tias lawv tuaj yeem ua kom cov txheej txheem sib koom ua ke. Web pub yog qhov tseem ceeb rau cov neeg nyeem vim lawv tsis tas yuav taug qab cov hloov tshiab manually. Web pub kuj tuaj yeem sau ntau yam pub rau ib qho chaw. Web pub tuaj yeem pom los ntawm cov neeg nyeem pub (xws li Google Reader). RSS (Really Simple Syndication) yog ib qho ntawm feem nrov web pub hom siv niaj hnub no. RSS2 (RSS 2.) yog nws qhov tseeb version, uas yog tus successor rau nws thawj version RSS (RSS 1.). Pub, web pub thiab channel yog lwm cov ntsiab lus uas siv los hu rau RSS daim ntawv. RSS cov ntaub ntawv yog tsim los ntawm tag nrho cov ntsiab lus los yog summery nrog rau cov metadata (hnub tim, sau, thiab lwm yam). Vim tias tus qauv XML yog siv rau kev tshaj tawm, nws tso cai rau pom los ntawm ntau daim ntawv thov (tom qab luam tawm ib zaug xwb).

RSS yog dab tsi?

RSS 1. cov qauv tsuas yog txheeb xyuas raws li RSS. Thawj thawj version yog RSS 0.90, uas tau qhia los ntawm Netscape. Lub sijhawm ntawd, RSS sawv rau RDF Site Summary. Thaum Lub Kaum Ob Hlis 2000, RSS-DEV pawg neeg ua haujlwm tau qhia txog RSS 1.0, uas qee zaum raug txheeb xyuas tias yog RSS (tsis yog RSS 1.). RSS 1.1 yog ib qho tom qab version, uas hloov RSS 1.0. Txawm li cas los xij, qhov no tsis tau pom zoo los ntawm RSS-DEV Ua Haujlwm Pab Pawg. RSS suav nrog kev txhawb nqa rau XML namespaces. RSS yog thawj lub vev xaib pub los qhia txog kev tso cai rau nqa cov ntaub ntawv audio, uas ua rau txoj hauv kev rau qhov nrov tshaj plaws ntawm podcasts.

RSS2 yog dab tsi?

RSS2 yog ib phau ntawm RSS versions txheeb xyuas raws li RSS 2.. Hauv qab no, RSS 0.91 yog qhov yooj yim tso tawm los ntawm Netscape. Muaj ntau ntau lwm yam sib xws xws li RSS 0.92, 0.93 thiab 0.94 hauv RSS 2.. RSS 2.0 tau tso tawm thaum lub Cuaj Hlis 2002. Lub npe kuj tau hloov mus rau Tiag Simple Syndication nrog qhov kev tso tawm ntawd. Hom cwj pwm (uas tau ntxiv hauv RSS 0.94) raug tshem tawm hauv RSS 2.0. Tsis tas li ntawd, RSS 2.0 pib txhawb cov npe chaw. Tab sis kev txhawb nqa namespace tsuas yog siv tau rau lwm cov ntsiab lus muaj nyob hauv RSS 2.0 pub (tsis suav nrog RSS 2.0 ntsiab lus). Qhov no tau ua kom txhob txwm ua kom rov qab sib raug zoo nrog RSS 1.. Txoj cai ntawm RSS 2.0 tau raug xa mus rau Harvard, thaum Lub Xya Hli 2003. Nyob ib ncig ntawm lub sijhawm, pawg thawj coj ntawm RSS Advisory Board (ib pab pawg uas ua haujlwm rau kev saib xyuas ntawm RSS specification) tau tsim. RSS 2.0.1 qhia txog kev hloov pauv loj ntawm kev txuas ntxiv siv lub npe chaw hauv XML.

Qhov txawv ntawm RSS thiab RSS2 yog dab tsi?

RSS2 qhia txog kev txhawb nqa rau cov ntaub thaiv npog, uas tsis muaj nyob hauv RSS. Vim li no, RSS2 yog hom pub noj tshaj plaws rau podcasting. Qhov no yog pov thawj los ntawm qhov tseeb tias iTunes pib siv RSS2 tsis ntev los no. Tab sis tam sim no, qhov txuas ntxiv hu ua mod_enclosure muaj rau RSS. RSS2 tsis txhawb nqa cov ntawv sau tag nrho, tab sis RSS cov ntawv cim tau siv los ua qhov txuas ntxiv. Tsis zoo li RSS, RSS2 muab kev txhawb nqa rau qhov chaw-encoded HTML.

Pom zoo: