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
RSS validation(back to index)
I discovered a minor issue - when the comment e-mail address is left blank, the RSS does not validate - i amended this by adding:

$webmaster_email = "johndoe@hydropia.org"; // revised webmaster e-mail for rss validation

to the fb_settings.php file, I then amended line 325 of the fb.php file as follows:

$rss = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<rss version=\"2.0\">\n<channel>\n<generator>Folderblog 3</generator>\n<title>$fbblogtitle</title>\n<link>http://" . $_SERVER["SERVER_NAME"] . "$fbfile</link>\n<description>$rss_desc</description>\n<language>$rss_lang</language>\n<lastBuildDate>" . date("r") . "</lastBuildDate>\n<webMaster>$webmaster_email</webMaster>\n<docs>http://blogs.law.harvard.edu/tech/rss</docs>\n";

works just fine and it means i can validate without being sent a mail if someone posts a comment :)
posted by anon on 8 Nov 05 at 11:16 AM
oops i didnt put in my details :D (oh and my photoblog isn't quite ready yet)
posted by Ideal Milk on 8 Nov 05 at 11:18 AM
Muy bien, I will add this bugfix to the next folderblog ikue release. Thanks!
posted by ikue on 8 Nov 05 at 11:20 AM
I just added a line to new folderblog ikue release 1.5 which will handle the described situation by testing whether a comment email address is given. If not, it will show an error message to the viewer. This way we can avoid introducing a new variable.
posted by ikue on 9 Nov 05 at 2:48 AM
ok - seems reasonable - i understand the issue of not adding too many variables - i will stick with it til i decide whether i need comments or not :) - great work by the way - good to see folderblog being supported so well.
posted by Ideal Milk on 9 Nov 05 at 5:12 AM
Post a Reply:

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