FlickrRSS feed script

Want to integrate a Flickr tag, user or group pool feed into your site? This PHP script will use MagpieRSS to grab the the RSS feed for the photo pool and pull the images out of it. Download flickrrss0.5.txt, edit the preferences and then change the extension to php. Also, make sure that you install Magpie (and tell the script where it’s installed).

Features

– Can show photos from group pool, user id or tag
– Choose number of photos to display
– The script should now cache the images locally (you can turn this off)
– There’s an option to use small or medium sized images.
Links to /in/pool-$groupname/ now, allows easier access to group photos Flickr does this now but it uses the ugly group name.

To Do

– Delete old cached images
– Fix junk feed problem if Flickr goes down (images are cached, but Magpie fetches the junk script and can’t parse it)

Problems

I switched from small images to medium, but they’re still small.
You’ll need to remove all the old images from the cache manually, then you should be fine.

Version

0.5 – choose group, tag or user id, turn of image cache
0.4 – – fixed broken image link
0.3 – cache images locally, small/medium images
0.1 – initial release

Update: I’m focusing more on the WordPress plugin these days, here’s a similar script that may see more development.



Bad Flickr

Hmm, my script on the Conform Project site that integrates the Flickr group feed makes the site look ugly if Flickr is down for maintenance. Which means I’ll have to test the feed to see it’s live and do something if it’s not. Or cache the feed. I thought Magpie was caching the feed but I’m not really sure.





Want a Flickr group pool feed on your site?

Do you belong to a special group at Flickr? Want to display that group’s photos on your website? Well now you can! For four easy payments of $4.44 you can own a GPL’d string of characters that plays nicely with PHP and integrates a feed of your group pool into your website.

First thing you need to do is grab MagpieRSS, you could probably do it with lastRSS too. Then you want to grab flickrgroup.php (a slightly modified version of this tag script). Change the grouptag and num_items variables to suit your needs. You’ll probably also want to hack up how the html is displayed too.

I used this to integrate the group pool into the Conform Project site. Although, I still have a bit of tweaking to do, because I don’t think the spacing will be right between the images (there’s only one in the pool right now).

Update: The script has been updated to support local caching of the images.


Treasure Box

Treasure Box

Treasure Box is an online game/piece of artwork. It’s also part logic puzzle game, but of the variety that are solvable by waving your mouse around (or trackpad for a frustrating experience).


Dreamhost (hidden) backup feature

Dreamhost says they keep regular backups of your files, but I always assumed that it meant there was some mythical backup temple that tech support could get at. Hidden away in their Knowledge Base is this little piece of information: there’s a .snapshot folder in your home directory. They don’t really advertise it.

Even if you think it’s not there (ls -a), it is. Go to that directory and you shall find hourly, daily and weekly snapshots of your files, for backupy goodness. I wish I had known this a few weeks ago.