folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
FB3 Beta 07(back to index)
Some small bug fixes and XHTML fixes (thanks to Richard and Elwing), as well as changes to the template (added some script to hide non-existent exif values).

Important changes:
- <#fbrss#> now includes the directory (e.g. /fb3/rss.xml). Your template should no longer say <#fbdir#><#fbrss#>; just <#fbrss#>
- <#fbcss#> tag added, which links to (templatename)_style.css in your folderblog directory (e.g. /fb3/template_style.css). Your template should no longer say <#fbdir#>style.css; just <#fbcss#>
- <#fbimageurl#> tag added (e.g. /fb3/photos/image.jpg); you can use <#fbimageurl#> instead of <#fbdir#><#fbimage#> in your template tags
posted by donald on 24 Jun 05 at 5:23 PM
I caught another XHTML validation error in the template, to do with the empty EXIF listing if there's nothing to display there, and a couple of other minor niggles. While fixing them, I added a few other enhancements that I'm including in the new Relaxation template. These are:

- Null RSS Detection
If you don't use the post function, there won't be an RSS feed, so the template won't display it.

- FotoBuzz Support
If you install FotoBuzz v2.0 into a '(folderblog directory)/fotobuzz/' directory, the template automatically detects and runs it.

- XHTML 1.1 fixes
If you're using the fb_mimetype.php extension, the background colour doesn't work. The template is now fully XHMTL 1.1 compliant, ready for use with this extension.

There's a couple of other fixes in there too, and I documented all the changes in the source code.

Grab a copy HERE.
posted by Elwing on 25 Jun 05 at 11:47 AM
Er, that would be FotoBuzz v0.2!
posted by Elwing on 25 Jun 05 at 11:48 AM
Will the "index.php" eventually be taken out of the URL of individual images? It's messy. Otherwise, I'm having a great time with it. Great work.
posted by Taylor on 25 Jun 05 at 11:28 PM
There is no plan to remove the php file name from the default template. It's not the prettiest system, but it's the simplest and most compatible I could come up with (and it still beats the pants off the folderblog 2.02 query strings).

It shouldn't be to hard, though, to create a custom 404/htaccess page if the .php really irks you that much. If no one beats me too it, I'll post a tutorial after I've done some more work on fb3 itself.
posted by donald on 27 Jun 05 at 5:39 PM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)