Category: PHP

Code Snippet: Updated use of Google suggest for keyword research

In 2010 I posted an article about using Google suggest for keyword research. Google changed some things, so I updated the code to make it working today with some additional optimizations. Unfortunately Google does not provide the number of search results in the XML anymore, so that there are only the search phrases available. Nevertheless […]


Continue reading »

Code Snippet: Youtube playlist downloader

article-image

A few months ago, I wrote a tiny ruby script I never released, that made it possible to download Youtube playlists and convert them to mp3 files. Unfortunately Youtube changed many things since that time and my script did not work anymore. Private reasons and a strong will to fight the API forced me to […]


Continue reading »

Code snippet: Export simplenews subscribers from drupal to CSV

article-image

Some of you may know the newsletter module simplenews for drupal. If you’ve ever tried it, I am sure you soon realized, it’s a mess. The template functionality is too complicated and poor, emails are send via cron, you have no statistics and only poor ones with other extending modules…


Continue reading »

Use Google Suggest as a helper for keyword research

UPDATE: This code is outdated and not working anymore. See my new article for an actual working version. Since April 2009 Google offers some nice feature in web search called Suggest, which is the  list of search queries you see,when you type in some search query into Google. I think everyone knows and uses it… […]


Continue reading »

Code Snippet: Redirect without editing .htaccess file

You need to do a 301 or 302 redirect, but have no access to the server configuration files or the .htaccess file? Unfortunately not all hosters allow you to edit the .htaccess file, where you could easily set a redirect via the line: Redirect /oldpage.html http://www.example.com/newpage.html [R=301,L] I recently had exactly that problem, but PHP […]


Continue reading »

Script for basic WordPress installation, with plugins and themes

For my work I had to make several wordpress installations with the same basic plugins and themes over and over again. Maybe you know that pain in the ass, but I got sick of downloading and extracting all the stuff manually, so I decided to write some handy script to do the job for me. […]


Continue reading »

Actual Google and Twitter trends in a fancy newsticker for your page

Some days ago I posted an article about fetching the actual hot trends from Google. Today, I wrote the TrendFetcher library, a simple PHP class/library, that gives you a nice jquery flavoured “trend ticker” with the latest hot trends from Google, the actual trends from Twitter and some API access.


Continue reading »

First steps into Drupal: iTweet Twitter Module

article-image

For my new job I had to get into Drupal, it’s structure, features, so maybe there could be more Drupal stuff here, in the future… For my first approach I created some tiny drupal twitter module that displays the timeline in a block element, called iTweet. You can choose whether to show the timeline of a […]


Continue reading »