Archive for the ‘Wordpress’ Category

PlazesMap plugin version 0.2

Tuesday, November 22nd, 2005

I just released version 0.2 of the Wordpress PlazesMap plugin that displays a google map with your plazes location on your weblog.

This version handles the offline status better and displays plazes errors if the server returns any.

Google Analytics

Monday, November 14th, 2005

Google Analytics:

Want to know more about your site or blog? Want to know which keywords work and which ones don’t? Want to know how visitors to your site found you and what they visited in your site?

Logo-2

tip: if you have a wordpress blog just paste the code in your header.php file and all your pages will be tracked…

(via ifcc)

Comments working again, but for how long

Thursday, November 10th, 2005

Commenting should be working again, an empty entry in the user table seemed to have been the culprit. Akismet is turned on again so if you -do- have any more trouble please feel free to contact me.

Plazes (Google) Map Wordpress plugin released

Wednesday, November 9th, 2005

Oh my. I just released my Plazes meets GoogleMaps plugin which takes your plazes location and displays the nice little Google map you can see here at the top of this blog. Disclaimer: Like the Last.fm plugin it’s very beta so it could very well make your server explode if you install it. Both the Last.fm plugin and this plugin are now available through the source repository over at wp-plugins.org.

Installation instructions:

  1. Download the plazesmap zip archive (version 0.4).
  2. Unzip it and copy the plazesmap directory over to your /wp-content/plugins/ directory
  3. Get a Google Maps API key for your weblog.
  4. Edit plazesmap.php and fill in you API key (mine won’t work on your site).
  5. Turn on the plugin in your Wordpress admin interface.
  6. Call the plugin with your Plazes username and password from somewhere within your templates like so:

<?php current_location('username','password'); ?>

And that’s it!

Todo:

  • Add caching of the plazes data

Changelog:

  • version 0.4: switched to google maps version 2 (more data & images!)
  • version 0.3: fixed Internet Explorer Javascript bug (thnx Andoni)
  • version 0.2: added offline and error handling
  • version 0.1: initial release

Branches:

No more comment spam?

Sunday, November 6th, 2005

The Wordpress crew has launched a server based solution to solve the ever growing blog spam problem with Akismet. A Wordpress plugin that sends comment data to a server for comparison with other spam and bases it’s conclusions on that test. To use it you have to have a Wordpress.com API key which you already have if you have ever signed up for the Wordpress.com service in the past but which is now only available after you download the new Flock browser it would seem. Luckily you can also just follow this signup link, sign up and get your key. If it works i’ll tell you about it later. It should at least be better than spam karma which is just a big pile of useless filters that in my case has only managed to ‘catch’ legitimate posts and allow spam.

MetaFun is ExtraFun!

Wednesday, November 2nd, 2005

I just finished a first alpha of a Wordpress plugin which integrates my plazes location with Google Maps resulting in the map at the top of this weblog. When i’m online it retrieves my longitude and latitude from the Plazes server and uses that to generate a Google map with a little marker denoting my current location and linking to my Plazes profile.

So useless! so cool! :)
As soon as i’ve tested it a bit more on my own weblog i’ll release it as an official (beta) Wordpress plugin just like the Last.fm plugin i wrote today.

Todo:

  • Replacing the google marker with a plaze marker
  • Nicer layout of the popup
  • Nicer layout of offline message and error messages

Last.fm recent tracks Wordpress plugin

Tuesday, November 1st, 2005

13409
I hacked together a simple Wordpress plugin for Last.fm which uses the webservice feed to display the recently played tracks on your weblog. It’s based on the del.icio.us Wordpress plugin and uses a similar layout, the same caching mechanism (to a file in /tmp) and CURL to retrieve the feed.

You can download the plugin here: lastfm.zip

To install simply unzip and copy the lastfm.php file to your /wp-content/plugins/ directory. Turn it on in your administration panel. And finally call the recent_tracks(<username>) function with your username from somewhere in your template. i.e:


<li><h2><a href="http://www.last.fm/user/tizzle/">last.fm/user/tizzle</a></h2>
<ul>
<?php recent_tracks('tizzle'); ?>
</ul>
</li>

Make sure your webhost has installed the CURL library for PHP though otherwise this plugin won’t work.
If not you could opt to use this modified version of my plugin which uses fopen instead.

Version history:

  • 0.5 (16-05-2007) - small fix to account for changes in Lastfm XML format (Thanks Anthony!)
  • 0.4 (09-03-2006) - changed caching behaviour and using XML instead of RSS feed
  • 0.3 (01-11-2005) - moved UL tag generation into plugin
  • 0.2 (01-11-2005) - fixed a caching problem
  • 0.1 (01-11-2005) - initial release

MetaTijs

Wednesday, October 19th, 2005

Logo-1
I’m in the process of adding some automatically gathered meta information such as flickr photo’s, del.icio.us links and my current location (through plazes) to this weblog. I currently use their javascript badge although it is rather buggy and won’t actually show up on IE which is a bit of a shame. I tried to wrap the functionality of PlazesPHPBlog in a wordpress plugin but the xmlrpc class it uses tells me the xml that plazes is returning is not well formed so i’ll have to look into that some more later. It’s suppossed to show my current location together with some photo’s grabbed of off flickr with that location, which should be pretty cool. To be continued…

The idea of course is that all the data i already generate just by using some of the web apps out there should be enough to fill this blog, relieving me of the duty of coming up with things to post :)

Del.icio.us auto posting thingy

Monday, August 8th, 2005

I tried out the delicious automatic posting of daily links thing for a bit, as you may have noticed, but the crappy html (whats with all the br’s and divs in the list items?) is just too much too bear on my little site. On another note; i amy try out lightpress one of these days. Appearently someone has ridden wordpress of all it’s extra baggage (heavy SQL mostly) and made a tuned version. Neato!

update: installing lightpress was easy enough (it installs as a WP plugin). and it works, which is nice. you are looking at the default template right now which is… ehmm. Clean! At least it feels less cramped than the overusd Kubrick. One day i will actually put some effort in a new template… really!

update: i just turned on lightpress’s built in del.icio.us plugin to show my latest bookmarks on the homepage. It’s shows all now but you could easily set it to just post bookmarks with a specific tag.

Wordpress admin redesign.

Tuesday, June 21st, 2005

If you use Wordpress to blog you cannot anymore do without this overhaul of the standard admin interface: WordPress Administration Design: Tiger which installs as a simple plugin. Trust me. If you tweaked your admin interface already your changes will be lost though.