I have used the NewsShow Wizard to add a news show to the website of
the Virginia Institute of Marine Science:
http://www.vims.edu/newsandevents/vimsinthenews/google_vims_feed.php
I'd like to change the title to "VIMS" rather than the current title,
which appears to be taken from the first query term, which is
"Virginia Institute of Marine Science."
I have figured out how to do this in the Ajax Code Playground, but
can't figure out how to translate this functionality into the iframe
on my website.\
/*
* The Google NewsShow embeds a news slideshow on your page, letting
your users see headlines
* and previews of Google News Search results, based on queries that
you've selected.
*
* This sample will show how to specify queries for the News Show.
* http://code.google.com/apis/ajaxsearch/documentation/newsshow.html
*/
google.load("elements", "1", {packages : ["newsshow"]});
function onLoad() {
// Set the queries to USC Football and NHL
var options = {
"queryList" : [
{
"title" : "VIMS",
"q" : "Virginia Institute of Marine Science"
},
{
"title" : "VIMS",
"q" : "Virginia Institute of Marine Sciences"
},
{
"title" : "VIMS",
"q" : "Virginia Institute for Marine Science"
},
{
"title" : "VIMS",
"q" : "Virginia Institute for Marine Sciences"
}
]
}
var content = document.getElementById('content');
var newsShow = new google.elements.NewsShow(content, options);
}
google.setOnLoadCallback(onLoad);