http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwakaba.c3.cx%2Fsup%2Findex.rss
the "Missing channel element: description" problem is easy to fix, but i'm not sure how to fix the "author must include an email address" problem...
Easy!
If the link/email field is empty, or does not contain what looks like a valid email address, is just uses the value <data>@<boardname>.
Otherwise, if it detects a legitmate email address (HAH), it uses that.
Well, thats my cheap idea towards it anyway.
My idea in >>2 is only for the RSS template, and not for the XHTML document. I'll try to quickly cook up some coding ideas to make my idea work.
Attempt #1 at bad code. At least this might give you an idea to work with.
templates.pl (use constant RSS_TEMPLATE, line ~458)
Replace:
<author><var $author></author>
With:
<author><var $author> - <var $rss_email></author>
kareha.pl
This is just stuff to add in.
# Insert above line 308
if($email='';)
{
my $rss_email ='$TITLE @ $ENV{SERVER_NAME}';
}
elsif($email!='';)
{
my $rss_email ='< $email >';
}
# Insert after line 316
$rss_email=clean_string($rss_email);
"Author must include an email address"? What the hell kind of retarded requirement is THAT? No, really, what the HELL?
I added the lacking description, but I really don't feel like doing anything about the <author> element.
just have it default to [email protected] or something.