69°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Day 69: Initial Editing Support for Quill #100DaysOfIndieWeb

    February 27, 2017

    Today in Things I Should Have Done Ages Ago... I finally started adding support to Quill for editing posts. I'm going to have to build this out one by one for each post interface Quill supports, so I started with the easiest one, favorites.

    Eventually I will add an "edit" button to my bookmarklets, which is currently how I access most of Quill for writing posts, replies, bookmarks, etc. 

    (I used to have cute icons there, but they disappeared long ago during some syncing process in Chrome.)

    The bookmarklet will have code like the below:

    javascript:(function()%7B window.location = "https://quill.p3k.io/edit?url=" + encodeURIComponent(window.location.href)
    %7D)();

    The "/edit?url=" route in Quill does a Micropub query for all source properties, and inspects which properties come back. Depending on which properties are present, Quill then redirects to the appropriate editing interface based on the type of post it detects. For example, if it sees a "like-of" property in the post, then it redirects to "/favorite" with the post's URL in the query string. 

    The "/favorite" page then does a Micropub query for the specific properties it will edit (in this case, only the "like-of" property), and fills the URL in the form. When you click "Save", it makes a Micropub edit request to replace the value of the "like-of" property.

    I'll be making more (slow) progress on adding editing support to the rest of the interfaces!

    Portland, Oregon
    Mon, Feb 27, 2017 12:52pm -08:00 #100daysofindieweb #quill #micropub
    2 likes 1 reply 1 mention
    • Barry Frost
    • Barry Frost
    • Ryan Barrett snarfed.org

      cool! can’t wait to see someone use this with a WordPress site!

      Mon, Feb 27, 2017 3:40pm -08:00

    Other Mentions

    • Aaron Parecki aaronparecki.com
      Day 70: Editing Reposts in Quill
      Tue, Feb 28, 2017 7:35pm -08:00
Posted in /articles using quill.p3k.io

Hi, I'm Aaron Parecki, Director of Identity Standards 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. (detailed bio)

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.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board 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-2025 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 W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv