It Pays To Advertise
Joe Cheng: Configuring an AtomPub blog needs to be equally easy. For some reason, people in the AtomPub community don’t seem to like RSD (only Six Apart puts Atom endpoints in RSD). We need another autodiscovery mechanism.
Hmmm. When I looked at RSD nearly five years ago, it didn’t seem so bad. In any case, here’s a ticket and a patch to get WordPress to support autodiscovery of AtomPub endpoints.
Sam,
I looked at the patch, shouldn’t the service url be [href="' . get_bloginfo('wpurl') . "/wp-app.php/service\"]
Posted by Elias Torres atWouldn’t it be ideal to allow blog admins the ability to select which service is "preferred"?
Posted by James Snell at
shouldn’t the service url be ... /wp-app.php/service
I seem to get a service doc without that addition to the path, but I’ve gone ahead and updated the patch to include it.
maybe api/@name="AtomPub"
If I were designing this from scratch, that’s what I would prefer, but Joe mentioned that SixApart is already supporting this, so I went to seee what they are currently doing, and found this RSD file. It probably is better not to diverge at this point.
Wouldn’t it be ideal to allow blog admins the ability to select which service is "preferred"?
That certainly could be pursued as a separate enhancement. In general, however, preferences in this matter are enforced on the client side, so that’s where I personally would suggest that efforts be applied.
Posted by Sam Ruby atI just to have code in there that if not path_info was available I would redirect to /service. What do you think? I debated this with myself for some time whether or not service should be the default thing. However, maybe a user friendly page could be presented to the user if they typed it in a browser?
Posted by Elias Torres at
user friendly is generally a good idea. Something minimalist, along the style, but not the content, of the app namespace would be preferred. At a minimum, it should contain a link to the codex page, and possibly direct links to one or more of the resources listed at the bottom of that page.
Posted by Sam Ruby at
WLW+AtomPub, Part 1: Autodiscovery
When things are working properly, Windows Live Writer only requires the user to know three pieces of information to configure a blog: the blog homepage URL, the username, and the password. Even the most novice bloggers should be able to answer those...Excerpt from whateverblog. at
RSD and AtomPub — Together again for the first time…
It Pays To Advertise: Joe Cheng: Configuring an AtomPub blog needs to be equally easy. For some reason, people in the AtomPub community don’t seem to like RSD (only Six Apart puts Atom endpoints in RSD). We need another autodiscovery...Excerpt from turnings at