List<Integer> searchPubmedIds(String term) throws JAXBException, IOException
{
String url = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term="
+ term.replace(" ", "%20");
ESearchResult res = getSearchResult(new URL(url));
return res.idList;
}