62°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Day 36: Parsing h-review with XRay #100DaysOfIndieWeb

    January 25, 2017

    Today I added the h-review vocabulary to XRay. This means you may now see objects of "type: review" show up when using XRay. 

    This was going to be a straightforward addition, but I realized that it would have involved duplicating a lot of code in the parsing logic. So I ended up doing quite a bit of refactoring to consolidate the logic of extracting properties from the mf2 objects. This also means it's now a lot easier to add new vocabularies as well! In fact, while adding h-review, I had to also add h-product, in order for the reviewed item to show up correctly. 

    The only remaining issue with this is that the PHP mf2 parser has some issues with backcompat parsing for Microformats 1's hReview, so those end up looking messy right now. Once that's fixed in the parser, XRay will work with hReview as well!

    Portland, Oregon
    Wed, Jan 25, 2017 2:53pm -08:00 #100daysofindieweb #xray #mf2
    1 like 2 mentions
    • IndieWebCamp

    Other Mentions

    • Aaron Parecki aaronparecki.com
      My 2017 Year in Review
      Thu, Jan 4, 2018 2:40pm -08:00
    • 100 Days of IndieWeb aaronparecki.com/tag/100daysofindieweb
      Day 36: Parsing h-review with XRay #100DaysOfIndieWeb: aaronparecki.com/2017/01/25/14/…
      Wed, Jan 25, 2017 10:53pm +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