Posts Tagged ‘php’

Social Bookmarking

Published February 29th, 2008, updated August 31st, 2008.

At sickos.org, Andreas and I run a copy of the social bookmarking software Scuttle. Basically, it is an open source implementation of del.icio.us (or at least, as delicious was back in 2006). Scuttle development has slowed down, but we keep up running this service and patch bugs every now and then. If you want to join us, read the documentation here and feel free to add your bookmarks there.

Scuttle Social Bookmarking

use service
download patches

Imageproxy

Published April 24th, 2006, updated February 29th, 2008.

This is a caching and scaling proxy for images that are accessible via http. It is designed for the use in weblogs where you want to refer to images on foreign hosts without the need of manual mirroring or scaling. After an initial fetch, the (scaled) pictures remain in the local cache directory. It is tried to reload the image when the cache expires, otherwise the old image is delivered.

download source code

Wordpress Flickr Sidebar Plugin

Published October 5th, 2005, updated February 29th, 2008.

Preface

wp_flickr_sidebar is a plugin that shows a moblog in a WordPress sidebar. It can be configured to display any Flickr feed with a specified width and number of pictures. The plugin supports caching and resolution-dependent fetching.

Installation

Shorts steps for the impatient:

  • extract the files to the plugin directory (currently one file)
  • drop a copy of magpierss in /magpierss (or symlink it or fix the constants)
  • ensure that you have libgd2 and the php bindings installed
  • activate the plugin somewhere on the WordPress setup page
  • configure the plugin using the WordPress options dialog from within the admin menu
  • add <?php wp_flickr_sidebar_feed() ?> to your template/sidebar

Troubleshooting

After installation, the plugin should

  • fetch your feed using magpie
  • print a bunch of images which link to the plugin itself

and when called as an image, it should

  • fetch your images
  • convert them using gd
  • display them

If something went wrong (missing libs, wrong permissions, typos), you should see an error message as long as the bug is in stage 1. To see error messages in the standalone jpeg section, set this line as a comment:

// (header("Content-type: image/jpeg");)

When you’ve fixed your problem, come back here end tell us, please.
q: after commenting the header line, i see an error message that says there is no imagecreatefromjpeg()
a: install/update the gd graphics library and php bindings q: it does not work anymore a: flickr changed the uri schema, update to version 0.2

Download