46°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Micropub Spec Updates

    April 8, 2016

    Since publishing the latest W3C draft of Micropub on March 1, there have been a few minor updates based on feedback from people who have implemented it.

    Simpler update syntax

    The update syntax had an extra nesting that was not necessary. The syntax changed from:

    replace[properties][content]=Hello+Moon

    to 

    replace[content]=Hello+Moon

    Moving a post

    If the update operation caused the post to be moved to a new URL (such as when the URL scheme is based off of the post's date, or has a custom slug that is editable), the Micropub client needs a way to know the new URL of the post.

    The Update Response section now includes HTTP 201 as a possible response, along with:

    If the update operation caused the URL of the post to change, the server must respond with HTTP 201 and include the new URL in the HTTP Location header

    More Information

    You can read the latest editor's draft of the spec here: http://micropub.net/draft/ as well as see the change log. The git commit history shows the full detailed changes.

    Thanks to Greg for providing feedback on his Micropub implementation.

    As always, feedback from implementation experience is appreciated! Feel free to file an issue, or join the #indiewebcamp chat!

    Portland, Oregon
    #micropub #indieweb
    Fri, Apr 8, 2016 12:11pm -07:00
Posted in /articles using quill.p3k.io

Hi, I'm Aaron Parecki, Senior Security Architect at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming and dabble in product design.

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Security Architect at Okta
  • IndieWebCamp Founder
  • OAuth WG Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2023 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention Not by AI W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv