barryf / micropublish

A Micropub client that you can use to create, update, delete and undelete content on your Micropub-enabled website.

Home Page:https://micropublish.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I post a nested mf2 object?

aaronpk opened this issue · comments

The implementation report says that Micropublish can create a post with a nested Microformats2 object. I don't see anything in the interface that supports this. How can I do this?

Hmm. I don't think that's right. Perhaps I was thinking of content[html] when filling out the report. I'll update the report in that case.

Current status with the client tests: https://micropub.rocks/client/jnTeUXAPcR8gLvr1

ah okay. Those micropub.rocks links aren't public. Did you run through the test suite with micropublish already? How did the results compare to your submitted report?

I think they're all fine. Without photo support I'm unable to complete the full set but otherwise it should match. As you point out, there's no support for a nested mf2 object (test 204). How have you implemented that with Quill? Locations?

Quill supports posting h-reviews, with a nested h-product. Also the travel plans are nested mf2 objects but that vocab is completely experimental. The h-review vocab is documented here http://microformats.org/wiki/h-review

I've pushed an update that includes a new "Check-in" type with a location field that uses a nested h-geo object.

It successfully creates check-ins on my dev server and now passes the Micropub.rocks 204 test.

Correction: I'm using h-card so I can have a name property. And that's now live.