Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 217980 программистов и 5091 робот. Сейчас ищут 3106 программистов ...

Introduction

Вернуться к: XML_RSS

Introduction

Introduction – Introduction to XML_RSS

Resource Description Framework (RDF) Site Summary (RSS) documents are XML documents, that provide a lightweight multipurpose extensible metadata description and syndication format. RSS files are often used to syndicate news or headlines from portal sites (e.g. Slashdot or freshmeat.net) or weblogs.

For more information on RSS see the website of the RSS working group (http://tech.groups.yahoo.com/group/rss-dev/files/specification.html).

RSS file

 <?xml version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"          xmlns="http://my.netscape.com/rdf/simple/0.9/">  <channel>  <title>FooBar Inc.</title>  <link>http://example.com/</link>  <description>abcd, xyz, 123</description> </channel>  <image>  <title>FooBar</title>  <url>http://example.com/images/rssicon.gif</url>  <link>http://example.com/</link> </image>  <item>  <title>Headline 1</title>  <link>http://example.com/news.php?h=1</link> </item>  <item>  <title>Headline 2</title>  <link>http://example.com/news.php?h=2</link> </item>  <textinput>  <title>Search FooBar Inc.</title>  <description>Search FooBar Inc. headlines</description>  <name>q</name>  <link>http://example.com/search.php</link> </textinput>  </rdf:RDF>


Вернуться к: XML_RSS

© 2026 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты
Разработка компании ODWR