Monday, 24 January 2011

Getting familiar with RSS

Trying to get familiar with RSS the code is generally laid out with a <title> a <link> and a <description>, the later versions of RSS also include a date and time (which will be key for my project in terms of grabbing data):


'<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>
    <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>'


Also I have found the RSS feed for my Twitter: 

https://twitter.com/statuses/user_timeline/64679821.rss, however the Javascript RSS reader requires the file to be read as a .xml file, and the only way I can convert it to an XML file is by saving it, in which case it is not longer a dynamic piece of data as it only takes the RSS feed from the data that I copied it into a local .xml - this will have to be resolved. 


Also due to the limitations of Flickr in terms of grabbing the RSS feed I will need a photo uploading service that allows more control, as Flickr only let you use external Plug-ins to grab their data, whereas I just need the 'raw' RSS feed, with the image links for full control.


Also something which was mentioned Is that for the final project It will need to be set up on server side using PHP (so that the RSS Reader function grabs the data on the external server rather than on the browser), as both Firefox and Chrome for security reasons will not allow client-side/browser to load that function. 

No comments:

Post a Comment