4 ms·
<item> <title>Ask PG: Link to comments in RSS</title> <link>http://news.ycombinator.com/item?id=112684</link> <comments>http://news.ycombinator.com/
by brett 19y ago
<item>
<title>Ask PG: Link to comments in RSS</title>
<link>http://news.ycombinator.com/item?id=112684</link>
<comments>http://news.ycombinator.com/item?id=112684</comments>
<description>
<a href="http://news.ycombinator.com/item?id=112684">comments</a>
</description>
</item>
- bd 19y agoOr like this: <item> <title>Ask PG: Link to comments in RSS</title> <link>http://news.ycombinator.com/item?id=112684</link> <description><![CDATA[<a href="http://news.ycombinator.com/item?id=112684">Comments</a>]]></description> </item>
- pg 19y agoOk, does it work now? Here's what I'm doing: (def rss-stories (stories) (tag (rss version "2.0") (tag channel (tag title (pr this-site*)) (tag link (pr site-url*)) (tag description (pr site-desc*)) (each s stories (tag item (let comurl (+ site-url* (item-url s)) (tag title (pr (eschtml (s 'title)))) (tag link (pr (if (blank (s 'url)) comurl (eschtml (s 'url))))) (tag comments (pr comurl)) (tag description (pr "<![CDATA[") (link "Comments" comurl) (pr "]]>"))))))))
- pestilence 19y agoIt's working in akregator now (wasn't working before).
- Cald 19y agoIt works in Google Reader! Thanks!
- bd 19y agoBloglines now shows the link twice, one from <comments> and one from <description>.
- pg 19y agoArgh. Can anyone tell me a format that will work on all readers? Is the answer to ditch the comments field?
- dizz 19y agoYep - another confirm - comment linked working in google reader now - thanks!
- hugov 19y agoThanks PG - confirm everything appears to be completely working now!