English

Yahoo! Weather Module

yweather_original

Yahoo! Weather Module for Google Homepage is my first module for displaying weather information provided by The Weather Channel. Anyway, Google already published Weather Module integrated as overlay on . Unfortunately, the weather data are not available for cities outside U.S., e.g., Bangkok. That’s why I have to find new sources. Even though The Weather Channel has data around the world, it is not easy to use formatted data. does as a proxy to provide the data in well-form RSS format so other tools, e.g., , could query the raw data correctly.

Related Contents Block for Drupal

Usually, a Drupal site will come with Navigation block. However, it is not enough for complex categories just like this site. So, I modified book-like navigation block to show only related contents.

Drupal: AdSense Module - Getting access denied instead of page not found

If you noticed something weird at howforge.com, 404 file not found was missing. Instead, it was replaced by 403 access denied. The cause of this problem is exactly adsense.module. Let me show you something.

function adsense_menu($may_cache) { 
$items = array();

if ($may_cache) {
$items[] = array(
’path’ => ’’,
’callback’ => ’’,
’title’ => ’’,
’access’ => user_access(’hide adsense’),
’type’ => MENU_CALLBACK,
’weight’ => 0);
}
return $items;
}

This menu hooking is totally incorrect. The empty path makes all page not found errors replaced by access denied errors. To fix this problem, I simply commented this function out. The patch is as below and also submitted at drupal.org.

The speculation centers on sources who say that Google is in negotiations with Wal-Mart and other retailers to sell a Google PC that will run a Google operating system and be cheap, maybe as low as $200. That’s what sparked the buzz and piqued my interest. A retail relationship could mean something is not far off. Of course, the article is labeled with the big prediction caveat, so "not far off" could also mean never.

But that’s just the latest in a few months of speculation from somewhat legitimate sources on Google hardware. Last month, Bear Stearns analysts predicted "Google Cubes" that would network music and video between PC and TV. And a few little reports last month toted a possible release of a $200 Google-branded thin client based on partnerships with Wyse Technologies. There’s been even further talk about a Google network box if you go a bit farther back. And let me add to the fire by wondering aloud if the operating system is the first concrete connection with the Sun partnership.

According to many news, e.g., Bangkok Post and InformationWeek, it seems Google is going to announce the release of Google PC within this week on Friday. This is a kind of big news for the world since even newspaper in Thailand classified it as a breaking news. So I wrote blogs at The Experience, , and even about this.

About

howforge.com is a place to share thought, innovative thinking, invaluable experiences, raw information, gossip, knowledge, know-how, and many more.