Photo blog from Flickr tag(s) ←
Note: This project is not maintained or updated. It is released to the public domain without warranty or support.
The gist
- Upload a photo to Flickr.
- Tag it as “blog”.
- It shows up automatically in your photo blog.
Features
For an example, see my photo blog. It may seem minimal, but it's extremely full-featured and standards-compliant.
- Syndication (Atom feed)
- Pull from one or more Flickr tags
- Automatic updating
- Photos load from Flickr’s servers, not yours
- Caching to reduce server load
- No scripting or images
- No MySQL, everything is XML-based
- Easy templating via XSL
- HTML 4.01 Strict
- Conditionally serve XHTML 1.0 Strict (using the proper MIME type)
- Atom 1.0
- Conditional get
- UTF-8
Requirements
- Flickr API key
- Apache with mod_rewrite (or compatible alternative)
- PHP 4 or 5 with XSLT support
- Ability to grant write access to one directory
Instructions
- Download FlickrBlog (tar, gzip).
- Unpack it.
- Rename “htaccess” to “.htaccess”, or add its contents to the appropriate virtualhosts file. Don’t forget to adjust the RewriteBase.
- Edit “index.php” and provide your Flickr API key and other configuration variables.
- Grant write access to the “xml” subdirectory.
- Optional: for extra efficiency, have your Web server check the cache before calling PHP (see suggested settings in “htaccess”).
This is not a good solution for someone who doesn’t like tinkering under the hood a bit. Experience with Apache, PHP, and XSLT is recommended in case something goes wrong. It is probably most useful to someone looking for a codebase to extend quickly.