Using coauthors plus in your theme

Had kind of a hard time trying to find documentation for how to implement coauthor plus in single.php or sidebar.php, so I wanted to share the code I used for p3.no/filmpolitiet (remove the debug part when you’re finished testing). Test: https://pappmaskin.no/2013/01/test-coauthors-plus/?debug=1 1 2 3 4 5 6 7 8 9 10 11 12 13 14…

Read more...

How to make the Get The Image WordPress plugin to work with TimThumb and Related posts

I’ve been using the wordpress plugin ‘Get the Image‘ by developer Justin Tadlock for a while. ‘Get the image’ does a fantastic job searching through posts looking for images, so you don’t have to add thumbnails manually, but it always bothered me that it downscaled images in the html instead of scaling and cropping them…

Read more...

Code: Delicious.com + Thumbalizr screenshots + caching

I’m playing with my Delicious Snapcasa code this weekend to see if I can replace Snapcasa with the thumbalizr.com screenshot-service. Snapcasa was great because it gave me plenty of free captures each month, but it has some serious problems capturing some of the sites I throw at it, and was behaving rather randomly, so it…

Read more...

Delicious Screenshots – my first wordpress plugin

Delicious Snapcasa – A Wordpress Plugin for displaying delicious.com bookmarks on your blog with screenshots from Snapcasa.

Read more...

Playing with SnapCasa screenshots and del.icio.us

Tonights nerdfest will include trying to use the SnapCasa and del.icio.us to generate a lovely page full of thumbnails, one for each url. Ingredients: 1. My 100 latest bookmarked urls from del.icio.us: http://feeds.delicious.com/v2/rss/mskogly?count=100 2. A SnapCasa login account. 3. A server that supports xslt transformation. (I’m running MAMP on my macbook, and pappmaskin is hosted…

Read more...

Processing: Sketch_081001a, and how to embed a sketch in a wordpress post

I downloaded my first copy of Processing (Processing.org) a few years ago, but I have never gotten past the initial few demos and small tutorials. I’ve been interested in generative computer art for many years, ever since I first saw the work of Marius Watz in the mid nineties and had a stint reading dadaist…

Read more...

Open source flash-based sound sequenzer

I’ve been thinking alot about making a soundbased installation in Adobe Flash, using sensors and switches, and I’ve gotten around to making a few small eksperiments/prototypes as research, which I’m planning to share on this site later. But I also found this old experiment I wrote in Flash 5 (!) and wanted to share it….

Read more...

Code: Showing a list of youtube videos using gdata and xslt with php

Let’s start with a little demonstration. The section below is made by calling the php-script https://pappmaskin.no/opensource/youtube/youtube.php?s=super&max=9 within an iframe: Why iframe? Just to make it easier to reuse and embed Youtube videos on different sites, and because it makes it easier to try out new ideas without adding messy bits to a larger project. Sort…

Read more...

Code: Gameinfo + Gametrailers + Youtube Mashup

Norsk? Du finner en norsk versjon av denne artikkelen på NrkBeta.no I recently made a Gameinfo service for spiller.no. It pulls in licenced gameinfo from our partner GameXplore though XML, and combines it with a search for related videoes from Youtube before it is presented on the page. Example: FIFA STREET 3 Gameinfo – NRK…

Read more...

My wonderous Greasemonkey Idea

photo credit: Walt Jabsco Greasemonkey (and other solutions for Opera and Windows) allows you to customize the way a webpage displays using small bits of JavaScript. Hundreds of scripts, for a wide variety of poular sites, are already available in the Greasemonkey script repository at http://userscripts.org. You can write your own scripts too. Mark Pilgrim’s…

Read more...