Skip Navigation Bar
2007 MAY - JUNE; 356
Table of Contents Home Back Issues Indexes
The Technical Bulletin website will be updated in April 2026. Preview the new website.
Read more about the modernization release schedule in this announcement.
Contact the NLM Help Desk with any questions or concerns.
June 26, 2007 [posted]

Instructions for Creating a Web Link to the Entrez Databases Revised

Last month's announcement about the change to the PubMed URL (New and Improved PubMed®/Entrez and New URL) included a recommendation that links to PubMed be created using the instructions found in Creating a Web Link to the Entrez Databases.

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.

To create a link with a relative date range without activating Limits use the following format:

where X is the number of days, months, or years immediately preceding today's date and [Search Tag] is the date search tag:   [dp] or [edat].

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: //www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=pubmed&term=drug+resistant+tuberculosis+AND+"last 6 months"[dp]

By Kathi Canese
National Center for Biotechnology Information

Canese K. Instructions for Creating a Web Link to the Entrez Databases Revised. NLM Tech Bull. 2007 May-Jun; (356):e9.