ถ้าสังเกตุจะเห็นว่าเราเพิ่ม modules ขึ้นมาหลาย modules ทั้ง Weather / MFS / Latest News ด้านบนนี้ ทุก modules นี้เป็น rss modules คือจะ update เองผ่านจากเวบที่ให้บริการ Feeds
RSS 2.0 (Really Simple Syndication) เป็นข้อมูลที่อยู่ในรูปแบบของภาษา XML ใช้มากในการกระจายข่าวสารทางเวบไซท์ / blog ในโลกข้อมูลข่าวสารแบบนี้ RSS กำลังเป็นที่นิยมอย่างมาก เวบไซท์อย่าง Yahoo, MSN, CNET, Google News, ฯลฯ ก็จะมีบริการนี้ให้สำหรับเราๆ หรือ webmaster จะได้เอาข้อมูลที่แต่ละเวบ publish ออกมาใส่ในหน้าเวบของตัวเอง โดยข้อมูลนั้นๆจะถูก update อยู่ตลอดเวลา เราที่เป็น webmaster / เจ้าของ blog ก็ไม่ต้องมาคอยอัพเดทอะไรเลย สบายจริงๆ เวบเราก็จะดูไม่น่าเบื่อ เพราะว่ามีอะไรๆใหม่ๆให้อ่านอยู่ตลอดเวลา

วิธีการใช้ RSS Feeds ใน MSN Space
1. Log in to your MSN Space
2. Choose Customize
3. From Modules drop down, choose to "create" RSS Feed
4. RSS Feed module will be added to your sidebar, click "edit"
5. "Name of Feed" is the name for your Module
6. "Enter an RSS feed URL" is the URL to RSS Feed. For examples, if you go to Yahoo! Movie page, you’ll see multiple RSS icons. Choose the one that interests you, copy its link location, then paste that link to this textbox, then hit "Save". (if you still confuse, try this Yahoo Top Box office feed (Like the one I have on one of my modules) — http://rss.ent.yahoo.com/movies/boxoffice.xml)
7. Finish … now you have a new RSS Module!!

ทำ RSS Feeds เองเลย
สำหรับ webmaster หรือคนที่อยากลองทำ Feed เองก็สามารถทำได้ ดูตัวอย่างจาก MFS Music Feed Modules ได้ …
xml file ที่ใช้เป็น url ใน "Enter an RSS feed URL" นั้นเราสามารถสร้างเองได้ ไฟล์นี้มีส่วนประกอบตามนี้เลย

Part 1 (ส่วนหัวของไฟล์)
<?xml version="1.0"?>
<rss version="2.0">
<channel>

Part 2 (ส่วน body ที่มี description หลักถึงไซท์ของเราโดยรวม)
ส่วนนี้ประกอบด้วย tag หลักๆสาม tags คือ
1. Title
2. Description
3. Link
ตัวอย่างจาก MFS Module XML File:
<title>MyFirstSight.com</title>
<description>Top Music on myfirstsight.com music page</description>
<link>http://www.myfirstsight.com/music</link>

Part 3 (ส่วน body ที่มี description ของแต่ละ link / page ที่เราต้องการเขียนถึง specified by <item>)
ส่วนนี้ประกอบด้วย 4 tags คือ
1. Item
2. Title
3. Description
4. Link

ตัวอย่างจาก MFS Module XML File:
<item>
<title>OST. The Myth – Endless Love</title>
<description>OST. The Myth – Endless Love</description>
<link>http://www.myfirstsight.com/music/TheMyth.htm</link>
</item>

<item>
<title>Calorie Blah Blah – You know I do</title>
<description>Calorie Blah Blah – You know I do</description>
<link>http://www.myfirstsight.com/music/CalorieBB2.htm</link>
</item>
<item>
<title>Jesse McCartney – Because you live</title>
<description>Jesse McCartney – Because you live</description>
<link>http://www.myfirstsight.com/music/JesseMcCartney3.htm</link>
</item>

Part 4 (ส่วนปิดท้าย)
</channel>
</rss>
เปลี่ยน title, description, link เอาตามที่เราต้องการเลย เสร็จแล้วคราวนี้ก็เอาทั้งสี่ส่วนมาแปะรวมกัน แล้ว save file ให้ลงท้ายด้วย .xml เช่น feed.xml แล้วเอาไป upload ไว้ใน web server ที่ไหนสักที่ คราวนี้ก็กลับมาที่ RSS Feed ของ MSN Space แล้ว paste URL ของ feed.xml ลงไป คราวนี้ก็เป็นอันเสร็จ ใช้ได้เรียบร้อย

RSS Syndication — เหมาะสำหรับคนขี้เกียจ update web เช่นเราจริงๆ
Comments