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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
icon14.gif  Synchronize Forum To An RSS Feed [message #158427] Wed, 25 February 2009 06:47 Go to next message
jeffrey is currently offline  jeffrey   United States
Messages: 36
Registered: June 2006
Location: Atlanta, GA
Karma: 0
Member
add to buddy list
ignore all messages by this user

Is synchornization of your forum to an RSS Feed a good idea?[ 3 votes ]
1.
2.
3.
 

I would like to add another forum to my http://itdiscuss.org forum that synchronize with mailing lists, but this new forum I want to synchronize with an RSS Aggregator and make a forum out of the RSS aggregate.

I looked in the documentation for synchronization of a forum with an RSS feed and didn't see anything.

Is there a way to sync your forum with an RSS feed now? If not it seems like a great idea to me, and I hope you add it to FUDForum.

Very Happy

Jeffrey Thompson
jthompsonic(at)gmail(dot)com
http://itdiscuss.org

[Updated on: Wed, 25 February 2009 06:48]

Report message to a moderator

Re: Synchronize Forum To An RSS Feed [message #158432 is a reply to message #158427] Wed, 25 February 2009 12:38 Go to previous messageGo to next message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
It's a great idea. I'm willing to help you to implement it, but will most definitely not do it all by myself. For example, if you contribute the RSS extraction and parsing code, I will add the code to insert the posts into a forum.

Are you game?
Re: Synchronize Forum To An RSS Feed [message #158548 is a reply to message #158432] Tue, 03 March 2009 05:44 Go to previous messageGo to next message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Here is a start - http://cvs.prohost.org/index.php/Importig_RSS_feeds
Re: Synchronize Forum To An RSS Feed [message #158565 is a reply to message #158548] Tue, 03 March 2009 16:51 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
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 06:27]

Report message to a moderator

Re: Synchronize Forum To An RSS Feed [message #158568 is a reply to message #158565] Wed, 04 March 2009 00:14 Go to previous messageGo to next message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You haven't posted the line number. Anyway, you can just fix it and update the wiki page.
Re: Synchronize Forum To An RSS Feed [message #158570 is a reply to message #158568] Wed, 04 March 2009 06:27 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
its line 50, i'd fix it if i knew how Sad
Re: Synchronize Forum To An RSS Feed [message #158572 is a reply to message #158570] Wed, 04 March 2009 09:59 Go to previous messageGo to next message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I don't see any obvious errors either. Maybe your feed doesn't have a "description" field.
Re: Synchronize Forum To An RSS Feed [message #158573 is a reply to message #158572] Wed, 04 March 2009 10:11 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
this is the feed: view-source:http://www.dnr.state.oh.us/Home/News/NewsReleaseArchives/tabid/ 19075/rssid/32/Default.aspx

here is the code from it:
<title>Statewide Wildlife News</title> 
    <description>Statewide Wildlife News</description> 
    <link>http://www.dnr.state.oh.us/Home/News/NewsReleaseArchives/tabid/19075/BlogId/32/Default.aspx</link> 
    <language>en-US</language> 
    <managingEditor>lindsay(dot)deering(at)dnr(dot)state(dot)oh(dot)us</managingEditor> 
    <webMaster>LauraT(at)distinctivesolutions(dot)net</webMaster> 
    <pubDate>Wed, 04 Mar 2009 10:09:17 GMT</pubDate> 
    <lastBuildDate>Wed, 04 Mar 2009 10:09:17 GMT</lastBuildDate> 
    <docs>http://backend.userland.com/rss</docs> 
    <generator>Blog RSS Generator Version 3.4.0.39853</generator> 
    <item> 


Re: Synchronize Forum To An RSS Feed [message #158574 is a reply to message #158573] Wed, 04 March 2009 10:23 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
looks like php problem with chaining, got a version thats compatible with php 4.4.9

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

Report message to a moderator

Re: Synchronize Forum To An RSS Feed [message #158575 is a reply to message #158574] Wed, 04 March 2009 12:18 Go to previous messageGo to next message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I can load your feed without any errors. My PHP version is 5.2.8.
Re: Synchronize Forum To An RSS Feed [message #158576 is a reply to message #158427] Wed, 04 March 2009 12:55 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
got a version thats compatible with php 4.4.9???
Re: Synchronize Forum To An RSS Feed [message #158578 is a reply to message #158576] Wed, 04 March 2009 14:03 Go to previous messageGo to next message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Nope. PHP4 is desupported and not worth the time and effort that would be required to retrofit a solution.
Re: Synchronize Forum To An RSS Feed [message #161429 is a reply to message #158578] Wed, 23 December 2009 00:00 Go to previous message
naudefj is currently online  naudefj   South Africa
Messages: 3631
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
For future reference:

This feature is now available with FUDforum 3.0.0. See documentation at XML Aggregation.

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Quotations
Next Topic: XML Aggregation Refinements
Goto Forum:
  

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

Current Time: Mon Dec 11 10:27:50 EST 2017

Total time taken to generate the page: 0.00802 seconds