Categories:
Author:
Author's website
About It:
Rate it:
Flag it:
If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!
Add link to comments in feeds
A simple one-line addition to both rss.php and atom.php will allow for displaying a link to comments inside the body of your website’s feeds:
These modifications were implemented on 1.0RC3, but there is no reason why they couldn’t be used or adapted for earlier Textpattern versions.
/textpattern/publish/rss.php :: line 65
/textpattern/publish/atom.php :: line 124
Simply add the following line to both rss.php & atom.php on the above-specified lines:
$Body .= doSpecial(tag(tag( 'Comment on this Article', 'a', ' href="' . permlinkurl($a) . '#' . gTxt('comment') . '"'), 'p'));
Posted here:
07 May 2005