View
257
Download
6
Category
Preview:
Citation preview
RSS
נדבר מה על
ולמה צריך את זהRSSמה זה •היסטוריה ותקנים•איך כותבים•איך קוראים•
RSSמה זה
htmlבאינטרנט יש הרבה תוכן בפורמט •
המידע ? ניראה איך
Htmlלא מספיק טוב
•Html מתאר רק איך יראה הטקסט, אבל לא על מה הוא מדבר
:meta-tagsפתרון אפשרי – שימוש ב- •>meta name=“date” content=“12/12/04”>
<meta name=“message” content=“all classes will be closed tomorrow”>
בעייתי – צריך להכיר את השמות שהכותב •השתמש בהם
XML
סטנדרט לתיאור מידע•1998, בשימוש משנת 1996מפותח משנת •דוגמא לשימוש:•
>book><title> Linked </title><author> Barbarasi </author><price> 30$ </price>
</book>
XMLהמשך –
יתרון – המידע קריא•httpיתרון – המידע נגיש ב- •
ים:tagבעיה – הסטנדרט לא מגדיר את ה- •>price> 30$ </price>
<bookprice> 30$ </bookprice>
פתרון – הגדרת תתי סטנדרטים עבור נושאים •שונים
RSS
•RSS סטנדרט מבוסס – XML לתיאור תמצית מידע
•Really Simple Syndication
•Rich/RDF Site Summery
דוגמאות:•(Slashdot, BBC, Yahoo!, Wiredאתרי חדשות )––Blogים(Wiki )למשל ב- What’s Newדפי ––CVS Change Log
וגרסאות היסטוריה
0.9, גרסה netscape, 1998פותח במקור ע"י ••RSSDev 1.0 מפתחים את גרסה•Userland 0.91 מפתחים את גרסאות ,
0.92 ..2.0-ים בשימושspecהיום שלושת ה-•
RSSאיך כותבים <rss version="0.91“>
<channel> <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</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</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>
</rss>
יםTagעוד
• Pubdate
• lastBuiltdate
• Category
• Ttl
• Language
• Author (for item)
• And more
RSSאיך קוראים
נקראותRSSתוכנות לקריאת •“news agragators”
FEEDהקובץ עצמו נקרא •
•FeedReader
•Browser extension
•Many more
הדגמה
Recommended