WordPress.org

Ready to get started?Download WordPress

Forums

ESF and RSD for WordPress (7 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Well, it Looks Like It Works™ , so here's to you:
    ESF 1.0 Feed and RSD 1.0 for WordPress.
    *Disclaimer* : I am not a programmer, by a long way. This code will probably look ugly as hell to most of you, but it's the best I've been able to come up with. So if you've got any suggestions for making it better, please let me (and the others) know: I'm more than willing to learn from your experience!
    <dl>
    <dt>What's this, and what it is for?</dt>
    <dd>Here you'll find more information on ESF and on RSD, straight from the horse's' mouths, so to speak. In short, ESF is a very simple feed format presented as straight text, no fuss, no bells and no whistles. As for RSD, it should help blog clients (such as Zempt or Archipelago, e.g.) interacting better with blog software (like WordPress, for instance ;o)</dd>
    <dt>How do you use it?</dt>
    <dd> Simply upload the desired files to your wordpress root folder and change their extension from .txt to .php. Then, for ESF, add the following to the "head" section of index.php:

    <link rel="alternate" type="text/plain" title="ESF 1.0" href="<?php echo $siteurl; ?>/wp-esf.php" />

    As for RSD, the code to add (same procedure as for ESF) is:

    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php echo $siteurl; ?>/wp-rsd.php" /></dd>
    <dt>Why did I do it?</dt>
    <dd>As I said, I'm no programmer. ESF and RSD are simple enough for me to understand, and it looked like a good way to practice and learn. So, yes, it's simply for the sheer sake of it. But perhaps some of you will enjoy it... Besides, MT comes with RSD support by default, and we don't want WP to lag behind, do we? ;o) </dd>
    <dt>But does any feed reader support ESF?</dt>
    <dd>As a matter of fact, there is at least one that does: R3R, a RSS 3.0 reader (and yes, I know that RSS 3.0 was intended as a practical joke). A better question could be: "But is ESF any real use?" I'm no big specialist, either, so the real utility of ESF (or RSD, for that matter) is open to debate. Suffice to say that the simplicity of ESF has induced me to approach the subject being less intimidated by it, and who knows? It could prove useful the day I wish to cook an Atom 1.0 or RSS 4.5 (with Winer Enzymes™) myself. One can only hope... </dd>
    </dl>
    That's all there is to it, I think. So, enjoy!

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    Sorry for the tag butchery! I hope the post is still readable for you...

  3. _mf_
    Member
    Posted 10 years ago #

    I've added it to the Wiki, feel free to edit/update it there.

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    Thanks, _mf_, next time I'll know better! ;o) One little step at a time...

  5. _mf_
    Member
    Posted 10 years ago #

    Actually, sometimes I think it makes sense to announce/publish stuff here for revision and comments. Then it's worth the effort to put it cleanly in Wiki. However the Wiki has better tools for history comparison/tracking, IMHO.

  6. Serge K. Keller, FCD
    Member
    Posted 10 years ago #

    Re-check that: it seems that, although being used as plain text, an ESF feed should be sent as esf/text. Thus, you should add the link in the "head" section like this:
    <link rel="alternate" type="esf/plain" title="ESF 1.0" href="<?php echo $siteurl; ?>/wp-esf.php" />
    The Wiki has been amended to reflect this.

  7. Serge K. Keller, FCD
    Member
    Posted 9 years ago #

    See the Wiki for updated download links

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags