On this page:
- How to add a custom Archive-It search box to your website
- Custom access portals created by our partners
How to add a custom Archive-It search box to your website
Using the HTML code below, you can include a search box on your website that will link searches back to the Archive-It collections hosted on Archive-It.org. You can provide full text search for all or any specific collections that you choose.
Single collection
To search across a single collection, use the following code:
<form action="http://www.archive-it.org/collections/COLLECTIONID">
<input type="text" name="q"/>
<input type="hidden" name="show" value="ArchivedPages"/>
<input type="submit" name="go" value="Go" />
</form>
Replace COLLECTIONID with the Archive-It collection number partners would like their patrons to search.
All Collections
To provide access to all of your public collections in a search box, use the following code:
<form action="http://www.archive-it.org/organizations/ORGANIZATIONID">
<input type="text" name="q"/>
<input type="hidden" name="show" value="ArchivedPages"/>
<input type="submit" name="go" value="Go" />
</form>
Replace ORGANIZATIONID with the Archive-It organization number (which can be found by going to the organization page on Archive-It.org) for which you intend to enable the search.
Advanced search options
If you would like the search box on your page to enable some of the capabilities used in "Advanced Search," please use the below information to help you construct the form on your page. Each of the below elements should be added as part of the form described for a basic search box above.
Ability to filter search by file type (available types: HTML, plain text, PDF, Postscript, Microsoft Word):
<select size="1" >
<option selected="selected" value="0">All formats</option>
<option value="text/html">HTML</option>
<option value="text/plain">Plain text</option>
<option value="application/pdf">PDF</option>
<option value="application/postscript">Postscript</option>
<option value="application/msword">Microsoft Word</option>
</select>
Ability to modify number of results per host site that should be returned:
<select name="hitsPerDupe">
<option value="1">1 (default)</option>
<option value="5">5</option>
<option value="10" selected="selected">10</option>
<option value="25">25</option>
<option value="0">Unlimited</option>
</select>
Ability to search only a specific host:
<input type="text" value="" size="44" name="host">
Custom access portals created by our partners
Follow the links below to browse the landing pages that some of our partners have created in order to enable access to their Archive-It collections. If you would like your institution to be listed, please let us know!
- Austin Presbyterian Theological Seminary
- Bodleian Libraries
- Clark Art Institute Library
- Emory University
- Library of Virginia
- Maryland State Archives
- New York Art Resources Consortium
- North Carolina State Archives & State Library of North Carolina
- University of Texas at Austin, Human Rights Documentation Initiative
- University of Texas at Austin, Latin American Government Documents Archive
- University of Texas at San Antonio
Comments
0 comments
Please sign in to leave a comment.