[TYPO3-english] Extra markers for XML-feed tt_news: extraItemMarkerProcessor not working?

Bert Hiddink hiddink at bendoo.com
Mon Jan 12 21:53:55 CET 2009


Hello!

I wrote a small extension to create some extra markers for the XML-feed 
of tt_news:


...

	function extraItemMarkerProcessor($markerArray, $row, $conf, &$pObj) {
		$this->cObj = t3lib_div::makeInstance('tslib_cObj'); // local cObj.	

		$markerArray["###NEWS_XMLURL###"] = 
$GLOBALS['TSFE']->config['config']['baseURL'];
		
		return $markerArray;
	}
}
...

However, ###NEWS_XMLURL### seems only to be rendered in "LIST", "SINGLE" 
and "LATEST" mode, not for the XML-feed.

Is this as expected or am I missing something? Any alternatives?

Thanks in advance!
Bert

-- 


Vriendelijke groeten,
Bert Hiddink

---------------------
BENDOO e-work solutions
Harterinkdijk 8
7065 AR SINDEREN
The Netherlands
Tel. 0315 244525
http://www.bendoo.nl
hiddink at bendoo.nl
---------------------


More information about the TYPO3-english mailing list