Categories:
About It:
Rate it:
Flag it:
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 2005Article modified:
07 May 2005









You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:
Commented (14)
That works a treat, thanks! Check my stuff at http://podcastparadise.com
Thanks for looking.
Woow cool script :>
God is the foundation of all evil
:)
working for me
good work @@
2000 artists : download video. full lyrics, music photo
I have new health and can sell it in you need new health :),
<url>http://dennisssblegh.com|dennis</url>
how are u
great site
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.
Would you care to write a comment or visit the forum discussion?