0
在K2 Rss feed中,如何移除Joomla元數據?我的意思是:從K2 Rss feed中移除Joomla元數據
<!-- generator="Joomla! - Open Source Content Management" -->
和
<generator>Joomla! - Open Source Content Management</generator>
下面的代碼:
<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<?xml-stylesheet href="/media/system/css/modal.css"?>
<?xml-stylesheet href="http://site.com/plugins/system/shortcodes/assets/css/shortcodes.css"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Website</title>
<description><![CDATA[]]></description>
<link>http://site.com</link>
<lastBuildDate>Wed, 28 Aug 2013 10:50:56 </lastBuildDate>
<generator>Joomla! - Open Source Content Management</generator>
<atom:link rel="self" type="application/rss+xml" href="http://site.com/?format=feed&type=rss"/>
<language>en-gb</language>
</channel>
</rss>
感謝
謝謝你,我通過放置'$ this-> setMetaData('generator','The Company')在常規頁面上更改了生成器標記;'但在RSS url上無效。 ** ByeByeGenerator **正在雙方工作。乾杯 – DummyBeginner