From IndieWeb
Jump to: navigation, search

h-cite is the microformats2 vocabulary for marking up citations and references on web sites.

IndieWeb Uses

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
  • blockquotes - when quoting other blog posts, it's good to provide a fully marked up citation using h-cite
  • citation user interface - explicit <cite class="h-cite"> markup provided in an input text box at the bottom of blog posts for others to easily copy and paste into their follow up blog posts or responses.
    • Tantek provides such input boxes with citation markup to copy/paste in the footer of every article he publishes, e.g. [1]


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.

Indieweb examples

Christian Weiske

Christian Weiske uses h-cite to mark up books he has in his library - http://cweiske.de/books.htm

See Also