RE: question about rss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I should have added.

You don't need to do all the hard work yourself understanding all of this.
There are classes available that will automatically create the correct
XML/RSS output for you :-

http://www.phpclasses.org/browse/package/560.html

Rob. 

-----Original Message-----
From: Atkinson, Robert 
Sent: 07 November 2007 11:25
To: 'php-objects@xxxxxxxxxxxxxxx'
Subject: RE:  question about rss

Sudhaker,
	if you remember what I said the other day about 'What Is XML'. Well,
RSS is just XML - no more, no less. The only difference is that it is a
specific implementation of XML.

You also remember I said that to be able to understand the XML, you need a
DTD (Document Type Definition) explaining what all the tags are. Well, RSS is
exactly the same. You have to create the right RSS tags for people to
understand your information.


A simple RSS feed looks like this :-

<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, Will Provost
discusses when not to normalize, the scope of uniqueness and the fourth and
fifth normal forms.</description>
    </item>
  </channel>
</rss> 

You can see, for a valid RSS feed, you MUST have the <rss>, <channel> and
<item> tags. Some of the other tags you can see in the example are optional.

This is version 0.9 of the RSS XML format. If you want to use version 1.0,
then the tags are slightly different, but you must still use exactly the
right format that the DTD describes.

If you look at http://www.w3.org/1999/02/22-rdf-syntax-ns, you will see one
of the DTD documents for RSS, called RDF. Don't worry about understanding it
- you just need to know that for any XML format, there should be a matching
definition document.


This page has some more information :-
http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html

Rob.


-----Original Message-----
From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf Of Sudhakar
Sent: 07 November 2007 11:00
To: php-objects@xxxxxxxxxxxxxxx
Subject:  question about rss

i am not sure if this question is appropriate in this form. is there a 
telephone support for rss. i am not clear about the difference between 
html xml and rss it seems to me that they are all interrelated however 
i am not sure how to integrate them. i need to implement rss for a 
website. 

please advice if there is a phone support to learn rss and ask 
questions or if there is any other means by which i can get an answer 
to my question about rss.

thanks.

***********************************************************************************
Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient 
or entity to whom they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited.

Random House Group + 44 (0) 20 7840 8400
http://www.randomhouse.co.uk
http://www.booksattransworld.co.uk 
http://www.kidsatrandomhouse.co.uk
Generic email address - enquiries@xxxxxxxxxxxxxxxxx

Name & Registered Office:
THE RANDOM HOUSE GROUP LIMITED
20 VAUXHALL BRIDGE ROAD
LONDON
SW1V 2SA
Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980
***********************************************************************************


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux