]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Adds missing georss xmlns in subscriptions AtomPub
authorchimo <chimo@chromic.org>
Wed, 13 Aug 2014 04:45:34 +0000 (00:45 -0400)
committerchimo <chimo@chromic.org>
Wed, 13 Aug 2014 04:45:34 +0000 (00:45 -0400)
Fixes 'unbound prefix: georss' validation issue.

actions/atompubsubscriptionfeed.php

index c0f695dc42cc7603db9c89ea21cb3e9721723254..15e49c9f7c857dca2500d556586a284fd2b247d2 100644 (file)
@@ -133,6 +133,9 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
         $feed->addNamespace('media',
                             'http://purl.org/syndication/atommedia');
 
+        $feed->addNamespace('georss',
+                            'http://www.georss.org/georss');
+
         $feed->id = $url;
 
         $feed->setUpdated('now');