FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Synchronize Forum To An RSS Feed (Has this been done? I can't find it in the documentation.)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Synchronize Forum To An RSS Feed [message #158565 is a reply to message #158548] Tue, 03 March 2009 21:51 Go to previous messageGo to previous message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma:
Senior Member
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/35/d196178364/htdocs/huntohio/import.php on line 50

when i use that


45         foreach (array_reverse($arrFeeds) as $node) {
 46                 $m->poster_id  = $uid;
 47                 $m->ip_addr    = '0.0.0.0';
 48                 $m->reply_to   = 0;
 49                 $m->thread_id  = 0;
 50                 $m->subject    = $node->getElementsByTagName('title')->item(0)->nodeValue;
 51                 $m->body       = $node->getElementsByTagName('description')->item(0)->nodeValue;
 52 
 53                 echo "Loading article: ". $m->subject ."\n";
 54                 if ( isset($node->getElementsByTagName('pubDate')->item(0)->nodeValue)) {
 55                         $date  = $node->getElementsByTagName('pubDate')->item(0)->nodeValue;
 56                 }
 57                 if ( isset($node->getElementsByTagName('date')->item(0)->nodeValue)) {
 58                         $date  = $node->getElementsByTagName('date')->item(0)->nodeValue;

[Updated on: Wed, 04 March 2009 11:27]

Report message to a moderator

[Message index]
 
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Quotations
Next Topic: XML Aggregation Refinements
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 16:33:14 GMT 2024

Total time taken to generate the page: 0.05452 seconds