Google News Widget wp plugin 0.5 released

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Version 0.2/0.3 went wrong: on certain blogs (but not on those I tested it with) prevented the administration page from working. A kind user of my blog helped to test it as – no way was it going to happen on my blogs.

It was a newbie mistake. Sorry for any inconvenience caused.

Hopefully this has been fixed, a new version has been created again.

From the readme.txt file:

Description:

It displays the list of the latest news by Google News given localization (country-language), search word(s) or topic, number of displayable news and whether you want publication date, time, reference to the author displayed/not. The look & feel is customizable too. It works as a widget or shortcode (in post/pages). In other words, you can show your news in any widget-ready area of your wordpress blog or any post/page of your choice.

Usage:

As a widget:

  • Drag & Drop your widget in the widget-ready area
  • Choose a title to be given to this news list
  • Choose the location of the news you wish to display
  • Select either the topic you need to cover or search word(s) (if you define both, the search keys will be ignored)
  • Select whether you want a publication date/time or reference to the author displayed/not
  • Select whether you want a bullet-point/dotted list (default) or a numbered/ordered list
  • Select whether you want the linked news pages to open up in a new page (default) or in the same page.
  • Click on ‘Save’ (and Close, if you want)

As a shortcode:

That’s the sole mandatory attribute. Optional attributes are:

  • search: search-words according to google search syntax (see the description above) (default: none)
  • topic: any of Google’s topic-codes (default: Top Stories). Here is the list of Google’s topics.
  • num: number of news to be displayed (default: 3)
  • list: either “UL” or “OL” to get unordered or ordered lists
  • target: either “_blank” or “_self” to get links opened in a new/the same windows.
  • pubdate: either true or false to display the publication date/not;
  • pubtime: either true or false to display the publication time/not;
  • pubauthor: either true or false to display a link to the author/not;

Example:

powered by Google News Wizard/Shortcode

Please note the following Google quirks:

  1. Not all topics are set for all country/language. If you select a topic for a country where this is not provided (by Google) then the “Top stories” (the default) will be displayed instead.
  2. Google (not me!) allows to search by topic OR by search-word(s). The two “filters” cannot apparently work together (i.e. you cannot search for “hockey” in topic “Sport”).
  3. Because of the above, if topic AND search-keys are both indicated, then the search-keys are ignored (but no, no error message).
  4. The search syntax is that indicated by Google. In other words, if in the search results:
    • all the words need to be present, then enter space-separated words (word1 word2 etc);
    • any of the words can be present, then enter words separated by OR (word1 OR word2);
    • the exact phrase needs to be present, then enter the phrase delimited by double quotes (“exact phrase”).
  5. The maximum number of displayable articles depends on the number of articles stored into the XML page (RSS feed page) of Google news website (i.e. if you wish to display the latest 15 news and the XML page contains 10 news only, then only 10 will be displayed).
Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Twitter
  • Reddit
  • StumbleUpon
  • MySpace
  • Propeller
No related posts.

TrackBack

TrackBack URL for this entry:
http://www.stefaniamarchisio.com/2010/02/google-news-widget-wp-plugin-0-5-released/trackback/

Comments

Hi Stefania, now from v0.5 it works perfect with my two blogs. My homepage uses the widget three times – one in the left sidebar with Russian news in Russian language (I have many Russian readers), two in the right sidebar (sports and news from Germany). Great work, I like your plugin!

[...] gab, scheint die Version, die ich derzeit nutze, einwandfrei zu funktionieren. Derzeit ist hier die Version 0.5 [...]

Post a comment