JAMA

From EZProxyWiki

Jump to: navigation, search

Contents

Sample configuration with username/password

T JAMA
URL -form=post jama https://publogin.ama-assn.org/cgi/login
FormVariable normal_login=yes
FormVariable redirect_path=
FormVariable redirect_query=
FormVariable uri=http://jama.ama-assn.org/
FormVariable username=USER
FormVariable signin=Sign In
FormVariable code=PASS

Replace USER and PASS with your username and password.

The starting URL is http://ezproxy.institution.edu/login/jama (the last part of this matching the word between "-form=post" and the real URL on the URL line).

Sample configuration with IP recognition

T Journal of the American Medical Association (JAMA)
U http://jama.ama-assn.org/
D ama-assn.org
HJ jama.ama-assn.org

RSS feed support

To offer support for JAMA's RSS feed, enclose the JAMA config stanza between the following two lines:

AnonymousURL -RE +http://[a-z]+\.ama-assn\.org/rss/[a-z]+\.xml
...
AnonymousURL -*

For example:

AnonymousURL -RE +http://[a-z]+\.ama-assn\.org/rss/[a-z]+\.xml
T Journal of the American Medical Association (JAMA)
U http://jama.ama-assn.org/
D ama-assn.org
HJ jama.ama-assn.org
AnonymousURL -*

Users could then subscribe to the proxied feed at http://jama.ama-assn.org.ezproxy.yourlib.org/rss/current.xml (substitute your EZProxy server domain for ezproxy.yourlib.org)

Requirements

The configuration for username/password requires EZproxy 2.2a GA (2003-08-02) or later.

The configuration for RSS feed support requires EZproxy 4.0a GA (2006-08-02) or later.