Extension talk:Google News Bar

From MediaWiki.org
Jump to navigation Jump to search

Enhancement Requests[edit]

Adapt for Google Blog Bar?[edit]

Does someone know how to change the Extension to use the Google Blog Bar ? Thanks --84.154.203.228 09:30, 10 May 2007 (UTC)

I've added the Google Blog Bar. Cheers --FlyerWiki 14:46, 2 September 2008 (UTC)

Google AJAX Search API[edit]

Can this be modified to display the Google Video Bar?

http://www.google.com/uds/solutions/videobar/index.html

--Rovo 19:09, 28 September 2007 (UTC)

Viability and Usability[edit]

I find the Google News Bar extension to be very stable and easy to install and configure. It blends in well with the RSS extension used on the same page. I recommend the GNB extension. Brian7632416 21:02, 29 April 2008 (UTC)

Edits to Article[edit]

I added my Web site to the bottom of the list, and re-ordered the list by date of addition to the list, oldest first, which I think is fair. Tidied up, and spell checked, too.Brian7632416 20:51, 29 April 2008 (UTC).

Multiple News Bars on Same Page?[edit]

  • MediaWiki 1.14.0
  • PHP 5.2.6 (cgi-fcgi)
  • MySQL 4.1.22-log
  • URL: DishiWiki.com

Has anyone been able to successfully place more than one Google News Bar on the same page? I can't.

This wikitext:

<div>
<googleNewsBar newstitle="Food and Recipes in the News" newskey="food recipes new"></googleNewsBar>
</div>
<div>
<googleNewsBar newstitle="Celebrity Chefs in the News" newskey="celebrity chefs tv news"></googleNewsBar>
</div>

yields a correctly formed News Bar that uses parameters from the second instance, and leaves what ought to be a second instance of the News Bar in a blank but perpetual "loading..." state.

See my site/page: Food and Cooking News on DishiWiki.com

Any thoughts, anybody? Brian7632416 03:22, 26 April 2009 (UTC)

more then 4 News?[edit]

hi,

how can I change the number of news? (currently there are 4)

thanks Turischt3

Nobody an idea?

How can I view news in new page ?[edit]

Default is in the same page, so is there any way to click the news title open in new page ?

Google AJAX API key not needed anymore, how can i get it to work without this Api key?[edit]

I believe all that's required for that is to change the line $output .= "<script src='http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw&key=" . $googleNewsBarKey . "' "; to $output .= "<script src='http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw' "; (removing the API field from the URL). I haven't tested this though, you might need a completely new URL structure. Assuming the above works, you can also remove the lines $googleNewsBarKey = "put_your_google_api_key_here"; and global $googleNewsBarKey;. James Kevin Martindale (talk) 20:54, 23 October 2016 (UTC)