Wikipedia:Scripts/Perl scripts/hdump-head.pl

Script reads page metadata to attempt to generate a cite journal or PubMed search. Intended to be eventually integrated with the Template Filler, the example finds both PMID and DOI.

$ perl hdump-head.pl http://www.jlr.org/content/48/9/1936.long http://www.jlr.org/content/48/9/1936.long @0.0.1 "Novel synthetic ceramide derivatives increase intracellular calci..." citation_lastpage	1943 dc.language	en citation_volume	48 citation_journal_abbrev	J. Lipid Res. ... dc.publisher	American Society for Biochemistry and Molecular Biology citation_abstract_html_url	http://www.jlr.org/content/48/9/1936.abstract citation_pdf_url	http://www.jlr.org/content/48/9/1936.full.pdf citation_issn	0022-2275 citation_issn	1539-7262 dc.date	2007-09-01 citation_section	Research Article citation_id_from_sass_path	48/9/1936 robots	noarchive,nofollow
 * 1)    http://www.jlr.org/content/48/9/1936.long


 * author1=Yoo Bin Kwon |author2=Chang Deok Kim |author3=Jong-Kyung Youm |author4=Hyung Sub Gwak |author5=Byeong Deog Park \
 * author6=Seung Hun Lee |author7=Saewha Jeon |date=09/01/2007 \
 * title=Novel synthetic ceramide derivatives increase intracellular calcium levels and promote epidermal keratinocyte differentiation \
 * journal=J. Lipid Res. |volume=48 |issue=9 |pages=1936–1943 |pmid=17554144 |doi=10.1194/jlr.M700185-JLR200 \
 * url=http://www.jlr.org/content/48/9/1936.full

09/01/2007[dp] \ Novel synthetic ceramide derivatives increase intracellular calcium levels and promote epidermal keratinocyte differentiation[ti] \ J. Lipid Res.[ta] 48[vi] 9[ip] 1936–1943[pg]