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 :: Polls :: Message Navigator
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 23:59 Go to next message
byron is currently offline  byron
Messages: 9
Registered: October 2009
Karma: 0
Junior Member
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 07:03 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 15:21 Go to previous messageGo to next message
byron is currently offline  byron
Messages: 9
Registered: October 2009
Karma: 0
Junior Member
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 15:25 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 15:43 Go to previous message
byron is currently offline  byron
Messages: 9
Registered: October 2009
Karma: 0
Junior Member
Thanks, I upgraded from 3.0.0RC1 (which was painless) and now have the option.

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

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

Current Time: Thu Nov 28 14:51:57 GMT 2024

Total time taken to generate the page: 0.02321 seconds