News for hackers. Stuff that matters.
Re:Ask PG: Link to comments in RSS by pg on Saturday February 09, 2008 @12:31PM (#112730)
There are comment links in the rss feed. Some readers show them and some don't. If anyone can give me the exact syntax that would work in the latter, I'll try it.
Re:Ask PG: Link to comments in RSS by brett on Saturday February 09, 2008 @03:06PM (#112778)

  <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>
      &lt;a href="http://news.ycombinator.com/item?id=112684"&gt;comments&lt;/a&gt;
    </description>
  </item>
Re:Ask PG: Link to comments in RSS by bd on Saturday February 09, 2008 @08:28PM (#112850)
Or 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>
Re:Ask PG: Link to comments in RSS by pg on Saturday February 09, 2008 @09:56PM (#112866)
Ok, 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 "]]>"))))))))
Re:Ask PG: Link to comments in RSS by bd on Sunday February 10, 2008 @01:37AM (#112923)
Bloglines now shows the link twice, one from <comments> and one from <description>.
Re:Ask PG: Link to comments in RSS by pg on Sunday February 10, 2008 @02:01AM (#112926)
Argh. Can anyone tell me a format that will work on all readers? Is the answer to ditch the comments field?
Re:Ask PG: Link to comments in RSS by ks on Sunday February 10, 2008 @06:12AM (#112965)
I also see them twice, but it doesn't bother me. Just leave it as it is.
Re:Ask PG: Link to comments in RSS by hugov on Friday February 22, 2008 @06:12AM (#121199)
On 20/2 at around 8:15 pm GMT, the comments link disappeared again for me (in Vienna). What's going on?
Re:Ask PG: Link to comments in RSS by Cald on Saturday February 09, 2008 @11:51PM (#112898)
It works in Google Reader!

Thanks!

Re:Ask PG: Link to comments in RSS by dizz on Sunday February 10, 2008 @05:35AM (#112957)
Yep - another confirm - comment linked working in google reader now - thanks!
Re:Ask PG: Link to comments in RSS by hugov on Sunday February 10, 2008 @08:01PM (#113159)
Thanks PG - confirm everything appears to be completely working now!
Re:Ask PG: Link to comments in RSS by pestilence on Saturday February 09, 2008 @10:08PM (#112869)
It's working in akregator now (wasn't working before).