Du är besökare 20175
-
Fetching WordPress content from CodeIgniter
In a few recent projects we’ve used the excellent WordPress admin for content entry, but built the public facing stuff in CodeIgniter. Making these platforms talk to each other is fairly simple, and this is what we’ve learnt along the way. – Do not, ever, initialize WordPress to fetch the data. WordPress is quite the…
-
Moving WordPress 2.6 posts to a new 3.x installation
You have an old 2.6 version of WordPress with 2 000+ posts and 100 000+ in total comments. Today you have installed a brand new WordPress 3.x blog and want to import all data from the old blog but it is just too much to export with the built in export function in WP 2.6.…
-
Multiple domains on one WP network installation
Setting up a new WordPress Network is from version 3.0 very simple and done within 5 min. To set this up so you can use multiple domains to your network blogs is no biggie that either. But what if you want to have multiple domains pointed to the main blog/network and not the sub blogs?…
-
WordPress plugin for fetching hashtag images
Some time ago i made a quick and dirty site for displaying images from a certain Twitter hashtag. Some hours ago i was asked to tweak this into a WordPress plugin, and here we go. This is just tested on my environment, but should be alright on any WordPress 3+ installation on PHP5 with libcurl.…
-
Line-out scrobbler – when DJ’ing
When DJ’ing at Debaser Slussen yesterday, we decided to hook up the Line out scrobbler to the DJ mixer. I knew that Echonest wouldn’t be able to resolve all weird stuff we play, but was hoping for at least 70% success rate. Unfortunately we had a resolve rate of about 20%, which make our little…
-
Line-out scrobbler
for years i’ve been trying to hijack music recognition services like shahzam to be able to recognize music. i’ve finally got this working thanks to the fine guys at echonest, who kindly provide a proper api for this. my proof of concept is running on a spare macbook. here’s how it works on the mac…
-
kanjagcykla.nu
Vi som bara cyklar av estetiska skäl är rätt kräsna när det gäller väder. När man saknar skärmar vill man inte att det ska regna. Kanjagcykla.nu är en mobil webbapp som berättar för dig, utifrån var du befinner dig, om du kan cykla eller inte. I bakgrunden Koppling till yr.no:s API mongoDB med en massa orter…
-
NOW On Roskilde
Now On Roskilde is a mobile application which users easily can add to their homescreen. It shows what’s on right now, together with related artists playing in the near future. Since nothing is playing right now (+ the correct feed hasn’t been published yet), the app is pretty worthless at the moment. There is a…
-
Sami language detection – fugly hack!
so you want to know if a text string is in sami? sami is way too indie for google translate, so i made a really ugly hack to check if a sentence seems to be sami or not. it’s php, you can download and use any way you want. i have no idea what kind…
-
automated screendump creation
i recently had to create jpg thumbs of the first frame from a bunch of videos. doing this manually is not really an option if you have 100 files or more, so commandline to the rescue. i had an ubuntu box, on which i installed ffmpeg: sudo apt-get install ffmpeg then cd into the directory…
-
Extracting mood data from music
We have provided data from the Moody database to a group of researchers in the Netherlands, who have been doing some really interesting work. Menno van Zaanen gives us a report: As a researcher working in the fields of computational linguistics and computational musicology, I am interested in the impact of lyrics in music. Recently,…
-
hashimage.com
some days ago, my wife attended some kind of social media event, called ssmx. during the event my twitter feed was packed with twitpics, yfrog and instagrams, and i decided to make a quick hack. here it is: http://hashimage.com the idea is simple – you just feed it a hashtag and it will scour the…