ഫലകം:Internet Archive author
This template uses Lua: |
Internet Archive author is a template to generate links to Internet Archive for works by or about a person. It is similar in purpose to {{Gutenberg author}} and {{Librivox author}} though not limited to authors. Musicians, film directors, etc.. any person with a work on Archive.org
Usage
തിരുത്തുകIn most cases the template is used without parameters. For example:
==External links== * {{Internet Archive author}}
Optional parameters include:
- name: Article name. Defaults to current page name. Use this option if the template is being used on a page different from the article in question, such as on Talk pages.
- dname: Display name. Name displayed in the template. Defaults to article title (or name if set). If set, takes precedence.
- sname: Search name. Name used when searching IA. Defaults to article title (or name if set). If set, takes precedence.
- Example for Constantine the Great: {{Internet Archive author|sname=Constantine I}}. This yields better search results that the default Wikipedia article title.
- Example for Olympiodorus of Thebes: {{Internet Archive author|sname=Olympiodorus}}. Middle names of "the", "of" etc.. are often - though not always - better removed with sname. Test to see which returns the best results.
- birth: Birth year. Defaults to the year found in [[Category: <year> births]]
- death: Death year. Defaults to the year found in [[Category: <year> deaths]]
- media: Specify IA media collection(s) to search. Default is all of them: texts audio video
- Example for Edward Elgar: {{Internet Archive author|media=texts audio}} produces
- coda: Special message at end.
- Example for Claude Hagège: {{Internet Archive author|media=texts|coda=(scanned books)}} produces
- Works by or about Claude Hagège at Internet Archive (scanned books)
- search: Custom search string. See instructions below.
Example with optional parameters:
==External links== * {{Internet Archive author|name=Albert Einstein|birth=1879|death=1955}}
BC dates
തിരുത്തുകCurrently the script does not automatically determine BC dates eg. Category:63 BC births. Authors born/died previous to 1 AD can have the dates set manually via the options, leave off the BC and use numbers only.
Custom search
തിരുത്തുകIt is possible to use a custom search. Test your search on Internet Archive, when satisfied copy and paste it into the search argument.
- Example: {{Internet Archive author|search=(András Giró-Szász AND collection:audio_music)}} produces
- Note: a custom search is surrounded by () parenthesis when passed to the template.
- Note: the maximum length of this string has not been tested. Any trouble, please report on the template talk page.
Example output
തിരുത്തുകThe script output is best shown by example. The following use name, birth and death parameters so it will work on this page; in practice this information is obtained automatically from the article where the template is used and no parameters are needed.
2-word name
- {{Internet Archive author|name=Charles Dickens|birth=1812|death=1870}}
- Results in:
- Works by or about Charles Dickens at Internet Archive
- Generated search string:
(subject:"Dickens, Charles, 1812-1870" OR creator:"Dickens, Charles, 1812-1870" OR creator:"Charles Dickens" OR title:"Charles Dickens" OR description:"Charles Dickens")
- Generated search string:
- Internet Archive often uses the author's date of birth/death in the metadata.
3-word name
- {{Internet Archive author|name=Harriet Beecher Stowe|birth=1811|death=1896}}
- Results in:
- Works by or about Harriet Beecher Stowe at Internet Archive
- Generated search string:
(subject:"Stowe, Harriet Beecher, 1811-1896" OR subject:"Stowe, H. B. (Harriet Beecher), 1811-1896" OR subject:"Stowe, Harriet B. (Harriet Beecher), 1811-1896" OR subject:"Stowe, Harriet Beecher" OR subject:"Stowe, H. B. (Harriet Beecher)" OR subject:"Stowe, Harriet B. (Harriet Beecher)" OR subject:"Harriet Beecher Stowe" OR subject:"Harriet B. Stowe" OR subject:"H. B. Stowe" OR creator:"Stowe, Harriet Beecher, 1811-1896" OR creator:"Stowe, Harriet Beecher, Sir, 1811-1896" OR creator:"Stowe, H. B. (Harriet Beecher), 1811-1896" OR creator:"Stowe, Harriet B. (Harriet Beecher), 1811-1896" OR creator:"Stowe, Harriet Beecher" OR creator:"Stowe, H. B. (Harriet Beecher)" OR creator:"Stowe, Harriet B. (Harriet Beecher)" OR creator:"Harriet Beecher Stowe" OR creator:"Harriet B. Stowe" OR creator:"H. B. Stowe" OR title:"Harriet Beecher Stowe" OR title:"Harriet B. Stowe" OR title:"H. B. Stowe" OR description:"Harriet Beecher Stowe" OR description:"Harriet B. Stowe" OR description:"H. B. Stowe" OR description:"Stowe, Harriet Beecher" OR description:"Stowe, H. B. (Harriet Beecher)" OR description:"Stowe, Harriet B. (Harriet Beecher)")
- Generated search string:
- Three words creates many more possible combinations. This search string is near the maximum of IA's length limit and is not inclusive of all possibilities.
4-word name
- {{Internet Archive author|name=Johann Heinrich Samuel Formey|birth=1711|death=1797}}
- Results in:
- Works by or about Johann Heinrich Samuel Formey at Internet Archive
- Generated search string:
(subject:"Formey, Johann Heinrich Samuel, 1711-1797" OR creator:"Formey, Johann Heinrich Samuel, 1711-1797" OR creator:Johann Heinrich Samuel Formey)
- Generated search string:
- 4-word and longer names have by necessity shorter search strings.
2-word name, missing DOB or DOD
- {{Internet Archive author|name=Claude Hagège|birth=1936}}
- Results in:
- Works by or about Claude Hagège at Internet Archive
- Generated search string:
(subject:"Hagège, Claude" OR creator:"Hagège, Claude" OR creator:"Claude Hagège" OR title:"Claude Hagège" OR description:"Claude Hagège")
- Generated search string:
- Unlike the Harriet Beecher Stowe 3-word example, the script reverts to a simpler search when missing birth/death information (normally found automatically via Categories, a living person is used here for purpose of example).
Information
തിരുത്തുക- The script produces an optimized Internet Archive search string. By way of background, Internet Archive metadata is inconsistent. This is because the works are entered into the catalog by thousands of independent entities (libraries, persons, etc). Each may choose to use some metadata fields or not others. And the field contents are inconsistent, for example there are many ways to enter a 3-word name (John H. Smith, J.H. Smith, "Smith, J. H. (1900-1970)", etc.. ). Thus, simply entering a name into the IA search box will often miss many works that are cataloged under other variations, or in different fields besides author name. The search strategy used in this script is based on the number of words in a name so that various combination possibilities can be built. The IA fields "subject" and "creator" are the most common search targets and will usually find the majority of books. The "title" and "description" fields are also useful, but they are a more "greedy-search" and thus have to be balanced against too many false positives. Complicating matters, IA limits how long a search string can be so this strategy has limits beyond 3-word names, but it still can find many more works than a basic search.
- The produced URL is Protocol Relative. See WP:PRURL.
See also
തിരുത്തുക- External Link Discovery - tool for finding articles in need of this and other author templates.
- {{Internet Archive}} - general purpose IA search not limited to books. Uses a simple search.
- {{OL author}} - includes copyright books. OL is a catalog not a repository (an opensource WorldCat)
- {{IA author}} - outmoded template
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Internet Archive author/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |