• I just figured out that I can embed statistics dashboards into WP posts using PHPExec and EZStatic. This is great because I can point my internal clients to pages on my blog. When they want to see stats updates for their data, they can just go to a url on my work blog.

    Now what would be super-l33t would be the ability to subscribe to single posts or pages so that when I pull the feed in my aggregator, the pie charts are all updated. The problem is that yes, I can do this, but eventually my posts will fall off the end of the feed.

    Anyone got any ideas for a “rss subscribe to this post” kind of function? Or how about “rss subscribe to this category” ? then I can make a separate category for the programs I do stats for, and let my clients subscribe to their program category in their aggregator.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter stevecooley

    (@stevecooley)

    Bahaha.. below: “RSS feed for this thread” .. Yeah! like that!

    Thread Starter stevecooley

    (@stevecooley)

    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/&quot;
    xmlns:wfw="http://wellformedweb.org/CommentAPI/&quot;
    >

    <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;
    ?>

    Thread Starter stevecooley

    (@stevecooley)

    well, you’re very lucky, because that doesn’t work for me. 🙂

    angsuman

    (@angsuman)

    What? That’s basic feature of WordPress 1.5!
    If that doesn’t work try adding ?feed=rss at the end of your url.

    Thread Starter stevecooley

    (@stevecooley)

    works at home, I’ll have to check it at work too.. thanks

    Thread Starter stevecooley

    (@stevecooley)

    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.

    Thread Starter stevecooley

    (@stevecooley)

    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. 🙁

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘rss subscribe to one page or post’ is closed to new replies.