Google Answers Logo
View Question
 
Q: Displaying RSS 1.0 ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Displaying RSS 1.0
Category: Computers > Programming
Asked by: hellscream-ga
List Price: $2.00
Posted: 29 Nov 2002 19:44 PST
Expires: 29 Dec 2002 19:44 PST
Question ID: 116615
using a basic html doc (i have my own html doc i want to do this in,
but i thougt this would simplify the quesion):
<html>
<head>
  <title></title>
</head>
<body>

</body>
</html>
how do i display this news feed (rss 1.0):
  <?xml version="1.0" encoding="ISO-8859-1" ?> 
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
- <channel rdf:about="http://www.bluesnews.com">
  <title>Blue's News</title> 
  <link>http://www.bluesnews.com</link> 
  <description>Up to the minute game news, hot tips, and the latest
updates and patches.</description>
  <dc:language>en</dc:language> 
  <dc:rights>Copyright 2002, Stephen Heaslip. All rights
reserved.</dc:rights>
  <dc:publisher>news@bluesnews.com</dc:publisher> 
  <dc:creator>furn@base6.com (James Furness)</dc:creator> 
- <items>
- <rdf:Seq>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38855"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38853"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38852"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38851"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38850"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38849"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38848"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38847"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38846"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38845"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38844"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38843"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38842"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38841"
/>
  <rdf:li rdf:resource="http://www.bluesnews.com/cgi-bin/viewpost.pl/38840"
/>
  </rdf:Seq>
  </items>
  <image rdf:resource="http://www.bluesnews.com/images/new/blue_button.gif"
/>
  <textinput rdf:resource="http://www.bluesnews.com/cgi-bin/blammo.pl"
/>
  </channel>
- <image rdf:about="http://www.bluesnews.com/images/new/blue_button.gif">
  <title>Blue's News!</title> 
  <url>http://www.bluesnews.com/images/new/blue_button.gif</url> 
  <link>http://www.bluesnews.com</link> 
  </image>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38855">
  <title>Neocron Q&A</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38855</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38853">
  <title>Dragon Empires Diary</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38853</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38852">
  <title>Shrouded Isles Euro Date Unshrouded</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38852</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38851">
  <title>Fire Warrior Unveiled</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38851</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38850">
  <title>Platoon Patch</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38850</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38849">
  <title>German Haegemonia Patch</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38849</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38848">
  <title>Morning Screenshots</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38848</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38847">
  <title>Consolidation</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38847</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38846">
  <title>Tech Bits</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38846</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38845">
  <title>War of Infamy Ghost Recon Mod</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38845</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38844">
  <title>New ZDaemon</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38844</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38843">
  <title>The Mod Squads</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38843</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38842">
  <title>Game Reviews</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38842</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38841">
  <title>Hardware Reviews</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38841</link> 
  </item>
- <item rdf:about="http://www.bluesnews.com/cgi-bin/viewpost.pl/38840">
  <title>Out of the Blue</title> 
  <link>http://www.bluesnews.com/cgi-bin/viewpost.pl/38840</link> 
  </item>
- <textinput rdf:about="http://www.bluesnews.com/cgi-bin/blammo.pl">
  <title>Search!</title> 
  <description>Search Blue's News</description> 
  <name>rdfsearch</name> 
  <link>http://www.bluesnews.com/cgi-bin/blammo.pl</link> 
  </textinput>
  </rdf:RDF>

im stumped, what do ya think?
Answer  
Subject: Re: Displaying RSS 1.0
Answered By: theta-ga on 30 Nov 2002 10:11 PST
Rated:5 out of 5 stars
 
Hi hellscream-ga,
   There are a number of options you can utilize to display RSS feeds
on your page. Here they are :
 - USE XML
   =======
   Check out these articles that tell you how to display and format
RSS feeds using XML.
   - How To Display XML Data in your HTML Documents
     ( http://www.creativyst.com/Doc/Articles/XMLhtmlT/XMLhtmlT.htm )
     Describes a simple, easy-to-implement technique for displaying
XML data on web pages without resorting to server-side programming.
Note however that the technique discussed only works in Microsoft
Internet Explorer.

   - XML Transformations with CSS and DOM
     ( http://developer.apple.com/internet/css/xmltransformations.html
)
     Shows how you can display and format contents of a RSS feed using
XML and CSS. Code for Mozilla 1.0

 - USE SERVER SIDE SCRIPTING
   =========================
   You can do this with the help of a variety of open-source tools
written in Perl, Python, PHP and ASP. The parser reads a stream of XML
text, identifies the opening and closing tags, finds the text enclosed
in each tag, and creates handles to work with the parsed information.
Once parsed, this information can be incorporated into dynamically
generated pages.
   - Brand Ben Brown Software : RSS Monkey
     ( http://brandbenbrown.com/display.html/rssmonkey )
      Perl script that allows you to parse RSS feeds and display them
as per the provided HTML temlate.

   - PullRSS Perl Script
     ( http://www.webreference.com/scripts/ )
     Another template based RSS to HTML converter.
 
   - HotScripts.com : Search terms : rss feed
     ( http://www.hotscripts.com/search/?bool=AND&query=rss+feed&category=all
)
     List of various free scripts you can use to parse and display RSS
feeds.

   - Zend : Displaying an RSS feed with PHP
     ( http://www.zend.com/zend/spotlight/code-gallery-wade6.php )
      This article takes a look at the basic structure of a RSS
document and then shows you how to use PHP to display that document on
your site.
   
   - IBM DeveloperWorks :An introduction to RSS news feeds 
     ( http://www-106.ibm.com/developerworks/library/w-rss.html?dwzone=web
)
      This article includes sample code that demonstrates elements of
an RSS file, plus a Perl example using the module XML::RSS

 - USE JAVA or other RSS parsing servers
   =====================================
  If for some reason, you cannot employ server side scripting, you are
left with no choice but to use a JAVA applet on your page, or to let
some other server parse the RSS file and provide you with the HTML
translation.
    - RSSApplet 1.2 Java Applet
      ( http://webreference.com/xml/tools/rssapplet.html )
      RSSApplet is a Java applet that displays news headlines stored
in the Rich Site Summary (RSS) XML format.

  You can also try out these external services which transform the RSS
channel into HTML for you :
    - Wytheville Community College News Center
      ( http://www.wc.cc.va.us/services/news/ )
   
    - UKOLN RSS-xpress Lite
      ( http://rssxpress.ukoln.ac.uk/lite/include/ )

 You just have to link the html code they produce into your page,
using the Javascript code they provide.
========================

 I hope one of the solutions given above will solve your problem.
 If you need any clarifications, just ask!
 :)



=========================
RELATED LINKS
    - RSS Info : News and information on the RSS format
      ( http://blogspace.com/rss/tools )

    - GotzeLinked : RSS
      ( http://slashdemocracy.org/links/XML/Syndication/RSS/ )

    - ActiveServerPages.org : Tips and Tutorials: XML and ASP
      ( http://www.activeserverpage.org/directory.asp?cat=130 )

Google Search terms Used :
    how to display rss feed in html file
    how to display rss feed in html file tutorial
    java applet display rss feed in html file
hellscream-ga rated this answer:5 out of 5 stars
Thanks so much, you've gone above and beyond the call of duty,
excellent and stout answer.  A lot of info on the subject. thank you

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy