Could be sub-titled "My stumbling blocks in applyng microformats".
This was for use by me as a question in Indieweb IRC. I was wondering how to mark-up some old imported Tumblr posts I'd reblogged that contained nested quotes. It doesn't really make sense unless you look at the HTML source.
See the microformats parsed in this page here.
Also see my accompanying blog post, that links back here, for further thoughts.
This was the way I'd come up with.
p-name
gets implied incorrectly for the h-cite
s. This content doesn't actually have a strict p-name
beyond the last bit of the url. I don't think there is any way to use that via microformats? Nope, tried u-name
. I think manually add in a p-name
on a span - I could even then hide that (even if frowned upon).
u-repost-of
of needs to be outside the h-cite
so it gets picked up under the h-entry
root class name, but then this duplicates the url. Also u-url
of the h-entry
gets implied as the u-repost-of
url in this example (although this will be overridden in the actual implementation).
Repost of What happened to Why
what-happened-to-why by person2:
what-happened-to-why by person1:
Person1's content
Person2's content
My content
gRegor` pointed me in the direction of this markup.
This one should give the same json output as the above, but just uses blockquotes and no divs. It is a tiny bit cleaner. I just need to check the visual display of it.
Repost of What happened to Why
what-happened-to-why by person2:
what-happened-to-why by person1:
Person1's content
Person2's content
My content
Published at: http://simp.ly/publish/MSD9YN_