r11 - 19 Aug 2006 - 23:40:00 - PatipatTumsangthongYou are here: SETEC Wiki >  Knowledge Web  > WebTechnologyCategory > RSS
-- JaruTangpoonpholwiwat - 09 Apr 2006 - 14:28

RSS

RSS ??*"> What is RSS ??

RSS (Really Simple Syndication) เป็นรูปแบบหนึ่งของ web feed ที่ใช้ภาษา XML ในการสร้าง RSS นิยมนำมาใช้อย่างแพร่หลายใน เว็บไซต์ข่าว, webblog และ podcasting

Web feed เป็นการจัดทำบทสรุปของเนื้อหาเพื่อให้อ่านก่อนที่จะเข้าไปอ่านเนื้อหาจริงทั้งหมด

ปัจจุบัน RSS ถูกนำมาประยุกต์ใช้เป็นรูปแบบกลางในการบริหารข้อมูลทางธุรกิจ และมีการแข่งขันกันสูง โดยเฉพาะธุรกิจที่มี การแชร์ข้อมูล เช่น เว็บไซต์ข่าว เว็บล็อก ซึ่งจะมีการแสดงข้อมูลบนหน้าต่างพรีวิวแยกต่างหาก เพื่อให้ผู้ใช้ไม่สับสน รวมถึง สามารถสืบค้นข้อมูลได้

RSS ย่อมาจาก Really Simple Syndication คือ บริการที่อยู่บนระบบ อินเตอร์เน็ท จัดทำข้อมูลข่าวสารให้อยู่ในรูปแบบ XML เพื่ออำนวยความสะดวกให้ กับผู้ใช้ โดยส่งข่าวหรือข้อมูลใหม่ๆ ให้ถึงเครื่องตลอดเวลาที่มีการ Updateไม่ต้อง เสียเวลาเปิดเว็บไซต์เข้ามาค้นหา

ข้อดีของ RSS RSS ช่วยลดข้อจำกัดในการคัดลอกข้อมูลในเว็บไซต์ โดยเฉพาะกรณีการละเมิด ลิขสิทธิ์ขณะที่ผู้สร้างไม่ต้องเสียเวลาทำหน้าเพจแสดงข่าว ซึ่งต้องทำทุกครั้งเมื่อ ต้องการเพิ่มข่าว โดย RSS จะดึงข่าวมาอัตโนมัติ ทำให้ข้อมูลในเว็บไซต์เป็น ศูนย์กลางมากขึ้น

จุดเด่นของ RSS คือ ผู้ใช้จะไม่จำเป็นต้องเข้าไปตามเว็บไซต์ต่างๆ เพื่อดูว่ามีข้อมูล อัพเดทใหม่หรือไม่ ขณะที่เว็บไซต์แต่ละแห่งอาจมีระยะความถี่ในการอัพเดท ไม่เท่ากัน บางครั้งผู้ใช้ยังอาจหลงลืมจนเข้าไปดูเนื้อหาอัพเดทใหม่บนเว็บไซต์ ไม่ครบถ้วน รูปแบบ RSS จะช่วยให้ผู้ใช้สามารถรับข่าวสารอัพเดทใหม่ได้ โดยไม่ต้องเข้าไปดูทุกครั้งให้เสียเวลา ซึ่งจะได้ประโยชน์ทั้งฝ่ายผู้บริโภคและ ฝ่ายเจ้าของเว็บไซต์

History

  • Really Simple Syndication
  • Rich Site Summary (RSS 0.91)
  • RDF Site Summary (RSS 0.9 and 1.0)
  • Real-time Simple Syndication (RSS 2.0)

As noted above, there are several different versions of RSS, falling into two major branches (RDF and 2.*). The RDF, or RSS 1.* branch includes the following versions:

RSS 0.90 was the original Netscape RSS version. This RSS was called RDF Site Summary, but was based on an early working draft of the RDF standard, and was not compatible with the final RDF Recommendation. RSS 1.0 and 1.1 are an open format by the "RSS-DEV Working Group", again standing for RDF Site Summary. RSS 1.0 is an RDF format like RSS 0.90, but not fully compatible with it, since 1.0 is based on the final RDF 1.0 Recommendation. The RSS 2.* branch (initially UserLand?, now Harvard) includes the following versions:

RSS 0.91 is the simplified RSS version released by Netscape, and also the version number of the simplified version championed by Dave Winer from Userland Software. The Netscape version was now called Rich Site Summary, this was no longer an RDF format, but was relatively easy to use. It remains the most common RSS variant. RSS 0.92 through 0.94 are expansions of the RSS 0.91 format, which are mostly compatible with each other and with Winer's version of RSS 0.91, but are not compatible with RSS 0.90. In all Userland RSS 0.9x specifications, RSS was no longer an acronym. RSS 2.0.1 has the internal version number 2.0. RSS 2.0.1 was proclaimed to be "frozen", but still updated shortly after release without changing the version number. RSS now stood for Really Simple Syndication. The major change in this version is an explicit extension mechanism using XML Namespaces. For the most part, later versions in each branch are backward-compatible with earlier versions (aside from non-conformant RDF syntax in 0.90), and both versions include properly documented extension mechanisms using XML Namespaces, either directly (in the 2.* branch) or through RDF (in the 1.* branch). Most syndication software supports both branches. Mark Pilgrim's article "The Myth of RSS Compatibility" discusses RSS version compatibility in more detail.

The extension mechanisms make it possible for each branch to track innovations in the other. For example, the RSS 2.* branch was the first to support enclosures, making it the current leading choice for podcasting, and as of mid-2005 is the format supported for that use by iTunes and other podcasting software; however, an enclosure extension is now available for the RSS 1.* branch, mod_enclosure [16]. Likewise, the RSS 2.* core specification does not support providing full-text in addition to a synopsis, but the RSS 1.* markup can be (and often is) used as an extension. There are also several common outside extension packages available, include a new proposal from Microsoft for use in Internet Explorer 7.

The most serious compatibility problem is with HTML markup. Userland's RSS reader—generally considered as the reference implementation—did not originally filter out HTML markup from feeds. As a result, publishers began placing HTML markup into the titles and descriptions of items in their RSS feeds. This behaviour has become widely expected of readers, to the point of becoming a de facto standard, though there is still some inconsistency in how software handles this markup, particularly in titles. The RSS 2.0 specification was later updated to include examples of entity-encoded HTML, however all prior plain text usages remain valid.

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 description

Element Description Example

title The 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 Headlines link The 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

Reference

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r11 < r10 < r9 < r8 < r7 | More topic actions
Knowledge.RSS moved from Knowledge.Rss on 20 Aug 2006 - 03:40 by PatipatTumsangthong - put it back
 
Powered by SETEC Wiki
Copyright ©2012 by National Electronics and Computer Technology Center, NECTEC.
Ideas, requests, problems regarding SETEC Wiki? Send feedback