\Header{pmAbst2HTML}{HTML Generation for PubMed Abstracts}
\alias{pmAbst2html2}{pmAbst2HTML}
\keyword{utilities}{pmAbst2HTML}
\begin{Description}\relax
This function will take a \code{pubMedAbst} object, or a list of these
objects and generate a simple web page that will list the titles of
the abstracts and link to their full page on PubMed\end{Description}
\begin{Usage}
\begin{verbatim}
pmAbst2HTML(absts, filename, title, simple = TRUE, table.center = TRUE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{absts}] A list of \code{pubMedAbst} (or a single object)
\item[\code{filename}] The output filename.  Defaults to absts.html
\item[\code{title}] Extra title information for your listing
\item[\code{simple}] Whether just to list the title \& publication date of
the paper or full information.  Currently unimplmented.
\item[\code{table.center}] If TRUE, will center the listing of abstracts
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This function uses the \code{Entrez} functionality provided by NCBI to
retrieve the abstract URL at the PubMed site.  It will then create a
tabular webpage which will list the titles of the abstracts provided
and have them link to the appropriate PubMed page.\end{Details}
\begin{Value}
A file with the name provided by \code{filename} containing a simple
HTML file.\end{Value}
\begin{Note}\relax
The functions are part of Bioconductor project at Dana-Farber
Cancer Institute to provide Bioinformatics functionalities through R\end{Note}
\begin{Author}\relax
Jeff Gentry\end{Author}
\begin{SeeAlso}\relax
\code{pubMedAbst}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
        x <- pubmed("9695952","8325638","8422497")
        a <- xmlRoot(x)
        numAbst <- length(xmlChildren(a))
        absts <- list()
        for (i in 1:numAbst) {
           absts[[i]] <- buildPubMedAbst(a[[i]])
        }
        fname <- tempfile()
        pmAbst2HTML(absts,filename=fname)
        file.remove(fname)
\end{ExampleCode}
\end{Examples}

