Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » DragonflyCMS Projects » Syndicated News Feeds » [Release] Syndicated News Feeds
[Release] Syndicated News Feeds
For managing multiple RSS/XML feeds.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Management » Syndicated News Feeds

View previous topic :: View next topic  
Author Message
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Wed Jan 03, 2007 7:51 pm
Post subject: [Release] Syndicated News Feeds

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).


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
mobileguy
New Poster
New Poster

Offline Offline
Joined: Apr 08, 2005
Posts: 3
Location: New Zealand
PostPosted: Sat Jan 20, 2007 11:08 am
Post subject: Re: [Release] Syndicated News Feeds

Clapping 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


mobileguy please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Sat Jan 20, 2007 11:38 am
Post subject: Re: [Release] Syndicated News Feeds

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,
PHP:
$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


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)


Last edited by Phoenix on Sat Jan 20, 2007 12:40 pm; edited 2 times in total
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
mobileguy
New Poster
New Poster

Offline Offline
Joined: Apr 08, 2005
Posts: 3
Location: New Zealand
PostPosted: Sat Jan 20, 2007 12:26 pm
Post subject: Re: [Release] Syndicated News Feeds

Thankyou

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

I changed line 66 and now works
Code::
$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.

Smile


mobileguy please enter your server specs in your user profile! Crying or Very sad


Last edited by mobileguy on Sat Jan 20, 2007 12:36 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Sat Jan 20, 2007 12:31 pm
Post subject: Re: [Release] Syndicated News Feeds

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

but you obviously got the drift Smile


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
mobileguy
New Poster
New Poster

Offline Offline
Joined: Apr 08, 2005
Posts: 3
Location: New Zealand
PostPosted: Sat Jan 20, 2007 12:33 pm
Post subject: Re: [Release] Syndicated News Feeds

Thank you I appreciate you quick reply on that Smile


mobileguy please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Management » Syndicated News Feeds
Page 1 of 1
All times are GMT + 9.5 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum