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 .= "
|
$data .= "
|
||||||
<item>
|
<item>
|
||||||
<title>{$image->id} - $tags</title>
|
<title>{$image->id} - $tags</title>
|
||||||
<link>$link</link>
|
<link>$link</link>
|
||||||
<guid isPermaLink=\"true\">$link</guid>
|
<guid isPermaLink=\"true\">$link</guid>
|
||||||
<pubDate>$posted</pubDate>
|
<pubDate>$posted</pubDate>
|
||||||
<description>$content</description>
|
<description>$content</description>
|
||||||
</item>
|
</item>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
$title = $config->get_string('title');
|
$title = $config->get_string('title');
|
||||||
$base_href = $config->get_string('base_href');
|
$base_href = $config->get_string('base_href');
|
||||||
$version = $config->get_string('version');
|
$version = VERSION;
|
||||||
$xml = "<"."?xml version=\"1.0\" encoding=\"utf-8\" ?".">
|
$xml = "<"."?xml version=\"1.0\" encoding=\"utf-8\" ?".">
|
||||||
<rss version=\"2.0\">
|
<rss version=\"2.0\">
|
||||||
<channel>
|
<channel>
|
||||||
<title>$title</title>
|
<title>$title</title>
|
||||||
<description>The latest uploads to the image board</description>
|
<description>The latest uploads to the image board</description>
|
||||||
<link>$base_href</link>
|
<link>$base_href</link>
|
||||||
<generator>$version</generator>
|
<generator>Shimmie-$version</generator>
|
||||||
<copyright>(c) 2007 Shish</copyright>
|
<copyright>(c) 2007 Shish</copyright>
|
||||||
$data
|
$data
|
||||||
</channel>
|
</channel>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user