[TYPO3-ttnews] RSS/XML problem with External URL news

stefano cecere scecere at krur.com
Mon Jan 23 13:12:21 CET 2006


stefano cecere wrote:
> ops i see now that the bug was discussed a bit last summer.. but with no 
> fix, i think


i solved it changing line 976  of pi/class.tx_ttnews.php from
$rssUrl = ($row['type'] == 1 ? $this->config['siteUrl'] .$this->pi_getPageLink($row['page'], ''):substr($row['ext_url'], 0, strpos($row['ext_url'], ' '))) ;
to:
$rssUrl = ($row['type'] == 1 ? $this->config['siteUrl'] .$this->pi_getPageLink($row['page'], ''):$row['ext_url']);

Rupi: what's that substr($row['ext_url'], 0, strpos($row['ext_url'], ' ')) for?
can you fix it for 4.0 release? (i'm putting the parch also here: http://bugs.typo3.org/view.php?id=2356


ciao
stefano
www.krur.com



More information about the TYPO3-project-tt-news mailing list