آراساس
همنشری واقعاً ساده[۲] (به انگلیسی: Really Simple Syndication) یا خلاصه سایت آردیاف (به انگلیسی: RDF Site Summary) که بهطور مخفف به آن آراساس (به انگلیسی: RSS) گفته میشود، یک ابزار مدیریت و پیگیری تغییرات محتوایی در وبسایتها است. این ابزار به کاربران و برنامههای نرمافزاری اجازهٔ دسترسی و پیگیری تغییرات و بهروزرسانیهای رخ داده در وبسایتها را در قالب استاندارد و قابل فهم توسط رایانه میدهد.[۳] کاربردها
اصطلاحات کلیدیسند RSS
خوراک خوان یا جمعکننده خبر
عضویت در RSSاز طریق عضویت در RSS یک وب سایت، دیگر نیازی به بررسی دستی وب سایت برای محتوای جدید توسط کاربر نیست. در عوض مرورگر به صورت مداوم سایت را دیدبانی میکند، و به کاربر در مورد وجود هر گونه به روزرسانی خبر میدهد. میتوان مرورگر را تنظیم کرد که به صورت خودکار داده جدید را برای کاربر بارگیری کند.[۳]
انواع گردآورنده RSSبرای استفاده از آراساسها شما نیاز به یک گردآورندهٔ آراساس (به انگلیسی: RSS Aggregator) دارید. گردآورندههای آراساس بر چند دسته هستند:
البته میتوان آراساسها را از طریق ایمیل نیز دریافت کرد.[۴][۵] انگیزه و مزایا
مثالیک مثال از محتوای خوراک RSS، به صورت زیر است: <?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>RSS Title</title>
<description>This is an example of an RSS feed</description>
<link>http://www.example.com/main.html</link>
<lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate>
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate>
<ttl>1800</ttl>
<item>
<title>Example entry</title>
<description>Here is some text containing an interesting description.</description>
<link>http://www.example.com/blog/post/1</link>
<guid isPermaLink="false">7bd204c6-1655-4c27-aeee-53f933c5395f</guid>
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate>
</item>
</channel>
</rss>
در موقع بازیابی، نرمافزار خواننده میتواند از ساختار XML، برای نمایش یک ارائه تمیز به کاربر نهایی استفاده کند. آراساس ۱٫۰مثال زیرین نمونهای از یک اراساس نسخه یک است: <?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#%22
xmlns="http://purl.org/rss/1.0/%22>
<channel rdf:about="http://www.xml.com/xml/news.rss%22>
<title>XML.com</title>
<link>http://xml.com/pub</link>
<description>
XML.com features a rich mix of information and services
for the XML community.
</description>
<image rdf:resource="http://xml.com/universal/images/xml_tiny.gif%22/>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://xml.com/pub/2000/08/09/xslt/xslt.html%22/>
<rdf:li rdf:resource="http://xml.com/pub/2000/08/09/rdfdb/index.html%22/>
</rdf:Seq>
</items>
<textinput rdf:resource="http://search.xml.com%22/>
</channel>
<image rdf:about="http://xml.com/universal/images/xml_tiny.gif%22>
<title>XML.com</title>
<link>http://www.xml.com</link>
<url>http://xml.com/universal/images/xml_tiny.gif</url>
</image>
<item rdf:about="http://xml.com/pub/2000/08/09/xslt/xslt.html%22>
<title>Processing Inclusions with XSLT</title>
<link>http://xml.com/pub/2000/08/09/xslt/xslt.html</link>
<description>
Processing document inclusions with general XML tools can be
problematic. This article proposes a way of preserving inclusion
information through SAX-based processing.
</description>
</item>
<item rdf:about="http://xml.com/pub/2000/08/09/rdfdb/index.html%22>
<title>Putting RDF to Work</title>
<link>http://xml.com/pub/2000/08/09/rdfdb/index.html</link>
<description>
Tool and API support for the Resource Description Framework
is slowly coming of age. Edd Dumbill takes a look at RDFDB,
one of the most exciting new RDF toolkits.
</description>
</item>
<textinput rdf:about="http://search.xml.com%22>
<title>Search XML.com</title>
<description>Search XML.com's XML collection</description>
<name>s</name>
<link>http://search.xml.com</link>
</textinput>
</rdf:RDF>
آراساس ۲٫۰مثال زیر نمونهای از یک ارساس نسخه دو است: <?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Liftoff News</title>
<link>http://liftoff.msfc.nasa.gov/</link>
<description>Liftoff to Space Exploration.</description>
<language>en-us</language>
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate>
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Weblog Editor 2.0</generator>
<managingEditor>editor@example.com</managingEditor>
<webMaster>webmaster@example.com</webMaster>
<item>
<title>Star City</title>
<link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link>
<description>How do Americans get ready to work with Russians aboard the
International Space Station? They take a crash course in culture, language
and protocol at Russia's Star City.</description>
<pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid>
</item>
<item>
<title>Space Exploration</title>
<link>http://liftoff.msfc.nasa.gov/</link>
<description>Sky watchers in Europe, Asia, and parts of Alaska and Canada
will experience a partial eclipse of the Sun on Saturday, May 31st.</description>
<pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</guid>
</item>
<item>
<title>The Engine That Does More</title>
<link>http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp</link>
<description>Before man travels to Mars, NASA hopes to design new engines
that will let us fly through the Solar System more quickly. The proposed
VASIMR engine would do that.</description>
<pubDate>Tue, 27 May 2003 08:37:32 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/05/27.html#item571</guid>
</item>
<item>
<title>Astronauts' Dirty Laundry</title>
<link>http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp</link>
<description>Compared to earlier spacecraft, the International Space
Station has many luxuries, but laundry facilities are not one of them.
Instead, astronauts have other options.</description>
<pubDate>Tue, 20 May 2003 08:56:02 GMT</pubDate>
<guid>http://liftoff.msfc.nasa.gov/2003/05/20.html#item570</guid>
</item>
</channel>
</rss>
منابع
|