Jump to navigation Jump to search
This article is a stub. You can help the IndieWeb wiki by expanding it.
h-cite is the microformats2 vocabulary for marking up citations and references on web sites.
There are several IndieWeb uses of h-cite:
- photo - As information on an embedded photo. For example, if it has a different author than the post.
- reply-context - On the summary display of the original post that a reply/comment is in-reply-to.
- comments - On comments shown below a post that have been federated/syndicated in from their original reply permalink.
- like - Add additional add context about what you like.
- repost - Add additional add context about what resonated with you and you wished to draw the reader's attention to through the repost.
Notes on markup and usability
- blockquote and cite tags - when quoting other blog posts, it's good to provide a fully marked up citation using h-cite and the blockquote and cite HTML tags.
- Citation user interface - it is suggested to provide an explicit <cite class="h-cite"> markup in an input text box at the bottom of blog posts. This allows others to easily copy and paste your content into their follow-up blog posts or responses.
Q: When making a mentions stream, should I use h-cite around each entry?
A: If you are displaying the entire entry, then it does not need an h-cite. If you are citing a summary of the entry — e.g. name, URL, and dt-published — then an h-cite is appropriate.
Christian Weiske uses h-cite to mark up books he has in his library - http://cweiske.de/books.htm
gRegor Morrill: I've published h-cite on:
- read posts at https://gregorlove.com/channels/reading
- reply-contexts in reply posts, for example: https://gregorlove.com/2020/06/this-is-fantastic/
- incoming responses feed at https://gregorlove.com/responses/