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

Home » FUDforum Development » Plugins and Code Hacks » RSS or Atom feed link in XML Aggregation
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
RSS or Atom feed link in XML Aggregation [message #160874] Wed, 04 November 2009 18:59 Go to next message
byron is currently offline  byron
Messages: 9
Registered: October 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I tweaked xmlagg.php to include a link to the full entry in the body of the topic post:

if (isset($node->getElementsByTagName('link')->item(0)->nodeValue)) {
$body = $body . '<br><br><a href="' . $node->getElementsByTagName('link')->it\
em(0)->nodeValue . '">' . $node->getElementsByTagName('link')->item(0)->nodeValue . '</a>';
}


-Byron
Re: RSS or Atom feed link in XML Aggregation [message #160879 is a reply to message #160874] Thu, 05 November 2009 02:03 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Interesting, why don't you use the Forum Signature?

Quote:
A string of text to append to the end of every aggregated article. Use {link} to refer to the article's URL.
Re: RSS or Atom feed link in XML Aggregation [message #160883 is a reply to message #160879] Thu, 05 November 2009 10:21 Go to previous messageGo to next message
byron is currently offline  byron
Messages: 9
Registered: October 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I can't find a Forum Signature option anywhere.

Are you sure you're talking about XML Aggregation of an RSS feed into Forum Topics? I can't find any reference to reading the "link" nodes in xmlagg.php.

-Byron
Re: RSS or Atom feed link in XML Aggregation [message #160884 is a reply to message #160883] Thu, 05 November 2009 10:25 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Please upgrade to the latest 3.0.0 release (download from SourceForge).

Documentation is here: http://cvs.prohost.org/index.php/XML_Aggregation#Forum_Signature
Re: RSS or Atom feed link in XML Aggregation [message #160888 is a reply to message #160884] Thu, 05 November 2009 10:43 Go to previous message
byron is currently offline  byron
Messages: 9
Registered: October 2009
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks, I upgraded from 3.0.0RC1 (which was painless) and now have the option.

-Byron
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: NNTP improvements
Next Topic: Embedded Tinypic Uploader
Goto Forum:
  

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

Current Time: Wed Oct 18 00:03:23 EDT 2017

Total time taken to generate the page: 0.00661 seconds