Kolbu

Computers, Gadgets and Beyond!
Subscribe

Archive for the ‘WordPress’

Google News plugin

April 07, 2008 By: webmaster Category: WordPress Plugins 65 Comments →

Displays N first news items from a selectable Google News RSS feed, inline or as a widget.

Google aggregates news from over 4500 news sources, updated continously. The results can be retrieved as a number of RSS feeds, where you can create your own specific feed by specifying one of more than 40 regions/languages, and an optional topic ranging from Domestic to Most Popular to Entertainment. Currently there are nine topics, including, of course, All. In addition to this, any feed can be filtered through a search query so that only news items matching your query will be shown. Note that not all combinations of region/language and topic has been enabled by Google but it should degrade gracefully.

This plugin works both as a widget, as inline content replacement and can be used in themes. It can be used as both simultaneously, but there can be only one instance of the widget. Multiple feeds can be configured and used accordingly.

NOTE! Always upgrade to the latest version if you experience problems, most things are fixed already. :-)

The latest version is 2.2.

If you’ve configured feeds that use character sets like cyrillic, arabic and you’re getting errors from WP when trying to view the feeds then your WP MySQL database tables may be created with the wrong character set. Let me know and I’ll give you some pointers.

Download Google News plugin

(more…)

CNN News plugin

April 03, 2008 By: webmaster Category: WordPress Plugins 19 Comments →

CNN has a number of RSS feeds with current news available, on a number of topics.

This plugin works both as a widget, as inline content replacement and can be used in themes. It can be used as all three simultaneously, but there can be only one instance of the widget. Multiple feeds can be configured and used accordingly. Clicking on a news item will of course take you straight to the relevant article at CNN, as per CNN Terms of Use.

I know there are generic RSS feed widgets out there, but I figured with so many CNN feeds they warranted their own widget with easier configuration than your average generic RSS widget.

NOTE! Always upgrade to the latest version if you experience problems, most things are fixed already. :-)

The latest version is 2.2.

Download CNN News plugin

(more…)

NASA Image Of The Day plugin

March 28, 2008 By: webmaster Category: WordPress Plugins 20 Comments →

Very simple widget plugin that shows the NASA Image Of The Day thumbnail and a few words of text. Clicking on the thumbnail opens the correct NASA page for a larger image and accompanying text. The plugin now uses a NASA RSS feed for information. No local storage needed, the feed and image is fetched every time. Does anyone need caching here?

Installation instructions:
Unzip in wp-content/plugins directory, enable plugin and then use as any other WordPress widget.

Download NASA Image Of The Day plugin

(more…)

Upgrading to WordPress 2.5

March 28, 2008 By: webmaster Category: Website, WordPress No Comments →

Moving this site from WordPress 2.3.3 to 2.5RC2 was largely uneventful. But I recommend waiting until there is a properly scripted upgrade path before you try unless you’re comfortable with MySQL restores and the occational PHP hacking to get a particular theme or plugin to work properly. Things have certainly changed under the hood, and quite a few addons need to be rewritten. Some of these rewrites are in the pipeline, so check out the WordPress codex for status.

Since I was fiddling with the site anyway, I decided to go for a new theme as well. It required some code changes to work properly, for example a simple thing as showing comments on pages was missing. Easily added. I also fiddled with the look&feel, so it’s not really a clean Prosumer theme anymore. Not enough changes to warrant a rebadge and release though. Not entirely happy about the colour scheme either, so here today gone tomorrow. Leave a comment if you can recommend a great theme that not too many others use.

Found some cool new plugins while updating. Like the Democracy Polls widget on the left, just below the ahem one click is enough Income widget.

Another thing I found out about WordPress in the upgrade process was that there are quite a number of hard coded references to your web site url in the database. Not just the single config entry you’d expect. So if you want to fire up a copy of the site under another name to see how 2.5 worked without destroying your primary site, you need to dump the database, do a search & replace on the dump and then restore to the new location.

The logo image is an umodified photo taken at low shutter speed in a tunnel, just cropped to show the interesting part.

  • Income

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Cloud Nine

  • Current Reading List

    Nation

    Neeeeeeew Praaaaaaaaatchett. It's in the kiddie-series, but they're equally brilliant and I'm sure this one is too.
    Blue War: A Punktown novel (Punktown)

    I've read several books in the same universe now, great stuff. Make sure you start at the beginning though.
    Neuromancer

    I know, I know, should have read it ages ago. I've tried several times but only get to page 50 before it bores me out though. I'll keep trying, honest! :-)