Show HN: celine/bibhtml: a Web Components referencing system for HTML documents
82 points
by mbo
3 days ago
| 2 comments
| maxbo.me
| HN
zczc
5 hours ago
[-]
Interesting, but the simpler way is to use plain html with microformats [1], so this:

  @book{kn:gnus,
  AUTHOR = "Donald E. Knudson",
  TITLE = "1966 World Gnus Almanac",
  PUBLISHER = {Permafrost Press},
  ADDRESS = {Novosibirsk} }
becomes this:

  <div class="book" id="kn:gnus">
   <div class="author">Donald E. Knudson</div>
   <div class="title">1966 World Gnus Almanac</div>
   <div class="publisher">Permafrost Press</div>
   <div class="address">Novosibirsk</div>
  </div>
[1] http://microformats.org/wiki/citation-formats#BibTeX
reply
spankalee
3 hours ago
[-]
That doesn't do the same thing at all. It doesn't create numbered citations, backlinks, or a bibliography.
reply
arcbyte
1 hour ago
[-]
OP is pointing out the stupidity of the custom citation syntax that the javascript library uses to create all those features, and highlighting how idiomatic HTML supports the same data markup requirements of the citation with far superior standards and styling support.
reply
eterps
7 hours ago
[-]
Impressive, this actually 'feels' like an extension for HTML (rather than some custom styles).
reply