26 messages in com.googlegroups.sweetcron[Sweetcron] Re: Different Looks for D...
FromSent OnAttachments
Cory O'BrienNov 1, 2008 3:27 pm 
MilanNov 1, 2008 4:29 pm 
ChanNov 6, 2008 4:40 pm 
chrisskeltonNov 6, 2008 4:59 pm 
onefish2Nov 6, 2008 10:04 pm 
yongfookNov 6, 2008 10:22 pm 
onefish2Nov 7, 2008 6:21 am 
yongfookNov 7, 2008 6:40 am 
onefish2Nov 7, 2008 6:58 am 
yongfookNov 7, 2008 7:03 am 
onefish2Nov 7, 2008 7:16 am 
ChanNov 8, 2008 7:59 pm 
yongfookNov 8, 2008 8:49 pm 
Jeroen SmeetsNov 9, 2008 2:32 am 
docfloNov 9, 2008 3:10 am 
xzolianNov 9, 2008 6:30 am 
Jeroen SmeetsNov 9, 2008 10:35 am 
Jeroen SmeetsNov 9, 2008 11:42 am 
ChanNov 9, 2008 6:11 pm 
yongfookNov 9, 2008 6:24 pm 
ChanNov 10, 2008 5:37 pm 
TomakunDec 9, 2008 10:19 pm 
Jon Yongfook CockleDec 10, 2008 2:47 am 
TomakunDec 10, 2008 5:22 am 
TomakunDec 18, 2008 6:17 pm 
Jon Yongfook CockleDec 19, 2008 12:43 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Sweetcron] Re: Different Looks for Different Feeds from Same Site?Actions...
From:Tomakun (toma@gmail.com)
Date:Dec 10, 2008 5:22:18 am
List:com.googlegroups.sweetcron

Thanks, but could you be a little more specific?

On 10 déc, 19:47, "Jon Yongfook Cockle" <yong@gmail.com> wrote:

you're obviously slotting that code in where there is no $item object yet.  it needs to go somewhere inside the foreach() loop.

On Wed, Dec 10, 2008 at 3:19 PM, Tomakun <toma@gmail.com> wrote:

Sorry Yongfook or anybody, can you help me? I'd like to display a different message for my flickr favorites feed, but can't get this to work.

Here my array :

<?php if ($item->get_feed_url() == 'http://api.flickr.com/services/feeds/ photos_faves.gne?nsid=31066102@N07') { $toma['flickr.com'] = 'Got a new favorite on'; } else { $toma['flickr.com'] = 'I uploaded a picture on'; } $toma['twitter.com'] = 'I twitted on'; $toma['tomakun.com'] = 'New blog post at'; ?>

and the error I get : Fatal error: Call to a member function get_feed_url() on a non-object in /data/sitewebs/tomakun/system/application/views/themes/tomakun/ _activity_feed.php on line 4

Line 4 corresponds to this line: if ($item->get_feed_url() == 'http://api.flickr.com/services/feeds/ photos_faves.gne?nsid=31066102@N07') {

Thanks for your help.