mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
recent-changes: deduplicate in atom
feed generation
This commit is contained in:
parent
9c44f02f00
commit
6abbdc4d1e
1 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "Recent Changes",
|
"name" => "Recent Changes",
|
||||||
"version" => "0.5",
|
"version" => "0.5.1",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
|
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
|
||||||
"id" => "feature-recent-changes",
|
"id" => "feature-recent-changes",
|
||||||
|
@ -347,8 +347,7 @@ function render_recent_change_atom($recent_changes) {
|
||||||
global $version, $settings;
|
global $version, $settings;
|
||||||
// See http://www.atomenabled.org/developers/syndication/#sampleFeed for easy-to-read Atom 1.0 docs
|
// See http://www.atomenabled.org/developers/syndication/#sampleFeed for easy-to-read Atom 1.0 docs
|
||||||
|
|
||||||
$full_url_stem = full_url();
|
$full_url_stem = url_stem();
|
||||||
$full_url_stem = substr($full_url_stem, 0, strpos($full_url_stem, "?"));
|
|
||||||
|
|
||||||
$xml = new XMLWriter();
|
$xml = new XMLWriter();
|
||||||
$xml->openMemory();
|
$xml->openMemory();
|
||||||
|
|
Loading…
Reference in a new issue