nih-gov/www.nlm.nih.gov/pubs/techbull/mj07/mj07_entrez_web_link.html
2025-02-26 13:17:41 -05:00

284 lines
10 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@NLM_NIH">
<meta name="twitter:title" content="Instructions for Creating a Web Link to the Entrez Databases Revised. NLM Technical Bulletin. 2007 May&#8211;Jun">
<meta name="twitter:description" content=" The NLM Technical Bulletin is your source to stay informed about NLM products and services.">
<meta name="twitter:image" content="https://www.nlm.nih.gov/pubs/techbull/images/nlm_tech_bulletin_graphic_twitter.jpg">
<meta property="og:url" content="https://www.nlm.nih.gov/pubs/techbull/tb.html" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Instructions for Creating a Web Link to the Entrez Databases Revised. NLM Technical Bulletin. 2007 May&#8211;Jun" />
<meta property="og:description" content="The NLM Technical Bulletin is your source to stay informed about NLM products and services." />
<meta property="og:image" content="https://www.nlm.nih.gov/pubs/techbull/images/nlm_tech_bulletin_graphic_facebook.jpg" />
<title>Instructions for Creating a Web Link to the Entrez Databases Revised. NLM Technical Bulletin. 2007 May&#8211;Jun</title>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" title="The Dublin Core metadata Element Set" />
<meta name="DC.Title" content="Instructions for Creating a Web Link to the Entrez Databases Revised" />
<meta name="DC.Publisher" content="U.S. National Library of Medicine" />
<meta name="DC.Date.Issued" content="2007-06-13" />
<meta name="DC.Date.Modified" content="2012-08-27" />
<meta name="NLMDC.Date.LastReviewed" content="2012-08-27" />
<meta name="NLM.Contact.Email" content="nlmtechbull@mail.nlm.nih.gov" />
<meta name="DC.Type" content="Newsletters" />
<meta name="NLM.Permanence.Level" content="Permanent: Stable Content" />
<meta name="NLM.Permanence.Guarantor" content="U.S. National Library of Medicine" />
<meta name="DC.Rights" content="Public Domain" />
<meta name="DC.Language" content="eng" />
<meta name="DC.Subject.Keyword" content="Date of Publication" />
<meta name="DC.Subject.Keyword" content="Entrez" />
<meta name="DC.Subject.Keyword" content="Limits" />
<meta name="DC.Subject.Keyword" content="National Center for Biotechnology Information" />
<meta name="DC.Subject.Keyword" content="PubMed" />
<meta name="DC.Subject.Keyword" content="Update" />
<link rel="stylesheet" href="../techbulletin.css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss/techbull.rss" />
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-MT6MLL');</script>
<!-- End Google Tag Manager -->
</head>
<body link="#476B47" alink="#476B47" vlink="#476B47" text="#000000" bgcolor="ffffff">
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MT6MLL" height="0" width="0" style="display:none;visibility:hidden" title="googletagmanager"></iframe></noscript>
<!-- End Google Tag Manager -->
<a title="Skip the navigation on this page" href="#skipnav" class="skipnavigation">Skip Navigation Bar</a>
<a name="top" id="top"></a>
<div id="body" >
<div class="header">
<div class="shadow_bottom" align="left">
<div class="shadow_right">
<div class="shadow_corner">
<table class="title" width="100%" border="0" cellpadding="0" cellspacing="0" >
<col width="134" />
<col width="*" />
<tr>
<td>
<img src="../new_tb_graphics/tb_header_logo.gif" alt="" width="134" height="64" align="top" />
</td>
<td id="titleCell">
<img id="titleImage" src="../new_tb_graphics/tb_header_title.gif" alt="NLM Technical Bulletin"
title="" align="top" border="0" height="26" width="335"/>
<div id="titleText">NLM Technical Bulletin</div>
<div>
<a href="//www.nlm.nih.gov/">National&nbsp;Library&nbsp;of&nbsp;Medicine</a> |
<a href="//www.nih.gov/">National&nbsp;Institutes&nbsp;of&nbsp;Health</a>
</div>
</td>
</tr></table>
</div></div></div></div>
<div class="header">
<div class="shadow_bottom" align="left">
<div class="shadow_right">
<div class="shadow_corner">
<table class="grid" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr class="search" >
<td colspan="2" align="right">
<form method="get" action="//search.nlm.nih.gov/techbull/query" target="_self" name="searchForm">
<label for="searchInput">Search</label>
<input name="PARAMETER" type="text" id="searchInput" size="12" align="middle"/>
<input type="submit" id="searchGo" value="GO" />
<input type="hidden" name="FUNCTION" value="search" />
<input type="hidden" name="MAX" value="250" />
<input type="hidden" name="DISAMBIGUATION" value="true" />
<a href="/vsearchfaq.html">Help</a>
</form>
<img src="../new_tb_graphics/spacer.gif" width="10" height="1" border="0" alt="" />
</td>
</tr>
<tr>
<td colspan="2">
2007 MAY&#8211;JUNE; 356
</td>
</tr>
<tr>
<td class="gridBottomLeft">
<a href="mj07_issue_cover.html">Table of Contents</a>
</td><td class="gridBottomRight">
<a href="../tb.html" class="homeMenu">Home</a>
<a href="../back_issues.html" class="issuesMenu">Back&nbsp;Issues</a>
<a href="../new_index.html" class="indexMenu">Indexes</a>
</td>
</tr>
</table>
</div></div></div></div>
<!-- header_end-->
<div id="content" class="article">
<a id="skipnav" name="skipnav"></a>
<div class="actions">June 26, 2007 <span class="status">[posted]</span>
</div>
<h1>Instructions for Creating a Web Link to the Entrez Databases Revised</h1>
<p>
Last month's announcement about the change to the PubMed URL (<a href="//www.nlm.nih.gov/pubs/techbull/mj07/mj07_pubmed_url.html">New and Improved PubMed<span class="registered">&#174;</span>/Entrez and New URL</a>) included a recommendation that links to PubMed be created using the instructions found in <a href="//www.ncbi.nlm.nih.gov/books/NBK3862/">Creating a Web Link to the Entrez Databases</a>.
</p>
<p>
The instructions have been modified to use the new base URL for PubMed, eliminate an extraneous URL parameter, orig_db=database, and provide a simplified format for links with relative date ranges.
</p>
<p>
To create a link with a relative date range without activating Limits use the following format:
</p>
<ul>
<li>term="last <strong>X</strong> days"<strong>[Search Tag]</strong> </li>
<li>term="last <strong>X</strong> months"<strong>[Search Tag]</strong></li>
<li>term="last <strong>X</strong> years"<strong>[Search Tag]</strong> <br /><br /></li>
</ul>
<p>
where <strong>X</strong> is the number of days, months, or years immediately preceding today's date and <strong>[Search Tag]</strong> is the date search tag:&nbsp;&nbsp;&nbsp;[dp] or [edat].
</p>
<p>
For example, the following URL can be used to create a link that retrieves citations on drug resistant tuberculosis with a publication date that falls in the last six months: <a href="//www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&amp;db=pubmed&amp;term=drug+resistant+tuberculosis+AND+&quot;last+6+months&quot;[dp]">//www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&amp;db=pubmed&amp;term=drug+resistant+tuberculosis+AND+"last 6 months"[dp]</a>
</p>
<p class="authors">
By
Kathi Canese<br />
National Center for Biotechnology Information<br />
</p>
<img src="../new_tb_graphics/black_pixel.gif" width="450" height="1" alt="" />
<!--************************CHANGE CITATION INFORMATION BELOW*****************************-->
<p class="citation">Canese K. Instructions for Creating a Web Link to the Entrez Databases Revised. NLM Tech Bull. 2007 May-Jun; (356):e9.</p>
<!--************************END CITATION INFORMATION**************************************-->
</div><!-- end of content -->
<div class="header" align="center">
<div class="shadow_bottom" align="left">
<div class="shadow_right">
<div class="shadow_corner">
<table class="grid" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="mj07_pubmed_faq.html" title="Previous Page">PREVIOUS</a>
</td><td>
<span class="issueDateMenu" >
2007 MAY&#8211;JUNE</span> No. 356
</td>
<td class="gridNext">
<a href="mj07_pmc.html" title="Next Article">NEXT</a>
</td>
</tr>
<tr>
<td>
<a href="/pubs/techbull/stay_current.html" class="gridBottomLeft">Stay Current <img src="/pubs/techbull/new_tb_graphics/footer_icons_14h.gif" alt="E-Mail Sign Up"/></a>
</td><td class="gridBottomRight" colspan="2">
<a href="../tb.html" class="homeMenu">Home</a>
<a href="../back_issues.html" class="issuesMenu">Back&nbsp;Issues</a>
<a href="../new_index.html" class="indexMenu">Indexes</a>
</td>
</tr>
</table>
</div></div></div></div>
<!-- BEGIN NLM FOOTER -->
<div class="footer">
<a href="/">National Library of Medicine</a> 8600 Rockville Pike, Bethesda, MD 20894
<br>
<a href="//www.nlm.nih.gov/socialmedia/index.html">Connect with NLM</a>,
<a href="//www.nlm.nih.gov/web_policies.html">Web Policies</a>,
<a href="//www.nlm.nih.gov/careers/jobopenings.html">Careers</a>,
<a href="//www.nlm.nih.gov/accessibility.html">Accessibility</a>,
<a href="//www.usa.gov/">USA.gov</a>,
<a href="//www.hhs.gov/vulnerability-disclosure-policy/index.html">HHS Vulnerability Disclosure</a>
<br>
<a href="//www.nih.gov/">NIH</a>,
<a href="https://www.hhs.gov/">HHS</a>,
<a href="//www.nih.gov/institutes-nih/nih-office-director/office-communications-public-liaison/freedom-information-act-office">FOIA</a>,
<a class="supportLink" href="//support.nlm.nih.gov?from=" target="_blank">NLM Support Center</a>
</div>
</div><!-- body -->
<script src="//assets.nlm.nih.gov/jquery/jquery-latest.min.js"></script>
<script src="/scripts/support.js"></script>
<script src="/core/nlm-notifyExternal/1.0/nlm-notifyExternal.min.js"></script>
</body>
</html>