All posts by jhnidk

Local weather with PHP and Google Weather

How to display local weather with Google Weather API and PHP Local weather can be great content on a website or blog.

There are many different services that provides local weather.

In this post we’ll build a small PHP script that uses the Google weather API.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Split a long post into multiple pages in WordPress

Split a single post into multiple=

In some cases it can be very handy to split a very long post into a multi page post.

If you’re monetizing from your sidebar, it can damage your revenue if the content in a post expands further down the page than the sidebar ads.

In this post you’ll learn how easy it is to split a long post into a multi page post in WordPress.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Disabling comments on old posts in WordPress

Automatically disable comments on old posts in WordPressIn some cases it can be very helpful to automatically disable comments on very old posts in WordPress.
A typical usecase could be a blog focusing on content that has a very short lifetime (eg. a news site).
In this case, comments are highly relevant for a limited time, but then doesn’t make that much sense when the post reaches a specific age.
In this post you’ll learn how you can automatically disable new comments when the post reaches a certain age.
Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Trackbacks and comments in WordPress

Handling trackbacks and comments in WoedPressWhen you have written great content on your blog, there is a big chance that you’re getting both comments and trackbacks to your posts.

The standard configuration in WordPress handles both things as the same, where you could argue that it makes better sense to keep them separated.

In this post you’ll learn how to separate these two things.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

The “Can I” Google Suggest worldmap

Can I seach suggestionson different international versions of GoogleSearch suggestions as implemented on the new Google homepage can be a great help to users. However since these suggestions are ranked by search query volume, the search suggestions can also be a good indicator in what the hottest topics currently are.

In this post I have armed myself with Google Translate, and tried to search for the same term “Can I” in different local versions of Google.

And I can tell you that it’s actually quite interesting to see what’s most popular for this very generic search term…

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

14 free alternatives to Google Analytics

14 alternatives to Google analyticsGoogle Analytics is the default choice within web analytics for many webmasters, however there are many interesting alternatives on the market.

Did you know that Yahoo is working on a analytics program that looks very promising, or that there are many free analytics programs that offers integrated SEO reports or real time reporting?

In this post we’ll give you an overview of the exciting  options within free web analytics.

Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Tagcloud with PHP and MySQL

Create a tagcloud with mysql and phpA tagcloud is a great way to illustrate what content on your site is the most popular.

In this post we’ll build a tagcloud script based on PHP and MySQL.

The script uses very basic HTML and CSS that you can easily customize to reflect the look and feel of your site. Read more…

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS