Bahaha.. below: “RSS feed for this thread” .. Yeah! like that!
after comments link in my theme:
<a href="/blog/rss_per_article.php?url=<?php urlencode(the_permalink()); ?>" rel="bookmark">subscribe to this article</a> -
and then here’s my duct-tape-and-popsicle-stick solution, rss_per_article.php:
<?php
// configuration start
$url = $_GET["url"];
$title="rename me in net news wire";
// configuration stop
// <<<heredoc_is_useful
echo <<<xml
<?xml version="1.0" encoding="utf-8"?>
<!-- generator="scrape-a-page/1.0" -->
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
<channel>
<title>$title</title>
<link>$url</link>
<description>$title</description>
<copyright>No Copyright</copyright>
<pubDate>Tue, 15 Feb 2005 20:52:38 +0000</pubDate>
<generator>scrape-a-page</generator>
<item>
<title>$title</title>
<link>$url</link>
<comments>$url</comments>
<pubDate>Tue, 15 Feb 2005 19:15:27 +0000</pubDate>
me
<category>scraping pages is fun</category> <guid>$url</guid>
<description>$title</description>
<content:encoded><![CDATA[
xml;
// heredoc_is_useful;
// seriously.
// scraaaape!
include($url);
echo <<<xml2
]]></content:encoded>
<wfw:commentRSS>$url</wfw:commentRSS>
</item>
</channel>
</rss>
xml2;
?>
well, you’re very lucky, because that doesn’t work for me. 🙂
What? That’s basic feature of WordPress 1.5!
If that doesn’t work try adding ?feed=rss at the end of your url.
works at home, I’ll have to check it at work too.. thanks
Hey, you know what, this doesn’t do what I want. It works, yes, but it doesn’t include the main post in the feed. I want it to include the content of the post in the feed, not just the comments.
Basically, I’m trying to extend the wiki like functionality that using pages offers, and rely on NetNewsWire to show me when pages are changed by my trusted co-authors.
The big problem with using pages is the unknown way it interacts with the rss feed… does it? Nope, it doesn’t show up in the feed. This is a really great way to let me let my viewers know when my site changes. I just go about being the content creator, and let my viewers subscribe to the pages they want to stay notified of changes.
Ok, relatedly, the most obvious way to make changes to pages would be with MarsEdit. Unfortunately, the xmlrpc front door doesn’t bother with pages. This is too bad… MarsEdit would make a supreme editing tool for pages. That would let me maintain my website without having to do it over the web.
can we have an xmlrpc script that just spits out pages? I guess that’s something I could investigate if I weren’t slammed with work currently. 🙁