{"id":2298,"date":"2003-02-06T20:39:12","date_gmt":"2003-02-06T20:39:12","guid":{"rendered":"https:\/\/ezoons.com\/?p=2298"},"modified":"2003-02-06T20:39:12","modified_gmt":"2003-02-06T20:39:12","slug":"adding_in_comme","status":"publish","type":"post","link":"https:\/\/ezoons.com\/?p=2298","title":{"rendered":"Adding in comments to my RSS feed"},"content":{"rendered":"<p>This morning I was kind of struggling with how to add in comments to my RSS feed.  Radio has its own built in comment system, but I like mine a little bit more (and have plans to extend it a little bit in the near future).  One neat thing about RSS 2.0 is that there is an element in &lt;item&gt; called &lt;comments&gt;.  With an RSS aggregator that supports commenets you should be able to link to the comments right from the aggregator.<\/p>\n<p \/>\n<p>After digging around some, I ran into a page on <a href=\"http:\/\/backend.userland.com\/stories\/storyReader$210\">How to extend Radio&#8217;s RSS generator<\/a>.  From that I came up with the following bit of code for user.radio.callbacks.writeRssItemElement:<\/p>\n<p \/>\n<blockquote>\n<p><pre><p \/>on radioWeblogPost (adrtable, adrpost) {<p \/>  adrtable^.[\"comments\"] =<p \/>    \"https:\/\/ezoons.com\/wp-content\/uploads\/imported-legacy\/~gblake\/rcomment.php?comment=\" <p \/>    + number (nameof (adrpost^))}<\/pre>\n<\/p>\n<\/blockquote>\n<p \/>\n<p>So now I just need to run a few more tests, but I think it should work.<\/p>\n<p \/>\n<p><strong>Updated:<\/strong> D&#8217;oh, you&#8217;d think I know which directions the slashes should go by now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This morning I was kind of struggling with how to add in comments to my RSS feed. Radio has its own built in comment system, but I like mine a little bit more (and have plans to extend it a little bit in the near future). One neat thing about RSS 2.0 is that there [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2298","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ezoons.com\/index.php?rest_route=\/wp\/v2\/posts\/2298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ezoons.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ezoons.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ezoons.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ezoons.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2298"}],"version-history":[{"count":0,"href":"https:\/\/ezoons.com\/index.php?rest_route=\/wp\/v2\/posts\/2298\/revisions"}],"wp:attachment":[{"href":"https:\/\/ezoons.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ezoons.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ezoons.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}