simple stanza creation - oclc · 2020-07-04 · title (t) title canadian journal of counselling and...

Post on 15-Jul-2020

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Simple Stanza CreationAndrew Senior

McGill University

Directives and Stanzas

Title (T)

URL (U)

Host (H)

HostJavascript (HJ)

Domain (D)

DomainJavascript (DJ)

1st

2nd

Directives and Stanzas

Title Acta horticulturae

URL http://www.actahort.org

Domain actahort.org

Starting point URL:

http://proxy.library.mcgill.ca/login?url=http://www.actahort.org

After processing, EZproxy rewrites URL:

http://www.actahort.org.proxy3.library.mcgill.ca

Adding a New Stanza

Title

URL

Domain

• Start with this combination

• BUT click on a few links within the site and look at URL behaviour

• In this example, only path ending changes

http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc

http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/login

http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/search

http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/issue/archive

Title (T)

Title Canadian Journal of Counselling and Psychotherapy/ Revue canadienne de counseling et de psychothérapie

URL

Domain

• Title information is for humans

• Can include extra info such as former titles or parallel titles if helpful

• Titles must be on one line!

• If adding an extra line with other information, must use pound/hashtag (#) symbol #Revue canadienne de counseling et de psychothérapie

• Title information will appear in Ezproxy menu page

!

Target URLs (U)

Title Canadian Journal of Counselling and Psychotherapy

URL http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc

Domain

• Target URLs typically the homepage or top-level URL of resource

• Must retain http:// or https://

• Pay attention to whether http or https

• See https://www.oclc.org/support/services/ezproxy/documentation/cfg/spu-and-cfg.en.html for detailed info!

Domain (D)

Title Canadian Journal of Counselling and Psychotherapy

URL http://cjc-rcc.ucalgary.ca

Domain cjc-rcc.ucalgary.ca

• Element which follows the http:// part of the URL up to top-level (.ca, .org, .com)

• Directive does not retain http:// or https://

• Be mindful of over-reducing a domain• Usually give www.somewebsite.com as somewebsite.com

• However, ucalgary.ca = entire University of Calgary website, proxying whole university probably not necessary for this resource which is self-contained

Domain (D)

Title Canadian Journal of Counselling and Psychotherapy

URL http://cjc-rcc.ucalgary.ca

Domain cjc-rcc.ucalgary.ca

• http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/login

• http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/search

• http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/issue/archive

Chrome: http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/issue/archive

FireFox: http://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/index

DomainJavascript (DJ)

• If the site uses JavaScript, you will need to make Domain into DJ

• For example, if the login button uses JavaScript to display a form to fill in

https://cjc-rcc.ucalgary.ca/cjc/index.php/rcc/login

a DJ directive must be included to handle the JavaScript processing

Title Canadian Journal of Counselling

URL http://cjc-rcc.ucalgary.ca

DJ cjc-rcc.ucalgary.ca

Host (H)

• Many journal databases make new hostnames for each journal title ratherthan add to the URL path

Progress in Human Geographyhttp://phg.sagepub.com/ (not http://sagepub.com/phg)

• Remember, EZproxy is looking for a match against a URL or Host directive

http://proxy.library.mcgill.ca/login?url=http://phg.sagepub.com/

Title Sage Publications

URL http://online.sagepub.com

DJ sagepub.com

No entry for phg.sagepub.com!

Title Sage Publications

URL http://online.sagepub.com

Host phg.sagepub.com

DJ sagepub.com

Host (H) and HostJavascript (HJ)

• If starting point URL in catalogue has https://http://proxy.library.mcgill.ca/login?url=https://phg.sagepub.com/

Title Sage Publications

URL http://online.sagepub.com

HJ https://phg.sagepub.com

DJ sagepub.com

Thank you!

Questions?(In chat)

top related