I see what you mean Jinx. Yes, like as ass I was trying to put the script in a new page, like creating a regular page. It's the only way I could see to put it on that submenu. Im trying to figure out integrating it into the template now. If it causes too much headache I'll just hire someone. But I like to try stuff out myself first and usually it turns out well. I wish that I had time to educate myself formally in development but selling things is a full time bus.
Thanks for the help Tony On Apr 5, 2:16 pm, "Vision Jinx (Guru)" <[email protected]> wrote: > Hello Tony, > > All I did was just right click and "View Source" when I was on your > page to have a look at the source code. That was what I seen in your > source code when I checked. > > I had a quick peek again and while the extra head tags and such seem > better I still see your code is getting reformatted it looks like. > > What I mean by that is with some of these Blog Editors (Like Blogger) > is they have a tenancy to modify/reformat code when adding them. This > seems to be what is happening in your case. > > Some of the potential issues I am seeing is > > stacked : true, > numResults : ‘20′, <!-- You can edit this to get > more or > less results --> > horizontal : false, > title : “BUSINESS NEWS TODAY” > }</p> > <p> new GFdynamicFeedControl(feeds, ‘feed-control’, > options); > } > // Load the feeds API and set the onload callback. > google.load(’feeds’, ‘1′); > google.setOnLoadCallback(LoadDynamicFeedControl); > > As you can see in this snippet is your quotes and such are getting > modified and I believe this is what is causing your issue plus the > paragraph tags (<p>) within your javascript is problematic also. > > Just a question though, are you trying to add this code as a blog post > or save it as part of your blog template? > > Most editors wont let you add code as a blog post and you may need to > try to add it as part of your blog template. If it is still happening > when you add it as part of your template then you may need to save the > javascript in a separate file and load it via a script tag > > <script src="my_google_api.js" type="text/javascript"></script> > (using the full path to your script) > > See if that helps you at all. :) > > Best regards, > Vision Jinx > > On Apr 5, 10:53 am, TonyS <[email protected]> wrote: > > > I don't see all that you describe. As I said above, I'm a marketer > > not a coder. But all I did is paste the same code into the page > > that I used in an .html and .php page. It should work in a blog as > > well. > > > On Apr 4, 9:34 pm, "Vision Jinx (Guru)" <[email protected]> wrote: > > > > Hi, > > > > Just view source on your page and you will see the problem. It looks > > > like your code is getting reformatted and there are a bunch of tags > > > that should not be there (like extra docTypes, head, meta and body > > > tags etc) and nesting issues also. > > > > <p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 > > > Transitional//EN" > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /> > > > <html xmlns="http://www.w3.org/1999/xhtml"><br /> > > > > <head><br /> > > > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></ > > > p> > > > <p></head></p> > > > <p><body></p> > > > <table width="500" border="1" cellspacing="0" cellpadding="5"> > > > <tr> > > > </tr> > > > <tr> > > > <td> > > > <!-- ++Begin Dynamic Feed Wizard Generated Code++ --><br /> > > > > <!--<br /> > > > // Created with a Google AJAX Search and Feed Wizard<br /> > > > //http://code.google.com/apis/ajaxsearch/wizards.html<br /> > > > --></p> > > > <p> <!--<br /> > > > // The Following div element will end up holding the actual feed > > > control.<br /> > > > // You can place this anywhere on your page.<br /> > > > --></p> > > > <div id="feed-control"> > > > <span style="color:#676767;font-size:11px;margin:10px;padding: > > > 4px;">Loading…</span> > > > > </div> > > > <p> <!-- Google Ajax Api<br /> > > > --><br /> > > > <script src="http://www.google.com/jsapi? > > > key=ABQIAAAA0Fcp3gZisKZj3G4PJJE2hBS6-ahtgZ8zSeuQCOTgq- > > > gc9vCTghQvtwbpgbtBGOvfhCQDZ5CaSiPG1A" > > > type="text/javascript"></script></p> > > > <p> <!-- Dynamic Feed Control and Stylesheet --><br /> > > > <script src="http://www.google.com/uds/solutions/dynamicfeed/ > > > gfdynamicfeedcontrol.js" > > > type="text/javascript"></script></p> > > > <style type="text/css"> > > > @import url("http://www.google.com/uds/solutions/dynamicfeed/ > > > gfdynamicfeedcontrol.css"); > > > </style> > > > <p> <script type="text/javascript"> > > > function LoadDynamicFeedControl() { > > > var feeds = [ {title: '____________', url: 'http:// > > > rss.news.yahoo.com/rss/mostviewedbs' }]; > > > var options = { > > > stacked : true, > > > numResults : ‘20′, <!-- You can edit this to > > > get more or > > > less results --> > > > horizontal : false, > > > title : “BUSINESS NEWS TODAY” > > > }</p> > > > <p> new GFdynamicFeedControl(feeds, ‘feed-control’, > > > options); > > > } > > > // Load the feeds API and set the onload callback. > > > google.load(’feeds’, ‘1′); > > > google.setOnLoadCallback(LoadDynamicFeedControl); > > > </script><br /> > > > > <!-- ++End Dynamic Feed Control Wizard Generated Code++ --></p> > > > </td> > > > </tr> > > > </table> > > > <p></body><br /> > > > </html></p> > > > > Regards, > > > Vision Jinx > > > > On Apr 4, 7:23 pm, TonyS <[email protected]> wrote: > > > > > Hey Jeremy, > > > > Thanks for the reply. > > > > > I've tried to run this same script and feed on an .HTML page and it > > > > works just fine. > > > > > Also, here is the script running fine on a similar wordpress theme > > > > (It's not mine) :http://www.musicclub.com/top-25/top-25-new-releses/ > > > > > Here is a failed test page on my personal blog, its a separate page > > > > named "rss test":http://tonyharrelson.com/blog/570/ > > > > > The only code that I added to create the new blog page is here (the > > > > table is mine, I hate div) : > > > > > <table border="1" cellspacing="0" cellpadding="5" width="500"> > > > > <tbody> > > > > <tr></tr> > > > > <tr> > > > > <td><!-- ++Begin Dynamic Feed Wizard Generated Code++ --> > > > > <!-- > > > > // Created with a Google AJAX Search and Feed Wizard > > > > //http://code.google.com/apis/ajaxsearch/wizards.html > > > > --> > > > > > <!-- > > > > // The Following div element will end up holding the actual feed > > > > control. > > > > // You can place this anywhere on your page. > > > > --> > > > > <div id="feed-control"><span style="color:#676767;font-size: > > > > 11px;margin:10px;padding:4px;">Loading...</span></div> > > > > <!-- Google Ajax Api > > > > --> > > > > <script src="http://www.google.com/jsapi? > > > > key=ABQIAAAA0Fcp3gZisKZj3G4PJJE2hBS6-ahtgZ8zSeuQCOTgq- > > > > gc9vCTghQvtwbpgbtBGOvfhCQDZ5CaSiPG1A" type="text/javascript"></script> > > > > > <!-- Dynamic Feed Control and Stylesheet --> > > > > <script src="http://www.google.com/uds/solutions/dynamicfeed/ > > > > gfdynamicfeedcontrol.js" type="text/javascript"></script> > > > > > <!-- @import url("http://www.google.com/uds/solutions/dynamicfeed/ > > > > gfdynamicfeedcontrol.css"); --><script type="text/javascript"><!-- > > > > function LoadDynamicFeedControl() { > > > > var feeds = [ {title: '____________', url: 'http:// > > > > rss.news.yahoo.com/rss/mostviewedbs' }]; > > > > var options = { > > > > stacked : true, > > > > numResults : '20', <! You can edit this to get more or > > > > less results > > > > --> > > > > horizontal : false, > > > > title : "BUSINESS NEWS TODAY" > > > > }</script> > > > > > new GFdynamicFeedControl(feeds, 'feed-control', options); } // > > > > Load the feeds API and set the onload callback. google.load > > > > ('feeds', '1'); google.setOnLoadCallback > > > > (LoadDynamicFeedControl); // --> > > > > <!-- ++End Dynamic Feed Control Wizard Generated Code++ --></td> > > > > </tr> > > > > </tbody></table> > > > > > Thanks in advance for your help on this. > > > > Tony > > > > tony.harrelsonSPAM*FREEmchsi.com > > > > > On Apr 4, 3:44 pm, Jeremy Geerdes <[email protected]> wrote: > > > > > > Can you provide a link to the page where you're trying to do this? > > > > > It's tough to diagnose he problem without seeing the code in action. > > > > > > 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://jgee... > > > > > [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 Apr 4, 2009, at 8:50 AM, TonyS wrote: > > > > > > > Hi everybody, > > > > > > > I'm trying to use the code to display an rss feed on a blog page. > > > > > > All > > > > > > I'm getting is the "loading...". > > > > > > Nothing else will show up. Im a marketer not a developer but can > > > > > > usually figure things out. This is a little frustrating. Anyone help > > > > > > me out here? > > > > > > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
