inukshuk / bibtex-ruby

A BibTeX library, parser, and converter for Ruby.
http://inukshuk.github.com/bibtex-ruby
GNU General Public License v3.0
156 stars 31 forks source link

Extracting from a database and rendering in a webpage #95

Closed dontwork closed 9 years ago

dontwork commented 10 years ago

So, I previously had a comment asking about looping through entries to add them to a database. Now I have a followup.

Can I use this gem to, having taken the necessary fields from database table cells, to display the data in the correct format in an HTML document?

Cheers!

inukshuk commented 10 years ago

What would be the correct format?

Obviously you can use this gem to re-build your bibliography based on the fields from the database, but if you just want to print them in an HTML table you could do so directly without using the BibTeX gem.

If by correct format you mean a specific citation style, you could look into using citeproc-ruby.

dontwork commented 10 years ago

I did indeed mean showing the reference in a specific citation style. I will check out citeproc.

Cheers!