h-cite

From IndieWeb
Jump to: navigation, search


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

Contents

IndieWeb Uses

There are several indieweb uses of h-cite:

  • 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]

FAQ

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

Retrieved from "https://indieweb.org/h-cite"
Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox