minor rss fixes
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@460 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
1588a598a0
commit
cff14431c0
@ -38,26 +38,26 @@ class RSS_Images extends Extension {
|
||||
);
|
||||
|
||||
$data .= "
|
||||
<item>
|
||||
<title>{$image->id} - $tags</title>
|
||||
<link>$link</link>
|
||||
<guid isPermaLink=\"true\">$link</guid>
|
||||
<pubDate>$posted</pubDate>
|
||||
<description>$content</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>{$image->id} - $tags</title>
|
||||
<link>$link</link>
|
||||
<guid isPermaLink=\"true\">$link</guid>
|
||||
<pubDate>$posted</pubDate>
|
||||
<description>$content</description>
|
||||
</item>
|
||||
";
|
||||
}
|
||||
|
||||
$title = $config->get_string('title');
|
||||
$base_href = $config->get_string('base_href');
|
||||
$version = $config->get_string('version');
|
||||
$version = VERSION;
|
||||
$xml = "<"."?xml version=\"1.0\" encoding=\"utf-8\" ?".">
|
||||
<rss version=\"2.0\">
|
||||
<channel>
|
||||
<title>$title</title>
|
||||
<description>The latest uploads to the image board</description>
|
||||
<link>$base_href</link>
|
||||
<generator>$version</generator>
|
||||
<generator>Shimmie-$version</generator>
|
||||
<copyright>(c) 2007 Shish</copyright>
|
||||
$data
|
||||
</channel>
|
||||
|
Loading…
x
Reference in New Issue
Block a user