58°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • aaronpk https://github.com/aaronpk   •   Jan 30

    #11 Channel Order

    Aaron Parecki
    This has been implemented in Aperture and documented in the spec: https://indieweb.org/Microsub-spec#Set_Channel_Order
    Portland, Oregon, USA
    Mon, Feb 12, 2018 8:40am -08:00
  • Aaron Parecki
    Contributions from: Germany, United States
    Mon, Feb 12, 2018 8:17am -08:00
  • aaronpk https://github.com/aaronpk   •   Jan 30

    #4 Tracking read state or position

    Aaron Parecki

    I'm implementing a draft of this in Aperture right now. Here is the current API.

    Every entry now includes a unique system ID, meant for internal identification of the item (not global identification). This is returned in the timeline response as the parameter _id, and there is now also _is_read. For example:

    {
      "items": [
        {
          "type": "entry",
          "url": "http://example.com/100",
          ...
          "_id": "41003",
          "_is_read": false
      ]
    }
    

    These new _id values are meant to be opaque to clients, and must always be a string. Some servers will likely use integer database IDs, but other servers may use other string identifiers for entries depending on the implementation.

    Retrieving the list of channels now also includes the number of unread entries in the channel:

    {
      "channels": [
        {
          "uid": "notifications",
          "name": "Notifications",
          "unread": 0
        },
        {
          "uid": "YPGiUrZjNM36LNdpFy7eSzJE7o2aK82z",
          "name": "IndieWeb",
          "unread": 7
        }
      ]
    }
    

    To mark an individual entry as read:

    • action=timeline
    • channel=example
    • method=mark_read
    • entry=1234

    To mark multiple entires as read:

    • action=timeline
    • channel=example
    • method=mark_read
    • entry[]=1234
    • entry[]=5678

    Both of the above also work with method=mark_unread.

    To mark an entry read as well as everything before it:

    • action=timeline
    • channel=example
    • method=mark_read
    • last_read_entry=1234

    This is to address the use case of streams, where you really only care about knowing where in the stream you've scrolled to and whether there are any new entries since then.

    This is mostly inspired by the Feedly Markers API Mark one or more articles as read and Mark a feed as read

    Portland, Oregon, USA
    1 reply
    Mon, Feb 12, 2018 8:11am -08:00 #microsub #aperture
  • EdwardHinkle https://github.com/EdwardHinkle   •   Feb 12

    #19 New Channel gets sort 0, which messes with notifications

    Aaron Parecki
    🤦‍♂️ Thanks. I think I'll add new channels to the top!
    Portland, Oregon, USA
    Mon, Feb 12, 2018 7:58am -08:00
  • Aaron Parecki
    Contributions from: Belarus, Germany, United Kingdom, United States
    Mon, Feb 12, 2018 7:39am -08:00
  • Aaron Parecki
    Contributions from: Belarus, Germany, United States
    Mon, Feb 12, 2018 7:06am -08:00
  • Google Online Security Blog: A secure web is here to stay (security.googleblog.com)
    Mon, Feb 12, 2018 5:29am -08:00 #https
  • 9:19pm
    Asleep
    4:35am
    Awake
    7h 16m
    Slept
    21m
    Awake for
    Portland, Oregon, USA
    Mon, Feb 12, 2018 4:35am -08:00
  • Aaron Parecki
    Contributions from: Germany, United States
    Sun, Feb 11, 2018 9:03pm -08:00
  • Let's talk about usernames (www.b-list.org)
    Sun, Feb 11, 2018 8:53pm -08:00
  • https://www.b-list.org/weblog/2018/feb/11/usernames/
    Portland, Oregon • 42°F
    Sun, Feb 11, 2018 8:52pm -08:00
  • EdwardHinkle https://github.com/EdwardHinkle   •   Feb 12

    #18 Add support for WebSub

    Aaron Parecki
    Well that's not what I was expecting this issue to be about. Do you mean that you're going to run a server on behalf of the iOS client, so that you can send push notifications to it? I hadn't considered having Aperture send out WebSub notifications for content added to its channels, but that makes sense now that you mention it!
    Portland, Oregon, USA
    Sun, Feb 11, 2018 7:36pm -08:00 #aperture
  • Aaron Parecki
    at StreamPDX
    Portland, Oregon • Sun, February 11, 2018 3:19pm
    45.542637 -122.661012
    Day 2 interviews #streampdx
    Portland, OR, United States • 47°F
    1 like 3 Coins
    Sun, Feb 11, 2018 3:19pm -08:00 #streampdx
  • Ride
    1.06mi
    Distance
    7:04
    Duration
    12:22pm
    Start
    12:29pm
    End
    Portland, Oregon • 47°F
    Sun, Feb 11, 2018 12:29pm -08:00
  • EdwardHinkle https://github.com/EdwardHinkle   •   Feb 10

    #16 Decide whether Home and Notifications channels should be in the channel list

    Aaron Parecki

    Here is a diff of the changes.

    The main differences can be read here:

    • Channels
    • Retrieve the list of channels
    Portland, Oregon, USA
    Sun, Feb 11, 2018 11:07am -08:00 #microsub
  • Aaron Parecki
    1. aaronpk@aaronparecki ~/Code: curl -I https://ascraeus.org/article/websub-part-ii-aperture
    2. HTTP/1.1 200 OK
    3. Server: nginx
    4. Date: Sun, 11 Feb 2018 19:01:10 GMT
    5. Content-Type: text/html; charset=utf-8
    6. Content-Length: 55151
    7. Last-Modified: Sun, 11 Feb 2018 18:53:48 GMT
    8. Connection: keep-alive
    9. Keep-Alive: timeout=10
    10. Vary: Accept-Encoding
    11. ETag: "5a80913c-d76f"
    12. Cache-Control: max-age=0
    13. Accept-Ranges: bytes
    Portland, Oregon • 43°F
    Sun, Feb 11, 2018 11:01am -08:00
  • EdwardHinkle https://github.com/EdwardHinkle   •   Feb 10

    #16 Decide whether Home and Notifications channels should be in the channel list

    Aaron Parecki
    Okay, it sounds like we have a proposal for some changes around how these channels are handled:

    • The only special uid is `notifications`
    • A Microsub server is required to start with a single "Home" channel, the uid can be whatever it wants
    • Users can remove or rename the initial default channel
    • Servers MUST return the `notifications` channel as the first channel in the list
    • Servers MUST ignore the `notifications` channel when reordering channels
    • Clients SHOULD show the `notifications` channel separately in the UI
    Portland, Oregon, USA
    Sun, Feb 11, 2018 10:36am -08:00 #microsub
  • EdwardHinkle https://github.com/EdwardHinkle   •   Feb 10

    #16 Decide whether Home and Notifications channels should be in the channel list

    Aaron Parecki

    Some silo examples of "home" vs "notifications":

    Twitter

    GitHub

    Facebook

    and of course more on the wiki

    Some discussion from IRC about whether hardcoding a "home" channel even makes sense in the first place.

    Portland, Oregon, USA
    Sun, Feb 11, 2018 9:59am -08:00 #microsub
  • 9:45pm
    Asleep
    7:07am
    Awake
    9h 22m
    Slept
    17m
    Awake for
    Portland, Oregon, USA
    Sun, Feb 11, 2018 7:07am -08:00
  • Aaron Parecki
    at StreamPDX
    Portland, Oregon • Sat, February 10, 2018 2:56pm
    45.542637 -122.661012
    First of the Podcast Fellowship interviews! 🎙
    Portland, OR, United States • 49°F
    12 Coins
    Sat, Feb 10, 2018 2:56pm -08:00
older

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