All posts tagged API

Create your own Twitter counter

Using Twitter API to fetch followers countTwitter follower counters are a very popular way to display the world how popular a certain website or blog has become.

The problem with these counters is that they only provides limited flexibility in look-and-feel implementation, and potentially can decrease loading times on your site.

In this post you learn to use the Twitter REST API to retrieve subscriber statistics, and use file caching to increase performance and keep things efficient.
Read more…

Caching Feedburner subscriber statistics for blog or website

Cache Feedburner statistics for better performance and flexibilityMany of the big online Kahunas like Smashingmagazine and Mashable are displaying how many subscribers their RSS feed are having.

Displaying the number of feed subscribers can be a good idea from a marketing perspective since many subscribers to some users  equals that the site has big credibility.

Feedburner is one of the most popular RSS tools, and Feedburner also offers offers a widget that can be used to display the number of subscribers to your RSS feed. However since the Feedburner widgets uses javascript to fetch feed statistics from Feedburner, these widgets can potentially slow down your site.

In this post you’ll learn how to use the Feedburner API and PHP to fetch feed subscription data, and display these data on your site or blog in a efficient way

Read more…

Wikipedia and Panoramio on Google Maps

Add wikipedia and Panoramio data to Google Map API with GLayerOne of the great features of Google Maps API, is the possibility to easily display Point Of Interest (POI’s) on top of the maps.

Included in Google Map API V2 is the GLayer function that makes it very easy to display data from Wikipedia and Panoramio as layers on your Google Map API based maps.

In this post we’ll create a script that uses the GLayer functionality to display POI’s on your map.

Read more…

Watch your back Google – here comes CloudMade Maps

CloudMade map crowdsourcingCrowdsourcing and a flexible and very innovative API, makes CrowdMade a very interesting new player in the map game.

Google, MapQuest, Yahoo and Microsoft has been dominating the online map scene for many years. But now a new and different competitor is entering the map scene.

CloudMade has launched a very interesting online map service, based on the open source map data: OpenStreetMap. In this post we’ll look at the possibilities in the API, and the quality of the map data from OpenStreetMap.

Read more…

The perfect 404 page

error 404 iconA error 404 page is displayed in the cases where another site is linking to a URL on your site that isn’t available.

There can be different reasons why the URL isn’t valid, maybe you redesigned/restructured  your site to a new URL structure, maybe somebody just made a typo in a link or in the browsers address bar, or maybe some of your content has been removed.

There are different philosophies about 404 pages. Some people just want to redirect the users to the sites front page, however if the user expects to see a very specific page on your site, being redirected to the front page isn’t a very good user experience.

In this post we’ll build a 404 page in PHP that tries to guide the user as close as possible to the most relevant content on your site.
Read more…