\input bibtex.4ht 
 
/usr/local/teTeX/share/texmf/bibtex/bib/xampl.bib 
 
\NewConfigure{@preamble}{1} 
\Configure{@preamble}  {\let\thisbib=\ignore} 
\NewConfigure{@STRING}{1} 
\Configure{@STRING}  {\let\thisbib=\ignore} 
\long\def\ignore#1{} 
 
\newcommand{\noopsort}[1]{} 
\newcommand{\printfirst}[2]{#1} 
\newcommand{\singleletter}[1]{#1} 
\newcommand{\switchargs}[2]{#2#1} 
\def\temp#1{% 
   \NewConfigure{#1}{2} 
   \Configure{#1}% 
      {\IgnorePar\HCode{<p class="bib-#1"> 
           <span class="bib-key">\bibkey</span>}}% 
      {\HCode{</p>}}} 
 
\temp{ARTICLE} 
\temp{BOOKLET} 
\temp{BOOK} 
\temp{INBOOK} 
\temp{INCOLLECTION} 
\temp{INPROCEEDINGS} 
\temp{MANUAL} 
\temp{MASTERSTHESIS} 
\temp{MISC} 
\temp{PHDTHESIS} 
\temp{PROCEEDINGS} 
\temp{TECHREPORT} 
\temp{UNPUBLISHED} 
 
\def\temp#1{% 
  \NewConfigure{#1}{2} 
  \Configure{#1}% 
     {\HCode{<br /><span class="bib-#1">}}% 
     {\HCode{</span>}}} 
\temp{address} 
\temp{author} 
\temp{booktitle} 
\temp{chapter} 
\temp{crossref} 
\temp{edition} 
\temp{editor} 
\temp{howpublished} 
\temp{institution} 
\temp{journal} 
\temp{key} 
\temp{month} 
\temp{note} 
\temp{number} 
\temp{organization} 
\temp{pages} 
\temp{publisher} 
\temp{school} 
\temp{series} 
\temp{title} 
\temp{type} 
\temp{volume} 
\temp{year} 
 
\bibtex{/usr/local/teTeX/share/texmf/bibtex/bib/xampl.bib} 
 
\end{document}