|
|
|
Re: How to display latest post/topic on another page [message #16441 is a reply to message #16436] |
Fri, 30 January 2004 15:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
1) When I tried to get RDF feed from your site I got an error from the forum indicating that the RDF is disabled. You need to able it.
2) The sample script was written with PHP 4.3.0 in mind, I'll add a work-around for older PHP installs.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to display latest post/topic on another page [message #16632 is a reply to message #16622] |
Tue, 10 February 2004 16:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Here is what you need to do:
remove the &basic=1 from the URL and insert the URL into the $path_to_rdf variable at the top of the script. once that is done, running that script should output relevant HTML.
(works for me here with your rdf feed.)
FUDforum Core Developer
|
|
|
|
|
|
Re: How to display latest post/topic on another page [message #16637 is a reply to message #16636] |
Tue, 10 February 2004 17:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, I can tell you is that it works for me...
It could be that your webserver is rejecting local connection or something don't know... But I tried your RDF output with rdf_parser.php from CVS and it worked fine...
FUDforum Core Developer
|
|
|
|
Re: How to display latest post/topic on another page [message #16639 is a reply to message #16638] |
Tue, 10 February 2004 17:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I ran your script and got the following (correct) HTML output:
Elodie <a href="http://www.elodie-online.com/FUDforum2/index.php?t=rview&frm_id=6">teste</a> » <a href="http://www.elodie-online.com/FUDforum2/index.php?t=rview&th=5&goto=7">teste</a><br /><b>Author: </b><a href="http://www.elodie-online.com/FUDforum2/index.php?t=usrinfo&id=2">eddie</a><br /><b>Message:</b><br /><blockquote>
test<a href="http://www.star-academy3.org" target="_blank">http://www.star-academy3.org</a><br /> <img src="images/smiley_icons/icon_eek.gif" border=0 alt="Shocked"> <img src="images/smiley_icons/icon_surprised.gif" border=0 alt="Surprised"> <img src="images/smiley_icons/icon_smile.gif" border=0 alt="Smile"> <img src="images/smiley_icons/icon_cry.gif" border=0 alt="Crying or Very Sad"> <img src="images/smiley_icons/icon_evil.gif" border=0 alt="Evil or Very Mad"> <img src="images/smiley_icons/icon_twisted.gif" border=0 alt="Twisted Evil"> <img src="images/smiley_icons/icon_rolleyes.gif" border=0 alt="Rolling Eyes"> <img src="images/smiley_icons/icon_mad.gif" border=0 alt="Mad"> <img src="images/smiley_icons/icon_lol.gif" border=0 alt="Laughing"> <img src="images/smiley_icons/icon_lol.gif" border=0 alt="Laughing"> <img src="images/smiley_icons/icon_lol.gif" border=0 alt="Laughing"> <img src="images/smiley_icons/icon_lol.gif" border=0 alt="Laughing">
</blockquote><br />
FUDforum Core Developer
|
|
|
|
Re: How to display latest post/topic on another page [message #16642 is a reply to message #16640] |
Tue, 10 February 2004 17:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I can only guess at what could be the problem, since the script itself is fine and so is the rdf feed itself. My only guess atm is that your server maybe rejecting connections from itself. Which is why the script running on yourdomain.com cannot fetch rdf feed from yourdomain.com.
FUDforum Core Developer
|
|
|
|
|