51°F

Aaron Parecki

  • Articles
  • Notes
  • Photos

Wednesday, November 4, 2015

← Older → Newer
bicycle
1 hr 1 min
 
8.8 miles
 
bicycle
  • 10:05pm
    Asleep
    6:20am
    Awake
    8h 15m
    Slept
    Home in Portland, Oregon, USA
    Wed, Nov 4, 2015 6:20am -08:00
  • Ride
    2.23mi
    Distance
    12:48
    Duration
    10.4mph
    Avg Speed
    7:51am
    Start
    8:04am
    End
    Home in Portland, Oregon, USA
    Wed, Nov 4, 2015 8:04am -08:00
  • How Google’s AMP project speeds up the Web—by sandblasting HTML | Ars Technica (arstechnica.com)
    On the other hand, this nudges publishers toward an idea that's big in the IndieWeb movement: Publish (on your) Own Site, Syndicate Elsewhere (or POSSE for short). The idea is to own the canonical copy of the content on your own site but then to send that content everywhere you can. Or rather, everywhere you want to reach your readers. Facebook Instant Article? Sure, hook up the RSS feed. Apple News? Send the feed over there, too. AMP? Sure, generate an AMP page. No need to stop there—tap the new Medium API and half a dozen others as well.
    Wed, Nov 4, 2015 10:14am -08:00 #indieweb #amp
  • https://github.com/jasnell/w3c-socialwg-activitystreams/issues
    Aaron Parecki
    The definition of properties such as content allow for HTML markup to be included. However, the spec does not require that the media type be specified. This leads to inconsistent results when the consumer doesn't know what to expect.

    For example, if the "content" property *can* contain HTML, a consumer will be either stripping the HTML, sanitizing it, or displaying it directly. However, if a user enters something like "I had a great time at the View Source conference <o>", (<o> being an ascii representation of the conference logo), the consumer would need to HTML escape that before rendering it otherwise it would disappear from display. However there is no way to know whether the value is meant to be the literal text or interpreted as HTML.

    Additionally, the current spec does not allow for different media types for summary and content, since the mediaType property lives next to those properties. The following example demonstrates the problem:

    ```
    {
    "@context": "http://www.w3.org/ns/activitystreams";,
    "type": "Note",
    "mediaType": "text/html",
    "summary": "Hello <o>!",
    "content": "<b>Hello &lt;o&gt;!</b>"
    }
    ```

    My suggestion is to require that string values can *only* be plaintext, and if you want to have HTML for a value, then you enclose it in an object where you can specify mediaType. This would look something like the following, I'm open to suggestions on names:

    ```
    {
    "@context": "http://www.w3.org/ns/activitystreams";,
    "type": "Note",
    "summary": "Plaintext summary, always HTML escaped <o> before displaying",
    "content": {
    "type": "Object",
    "mediaType": "text/html",
    "value": "<p>HTML content goes <b>here</b></p>"
    }
    }
    ```
    Portland, Oregon, USA
    Wed, Nov 4, 2015 11:43am -08:00
  • Aaron Parecki
    at Gerding Theater at The Armory
    Portland, Oregon • Wed, November 4, 2015 12:15pm
    45.524201 -122.682149
    View Source conference! <o>
    Portland, OR, United States
    Wed, Nov 4, 2015 12:15pm -08:00
  • Aaron Parecki
    Lunchtime at the #viewsource conference. About to talk realtime messaging on a panel here!
    Armory Theater
    6 likes 1 repost
    Wed, Nov 4, 2015 12:48pm -08:00 #viewsource
  • Homebrew Website Club
    Nov
    4
    November 4, 2015 5:30pm - 7:30pm (-0800)
    Pints Brewing
    Portland, OR
    permalink #homebrew #indieweb
  • Ride
    3.82mi
    Distance
    28:31
    Duration
    8.1mph
    Avg Speed
    7:22pm
    Start
    7:51pm
    End
    Portland, Oregon, USA
    Wed, Nov 4, 2015 7:51pm -08:00
  • Ride
    2.81mi
    Distance
    19:52
    Duration
    8.5mph
    Avg Speed
    10:23pm
    Start
    10:43pm
    End
    Portland, Oregon, USA
    Wed, Nov 4, 2015 10:43pm -08:00
← Older → Newer

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