XRay icon indicating copy to clipboard operation
XRay copied to clipboard

Hack in h-geo support

Open vikanezrimaya opened this issue 6 years ago • 2 comments

This adds h-geo microformat support. It's clunky but it should work. I'm no PHP gal so I hope you have CI or something that would test it.

Test case: this post by me that should contain a checkin with h-geo embedded. Should be parsed with latitude and longitude, showing a map in applications like Monocle.

vikanezrimaya avatar Sep 08 '19 20:09 vikanezrimaya

I think this needs extra checks for the cases where there is not a nested object in the geo property, or if that object is malformed?

sknebel avatar Sep 09 '19 17:09 sknebel

@aaronpk @sknebel I added some more checks. Not sure if I'm using XRay functions correctly tho

vikanezrimaya avatar Sep 15 '19 22:09 vikanezrimaya