DragonflyCMS Projects > Syndicated News Feeds > [Release] Syndicated News Feeds > Community Forums > Phoenix Netology
Forum Index > Management > Syndicated News Feeds

[Release] Syndicated News Feeds Reply to topic


Alex's nifty CPG-Nuke module has now been converted to DragonflyCMS 9.x

This module is designed to manage RSS/XML feeds. With it, you can:
  • Display multiple feeds on one page.
  • Create blocks with multiple feeds (see example blocks)
  • List your news feeds
For each feed, you can define:
  • The feed's Name and Description.
  • The # of stories you'd like to retain for each feed.
  • The refresh time.
  • A maximum number of "tries" for each feed before the feed becomes automatically disabled.
This module doesn't bog down your main page as all feeds are cached in the database.

If you use the "Maximum # of Tries before De-Activation" option for a feed, feeds will automatically disable themselves when they are down for an extended period (when the # of tries exceeds the maximum).

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


👏 Great front page block.

I like the 3 side by side table layout and fixes a front page issue I have had for a while.

Im just trying to find where we can alter the code so the links open in a new browser window.

In case you know what to change before I figure this help How please?

thanks

Please enter your server specs in your user profile! 😢


It was coded to xhtml 1.1 strict, which means that target="_blank" is no longer accepted.
However, this will open individual titles in a new window - line 63 of the center block,$content .= '<p class="genmed" style="text-align:center; margin-bottom:0;"> <a href="'.$link.'" target="_blank"><b>'.$row['site_title'].'</b></a> </p><hr style="width:75%;text-align:center;" />';Note the addition of target="_blank"

It was also coded tableless, so I'm still toying with stability of the layout.

[edit] above code opens "titles" in new window, not links as previously stated

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

Last edited by Phoenix on Sat Jan 20, 2007 8:40 pm; edited 2 times in total


Thankyou

hmmm ok I see what you have done (edited from orig post my mistake)

I changed line 66 and now works
$content .= '<b>•</b> <a href="'.$row['news_url'].'" target="_new">'.$row['news_title'].' </a><br />';

add also target="_new"

This opens in a new page in browser.

😄

Please enter your server specs in your user profile! 😢

Last edited by mobileguy on Sat Jan 20, 2007 8:36 pm; edited 1 time in total


hmm, sorry about that - code I gave you was for the title, not the links Embarassed

but you obviously got the drift Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thank you I appreciate you quick reply on that 😄

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: