Mayhem wrote:
[color=blue]
> I would like to integrate an RSS newsfeed into my website but can't
> seem to figure out how.
> Has anyone got any pointers for me?
>
> E.[/color]
Yeah, search http://google.com and http://php.net for "PHP XML" or "PHP RSS
PARSING". There are dozens of sites that will tell you how to do this
already out there.
Mayhem wrote:
[color=blue]
> I would like to integrate an RSS newsfeed into my website but can't
> seem to figure out how.
> Has anyone got any pointers for me?
>
> E.[/color]
use XSLT.
You will need to write an XSL template to convert the raw RSS formatted
XML into whatever HTML you want.
On Thu, 22 Apr 2004 23:15:41 +0200, Mayhem in comp.lang.php wrote:[color=blue]
>I would like to integrate an RSS newsfeed into my website but can't
>seem to figure out how.
>Has anyone got any pointers for me?[/color]
I had the same issue a few weeks ago. Using Google, I found a snippet which I
adapted to my needs. Here's something you might be able to work with;
<br />
<h2>Latest Headlines From Newsforge</h2>
<?php
/* declare different RSS feed. Since the code to parse source is
* already listed, all one needs to do is list the new source as
* follows*/
parseRDF("http://www.newsforge.c om/newsvac.rss");
Replace the last line, with whatever source you wish to parse.
There are some varations out there, were one can cache the file in a dbase, so
that each time teh page is loaded it doesn't hit the remote server everytime.
But, I'll leave that as an exercise for you to find. ;)
HTH.
--
S.Allen
-------------------------------------------
barnyard Sunday Apr 25 2004 11:10:02 PM EDT
-------------------------------------------
Ver o que é justo e não agir com justiça é a maior das covardias
humanas.
-- Confúcio
In article <slrnc8ovt9.g0s .M@barnyard.swe etpig.dyndns.or g>, marathon wrote:[color=blue]
> On Thu, 22 Apr 2004 23:15:41 +0200, Mayhem in comp.lang.php wrote:[color=green]
>>I would like to integrate an RSS newsfeed into my website but can't
>>seem to figure out how.
>>Has anyone got any pointers for me?[/color]
>
> I had the same issue a few weeks ago. Using Google, I found a snippet which I
> adapted to my needs. Here's something you might be able to work with;[/color]
Comment