add microformats in the generated html markup for pages on Flarum. this would allow ease of parsing for third-party clients, integrations, or other projects by allowing easy conversion to JSON and allowing the web page itself to be used as an API.
as an example of how a discussion can be marked up with microformats:
- the entire discussion would have the
h-feed
class
- the title would be a link to the canonical URL of the discussion, and have the
p-name
and u-url
classes
- each post would have the
h-entry
class
- the author information would the
p-author
and h-card
classes
- the author's profile picture would have the
u-photo
class
- the author's name would have the
p-name
and u-url
class
- the post time would have the
dt-published
class
- the post contents would have the
e-content
class
- any "replying to" links would have the
u-in-reply-to
class