Rendering citations and references in HTML using PHP/Perl/Python/
Posted
by
Nick
on Pro Webmasters
See other posts from Pro Webmasters
or by Nick
Published on 2012-06-26T23:33:21Z
Indexed on
2012/06/27
3:23 UTC
Read the original article
Hit count: 252
Is there a PHP/Perl/Python/... library for picking citations out of an HTML file and rendering a nice list of references at the bottom, like in Wikipedia?
I'm developing a website with heavily-sourced content, and I'd really like to have automatically-generated lists of formatted references, like in Wikipedia. (Check out their philosophy page, and see how the superscript numbered citations interact with the references at the bottom. This is all dynamically generated, automatically ordered & linked.) They do it really well: the citations are linked to the references (which are backlinked to the citations), when you click on one of the links, the target is highlighted, etc. I'm tempted to build the site on MediaWiki just for this one feature, but it seems like overkill. Do I have any options?
© Pro Webmasters or respective owner