58°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Day 18: Showing Full Repost Content in p3k #100DaysOfIndieWeb

    January 7, 2017

    At the beginning of last year when I was working on rebuilding p3k, I made the decision to drop showing the full contents of my reposts in favor of launching the new site sooner. It's been bugging me for a long time, since it means that my reposts aren't really reposts at all, they're just a list of links.

    Today I took the first step in showing the full contents of my reposts. Since my posts are all based on mf2 property storage, I updated my templates to display the post like one of my posts if the "repost-of" property is an object rather than just a string.

    Now my reposts look like this!

    Much better compared to what it used to look like:

    Right now, all that's changed is if the storage file has the expanded repost content then it's displayed. I manually updated this repost to include the contents for the purposes of this post.

    The next step is to make my website automatically extract the original contents of the repost from the URL!

    For the curious, here's what this post looks like on disk now.

    You might recognize it as a compacted Microformats2 post serialized as YAML. So next step is filling in those repost-of properties by extracting them from the repost-of URL.

    Portland, Oregon
    Sat, Jan 7, 2017 1:37pm -08:00 #indieweb #repost #p3k #100daysofindieweb
    1 like 6 mentions
    • Ryan Barrett

    Other Mentions

    • Aaron Parecki aaronparecki.com
      My 2017 Year in Review
      Thu, Jan 4, 2018 2:40pm -08:00
    • Sebastiaan Andeweg seblog.nl
      Day 1: fixing reposts
      Mon, Jan 16, 2017 3:12am -08:00
    • Aaron Parecki aaronparecki.com
      Week in Review #100DaysOfIndieWeb
      Sat, Jan 14, 2017 10:48am -08:00
    • Aaron Parecki aaronparecki.com
      Day 24: Displaying Reply Context in p3k #100DaysOfIndieWeb
      Fri, Jan 13, 2017 6:51pm -08:00
    • Aaron Parecki aaronparecki.com
      Day 19: Automatically fetching reposted content #100DaysOfIndieWeb
      Sun, Jan 8, 2017 3:29pm -08:00
    • 100 Days of IndieWeb aaronparecki.com/tag/100daysofindieweb
      Day 18: Showing Full Repost Content in p3k #100DaysOfIndieWeb #100DaysOfCode aaronparecki.com/2017/01/07/5/d…
      Sat, Jan 7, 2017 9:39pm +00:00 (via brid-gy.appspot.com)
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