nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.

Tag This



.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need a Help With News Feeds.
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeFEED (tm)
View previous topic :: View next topic  
Author Message
zacklk
webmaster


Joined: Mar 13, 2010
Posts: 9

PostPosted: Sun May 09, 2010 12:38 am    Post subject: Need a Help With News Feeds. Reply with quote

Hi,

As i see nukeFeeds only taking Story Text from the news module. can u please tell me is it possible to show Story Text and Extended Text in news feeds. if its possible how can i do it. thanks in advance.

Best Regards,
Zack
  
Back to top
View user's profile Send private message
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 875

PostPosted: Sun May 09, 2010 10:28 am    Post subject: Reply with quote

Just to clarify, Feeds shows only the the story text to encourage the reader to visit your site for the whole story.

One way to include it is to move it from the extended text to the story text.

If you'd prefer to modify code (and I haven't tested this), could change includes/nukeSEO/content/News.php (line 25) from:
Code:
      $this->sql_col_desc          = 'hometext';

to:
Code:
      $this->sql_col_desc          = 'CONCAT(RTRIM(hometext),\ '  \', RTRIM(bodytext))';

That combines the hometext and bodytext attributes in what nukeFEED sees as a single MySQL field. By the way, that only works with MySQL (and the RTRIM stuff isn't required - just nice to have).
_________________
  
Back to top
View user's profile Send private message Visit poster's website
zacklk
PostPosted: Tue May 11, 2010 11:24 am    Post subject: Reply with quote

Code:
Just to clarify, Feeds shows only the the story text to encourage the reader to visit your site for the whole story. 


true. but i need the whole text coz i need to for a podcast.

Quote:
By the way, that only works with MySQL (and the RTRIM stuff isn't required - just nice to have).


so normally dose the feed use RTRIM to remove the specified characters?. anyway thank so much for your replay.
  
Back to top
kguske
PostPosted: Tue May 11, 2010 4:24 pm    Post subject: Reply with quote

Normally, the feed only shows the story text, untrimmed. The change I suggested will enable you to display both the story text and body text.
  
Back to top
zacklk
PostPosted: Fri May 14, 2010 10:14 pm    Post subject: Reply with quote

Hi kguske,

Sorry about the late reply. was sick. i tried the method u told me but it didnt work out. when i change the code the way u said feeds giving me a blank page. by the way im using raven nuke. not php-nuke.
  
Back to top
montego
webmaster


Joined: Dec 26, 2005
Posts: 254

PostPosted: Sat May 15, 2010 8:27 am    Post subject: Reply with quote

Looks like there might be an extra space in one of the lines. Try changing to this:

Code:


$this->sql_col_desc          = 'CONCAT(RTRIM(hometext),\'  \', RTRIM(bodytext))';


If you still get the blank page, then there might a PHP syntax issue with how you did your mods.
_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login!
  
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeFEED (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

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

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.05 Seconds