Adriano Faria Posted July 27 Posted July 27 Is it possible to add an extra column to the exported RSS feed without a hook, as I will need this functionality on IPS5 as well? - \IPS\core\Rss::generate() /* We have to use get() to ensure CDATA tags wrap the title properly */ $title = \IPS\Member::loggedIn()->language()->get( "rss_export_title_{$this->_id}" ); $description = \IPS\Member::loggedIn()->language()->get( "rss_export_title_{$this->_id}_desc" ); $document = \IPS\Xml\Rss::newDocument( $this->url(), $title, $description ); foreach( $results AS $result ) { $result->addToRssFeed( $document ); } return $document->asXML(); } Thank you. TDBF, Emediate, DawPi and 1 other 4
Recommended Posts