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
-~----------~----~----~----~------~----~------~--~---