Paste number 43063: here's how you do both

Paste number 43063: here's how you do both
Pasted by: jrochkind
When:2 years, 2 weeks ago
Share:Tweet this! | http://paste.lisp.org/+X87
Channel:#code4lib
Paste contents:
Raw Source | XML | Display As
Services.yaml
=========================
amazon:
	adaptor_class: ServiceAdaptors::Amazon
            url: http://whatever.amazon.com/whatever
            password: foo
	
google:
	adaptor_class: ServiceAdaptors::Google
	url: whatever
	password: whatever
	
            
jh_horizon:
	adaptor_class: ServiceAdaptors::Local::HorizonJH
	url: http://catalog.library.jhu.edu/
	other_crazy_config: whatever
	specialized_stuff: man

jh_sfx:
	adaptor_class: ServiceAdaptors::Sfx
	url: http://sfx.library.jhu.edu:8000/jhu_sfx

jh_sfx_welch:
	adaptor_class: ServiceAdaptors::Sfx
	url: http://sfx.library.jhu.edu:8000/jhu_sfx-welch


=========================

Institutions.yaml
=================
default_global:
	default: y
            Display_name: Default
            services: 
	     - amazon
                 - google

default_local:
	default: y
	Display_name: Johns Hopkins
	services:
	     - jh_horizon
                 - jh_sfx
		
 jh_med:
	default: n
            display_name: Welch Medical Library
            services:
	     - jh_sfx_welch
====================

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.