1.

Solve : small online rss reader?

Answer»

Hi there, I would like to know how you can make a small online reader that reads RSS feeds. It should be a box that reads, and displays the INFORMATION from an rss feed. The box should be like this

Code: [Select]<table border="0" cellpadding="2" cellspacing="1" width="100%" id="table4"&GT;
      <tr>
            <td valign="top" width="1%">
            <img src="picture.png" >
            <td valign="top" width="99%">
            <div style="margin-bottom: 10px; float: right; font-weight: bold;">
&NBSP;</div>
            <div style="margin-bottom: 10px;">
                  <b>
                  <a>News title</a></b></div>
            <div>
                  news DATE - news description<br>
                  <a href="www.yourdomain.com/news198">Follow link</a></div>
            </td>
      </tr>
</table>
where the following words, show the sentences between the following tags (from the RSS feed):

news title:

Code: [Select]<title> ... </title>


news date:


Code: [Select]<pubDate> ... <pubDate>

news description:


Code: [Select]<description> </description>


follow link:
Code: [Select]<link> ... </link>


Does anyone knows how to do this in php/html/javascript?

many thanx


julle

Hmm...  I remember coming across an RSS PHP parser class some time last year.  I'll see if I can FIND it again.  Not easy to do this one from scratch.>Here you go<.

>And here's another<.



Discussion

No Comment Found