1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-22 13:45:02 +00:00

recent-changes: deduplicate in atom

feed generation
This commit is contained in:
Starbeamrainbowlabs 2020-10-26 18:24:53 +00:00
parent 9c44f02f00
commit 6abbdc4d1e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -5,7 +5,7 @@
register_module([
"name" => "Recent Changes",
"version" => "0.5",
"version" => "0.5.1",
"author" => "Starbeamrainbowlabs",
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
"id" => "feature-recent-changes",
@ -347,8 +347,7 @@ function render_recent_change_atom($recent_changes) {
global $version, $settings;
// See http://www.atomenabled.org/developers/syndication/#sampleFeed for easy-to-read Atom 1.0 docs
$full_url_stem = full_url();
$full_url_stem = substr($full_url_stem, 0, strpos($full_url_stem, "?"));
$full_url_stem = url_stem();
$xml = new XMLWriter();
$xml->openMemory();