Thank you Jeremy (and Vision Jinx) for the help! Worked like a charm. This was the standard presentation of a Twitter feed and that page happens to be my own.
On Mar 27, 5:18 am, Jeremy Geerdes <[email protected]> wrote: > As Vision Jinx said, there is no real facility for this in the API. > However, the GFdynamicFeedControl does include a way to do what you're > trying to do. Specifically, in the options object that you pass as the > third argument to the constructor, include a feedLoadCallback > function, as below: > > var options = { > stacked : false, > horizontal : false, > title : "", > feedLoadCallback : function(result){ > var entries = result.feed.entries; > for(var i=0;i<entries.length;i++){ > entries[i].title = entries[i].title.replace(/^The Liberty > Tree: /,'') > } > } > > } > > new GFdynamicFeedControl(feeds, 'feed-control', options); > > That said, if you're going to do this, you need to make sure that you > have the appropriate rights to the content of that feed. Namely, you > need to ensure that you have permission to alter the entry titles as > you are proposing. Content provided through the Feeds API is still > subject to the rights and terms of the content owner. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com > [email protected] > > Unless otherwise noted, any price quotes contained within this > communication are given in US dollars. > > If you're in the Des Moines, IA, area, check out Debra Heights > Wesleyan Church! > > And check out my blog, Adventures in Web Development, > athttp://jgeerdes.blogspot.com > ! > > On Mar 27, 2009, at 3:47 AM, Vision Jinx (Guru) wrote: > > > > > Hi, > > > There is no real control in the API to do that, you would either need > > to download the scripts and manually modify the code or make your own > > script using the RESTful part of the API. > > > The other concern is the TOS and if you are not the content owner I > > believe the TOS states you would need to seek permission from the > > content owner to do so. > > > I do agree that the feed seems like a bit of excessive self promotion. > > > Cheers! > > Vision Jinx > > > On Mar 27, 2:32 am, Patrick <[email protected]> wrote: > >> Anybody have an idea on this? > > >> On Mar 25, 5:03 pm, Patrick <[email protected]> wrote: > > >>> Hello. All help appreciated for a person of limited technical > >>> ability... > > >>> I used the Dynamic Feed Control Wizard to display a Twitter Feed > >>> on my > >>> blog. I'd like to strip the Twitter Page-name out of the title that > >>> is displayed since it is quite repetitious when presented as a > >>> vertical list. > > >>> Am following the posting instructions not to post code so my blog is > >>> here with the code attempt in the lower left sidebar: > > >>>http://food.rightpundits.com/ > > >>> So I want to strip out "The Liberty Tree: " from each line. > >>> Already > >>> searched the documentation, examples, and this group. > > >>> Many thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
