Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Adriano Faria Posted July 27, 2024 Posted July 27, 2024 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, DawPi, Emediate and 1 other 4
Recommended Posts