blacklight 3.0pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.gitmodules +6 -0
- data/.yardopts +4 -0
- data/Gemfile +4 -0
- data/LICENSE +14 -0
- data/README.rdoc +168 -0
- data/Rakefile +9 -0
- data/app/controllers/bookmarks_controller.rb +98 -0
- data/app/controllers/feedback_controller.rb +37 -0
- data/app/controllers/folder_controller.rb +49 -0
- data/app/controllers/saved_searches_controller.rb +45 -0
- data/app/controllers/search_history_controller.rb +25 -0
- data/app/helpers/blacklight_helper.rb +606 -0
- data/app/helpers/bookmarks_helper.rb +3 -0
- data/app/helpers/catalog_helper.rb +65 -0
- data/app/helpers/feedback_helper.rb +2 -0
- data/app/helpers/hash_as_hidden_fields.rb +57 -0
- data/app/helpers/render_constraints_helper.rb +120 -0
- data/app/helpers/saved_searches_helper.rb +2 -0
- data/app/helpers/search_history_helper.rb +2 -0
- data/app/models/bookmark.rb +6 -0
- data/app/models/record_mailer.rb +43 -0
- data/app/models/search.rb +19 -0
- data/app/views/_flash_msg.html.erb +6 -0
- data/app/views/_user_util_links.html.erb +13 -0
- data/app/views/bookmarks/index.html.erb +33 -0
- data/app/views/catalog/_bookmark_control.html.erb +25 -0
- data/app/views/catalog/_bookmark_form.html.erb +8 -0
- data/app/views/catalog/_citation.html.erb +15 -0
- data/app/views/catalog/_constraints.html.erb +7 -0
- data/app/views/catalog/_constraints_element.html.erb +33 -0
- data/app/views/catalog/_did_you_mean.html.erb +10 -0
- data/app/views/catalog/_document_list.html.erb +30 -0
- data/app/views/catalog/_email_form.html.erb +11 -0
- data/app/views/catalog/_facet_limit.html.erb +33 -0
- data/app/views/catalog/_facet_pagination.html.erb +28 -0
- data/app/views/catalog/_facets.html.erb +9 -0
- data/app/views/catalog/_folder_control.html.erb +12 -0
- data/app/views/catalog/_home.html.erb +6 -0
- data/app/views/catalog/_home_text.html.erb +6 -0
- data/app/views/catalog/_index_partials/_default.erb +11 -0
- data/app/views/catalog/_marc_view.html.erb +33 -0
- data/app/views/catalog/_opensearch_response_metadata.html.erb +3 -0
- data/app/views/catalog/_previous_next_doc.html.erb +6 -0
- data/app/views/catalog/_refworks_form.html.erb +7 -0
- data/app/views/catalog/_results_pagination.html.erb +11 -0
- data/app/views/catalog/_search_form.html.erb +14 -0
- data/app/views/catalog/_show_partials/_default.html.erb +9 -0
- data/app/views/catalog/_show_sidebar.html.erb +1 -0
- data/app/views/catalog/_show_tools.html.erb +46 -0
- data/app/views/catalog/_sms_form.html.erb +23 -0
- data/app/views/catalog/_solr_request.html.erb +5 -0
- data/app/views/catalog/_sort_and_per_page.html.erb +20 -0
- data/app/views/catalog/_unapi_microformat.html.erb +1 -0
- data/app/views/catalog/citation.html.erb +1 -0
- data/app/views/catalog/email.erb +1 -0
- data/app/views/catalog/endnote.endnote.erb +1 -0
- data/app/views/catalog/facet.html.erb +28 -0
- data/app/views/catalog/index.atom.builder +108 -0
- data/app/views/catalog/index.html.erb +37 -0
- data/app/views/catalog/index.rss.builder +19 -0
- data/app/views/catalog/librarian_view.html.erb +3 -0
- data/app/views/catalog/opensearch.json.erb +0 -0
- data/app/views/catalog/opensearch.xml.erb +11 -0
- data/app/views/catalog/send_email_record.erb +0 -0
- data/app/views/catalog/show.endnote.erb +1 -0
- data/app/views/catalog/show.html.erb +42 -0
- data/app/views/catalog/show.refworks.erb +1 -0
- data/app/views/catalog/sms.erb +1 -0
- data/app/views/catalog/unapi.xml.builder +6 -0
- data/app/views/feedback/complete.html.erb +3 -0
- data/app/views/feedback/show.html.erb +20 -0
- data/app/views/folder/_tools.html.erb +23 -0
- data/app/views/folder/index.html.erb +44 -0
- data/app/views/layouts/blacklight.html.erb +49 -0
- data/app/views/record_mailer/email_record.erb +6 -0
- data/app/views/record_mailer/sms_record.erb +4 -0
- data/app/views/saved_searches/index.html.erb +27 -0
- data/app/views/search_history/index.html.erb +23 -0
- data/blacklight.gemspec +50 -0
- data/config.ru +4 -0
- data/config/routes.rb +54 -0
- data/db/seeds.rb +7 -0
- data/features/generators.feature +77 -0
- data/features/support/aruba.rb +9 -0
- data/install.rb +0 -0
- data/install/solr.yml +8 -0
- data/lib/blacklight.rb +121 -0
- data/lib/blacklight/catalog.rb +311 -0
- data/lib/blacklight/comma_link_renderer.rb +27 -0
- data/lib/blacklight/configurable.rb +46 -0
- data/lib/blacklight/controller.rb +121 -0
- data/lib/blacklight/engine.rb +32 -0
- data/lib/blacklight/exceptions.rb +13 -0
- data/lib/blacklight/marc.rb +46 -0
- data/lib/blacklight/marc/citation.rb +251 -0
- data/lib/blacklight/search_fields.rb +107 -0
- data/lib/blacklight/solr.rb +7 -0
- data/lib/blacklight/solr/document.rb +239 -0
- data/lib/blacklight/solr/document/dublin_core.rb +40 -0
- data/lib/blacklight/solr/document/email.rb +15 -0
- data/lib/blacklight/solr/document/marc.rb +84 -0
- data/lib/blacklight/solr/document/marc_export.rb +430 -0
- data/lib/blacklight/solr/document/sms.rb +13 -0
- data/lib/blacklight/solr/facet_paginator.rb +93 -0
- data/lib/blacklight/solr_helper.rb +413 -0
- data/lib/blacklight/user.rb +55 -0
- data/lib/blacklight/version.rb +3 -0
- data/lib/colorize.rb +196 -0
- data/lib/generators/blacklight/blacklight_generator.rb +134 -0
- data/lib/generators/blacklight/templates/SolrMarc.jar +0 -0
- data/lib/generators/blacklight/templates/catalog_controller.rb +8 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/config-test.properties +37 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/config.properties +37 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/index.properties +97 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/index_scripts/dewey.bsh +47 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/index_scripts/format.bsh +126 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/README_MAPS +1 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/callnumber_map.properties +407 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/composition_era_map.properties +56 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/country_map.properties +379 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/format_map.properties +50 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/instrument_map.properties +101 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/language_map.properties +490 -0
- data/lib/generators/blacklight/templates/config/blacklight_config.rb +245 -0
- data/lib/generators/blacklight/templates/config/solr.yml +6 -0
- data/lib/generators/blacklight/templates/migrations/add_user_types_to_bookmarks_searches.rb +11 -0
- data/lib/generators/blacklight/templates/migrations/create_bookmarks.rb +17 -0
- data/lib/generators/blacklight/templates/migrations/create_searches.rb +15 -0
- data/lib/generators/blacklight/templates/migrations/remove_editable_fields_from_bookmarks.rb +11 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/bg.png +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/border.png +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/bul_sq_gry.gif +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/checkmark.gif +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/logo.png +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/magnifying_glass.gif +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/remove.gif +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/separator.gif +0 -0
- data/lib/generators/blacklight/templates/public/images/blacklight/start_over.gif +0 -0
- data/lib/generators/blacklight/templates/public/javascripts/blacklight.js +485 -0
- data/lib/generators/blacklight/templates/public/javascripts/jquery-1.4.2.min.js +154 -0
- data/lib/generators/blacklight/templates/public/javascripts/jquery-ui-1.8.1.custom.min.js +756 -0
- data/lib/generators/blacklight/templates/public/stylesheets/blacklight.css +487 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_558fd0_500x100.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-icons_2e4f81_256x240.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/lib/generators/blacklight/templates/public/stylesheets/jquery/ui-lightness/jquery-ui-1.8.1.custom.css +486 -0
- data/lib/generators/blacklight/templates/public/stylesheets/yui.css +31 -0
- data/lib/generators/blacklight/templates/solr_document.rb +30 -0
- data/lib/railties/blacklight.rake +66 -0
- data/lib/railties/cucumber.rake +53 -0
- data/lib/railties/rspec.rake +188 -0
- data/lib/railties/solr_marc.rake +148 -0
- data/lib/railties/test_solr_server.rb +130 -0
- data/spec/helpers/catalog_helper_spec.rb +111 -0
- data/spec/views/catalog/_sms_form.html.erb_spec.rb +19 -0
- data/tasks/blacklight_tasks.rake +4 -0
- data/uninstall.rb +1 -0
- metadata +431 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
a = B.C.
|
2
|
+
b = B.C.
|
3
|
+
c = B.C.
|
4
|
+
d = B.C.
|
5
|
+
e = 1st Century
|
6
|
+
f = 2nd Century
|
7
|
+
g = 3rd Century
|
8
|
+
h = 4th Century
|
9
|
+
i = 5th Century
|
10
|
+
j = 6th Century
|
11
|
+
k = 7th Century
|
12
|
+
l = 8th Century
|
13
|
+
m = 9th Century
|
14
|
+
n = 10th Century
|
15
|
+
o = 11th Century
|
16
|
+
p = 12th Century
|
17
|
+
q = 13th Century
|
18
|
+
r = 14th Century
|
19
|
+
s = 15th Century
|
20
|
+
t = 16th Century
|
21
|
+
u = 17th Century
|
22
|
+
v = 18th Century
|
23
|
+
v0 = 1700's
|
24
|
+
v1 = 1710's
|
25
|
+
v2 = 1720's
|
26
|
+
v3 = 1730's
|
27
|
+
v4 = 1740's
|
28
|
+
v5 = 1750's
|
29
|
+
v6 = 1760's
|
30
|
+
v7 = 1770's
|
31
|
+
v8 = 1780's
|
32
|
+
v9 = 1790's
|
33
|
+
w = 19th Century
|
34
|
+
w0 = 1800's
|
35
|
+
w1 = 1810's
|
36
|
+
w2 = 1820's
|
37
|
+
w3 = 1830's
|
38
|
+
w4 = 1840's
|
39
|
+
w5 = 1850's
|
40
|
+
w6 = 1860's
|
41
|
+
w7 = 1870's
|
42
|
+
w8 = 1880's
|
43
|
+
w9 = 1890's
|
44
|
+
x = 20th Century
|
45
|
+
x0 = 1900's
|
46
|
+
x1 = 1910's
|
47
|
+
x2 = 1920's
|
48
|
+
x3 = 1930's
|
49
|
+
x4 = 1940's
|
50
|
+
x5 = 1950's
|
51
|
+
x6 = 1960's
|
52
|
+
x7 = 1970's
|
53
|
+
x8 = 1980's
|
54
|
+
x9 = 1990's
|
55
|
+
y = 21th Century
|
56
|
+
y0 = 2000's
|
data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/country_map.properties
ADDED
@@ -0,0 +1,379 @@
|
|
1
|
+
# Map 3 letter Country/Location Code (in 008, bytes 15-17) to User Friendly Name
|
2
|
+
# includes discontinued codes, because they're probably in our data
|
3
|
+
|
4
|
+
#Two-character codes are left justified and the unused position contains a blank
|
5
|
+
|
6
|
+
aa = Albania
|
7
|
+
abc = Alberta, Canada
|
8
|
+
ac = Ashmore and Cartier Islands
|
9
|
+
aca = Australian Capital Territory
|
10
|
+
ae = Algeria
|
11
|
+
af = Afghanistan
|
12
|
+
ag = Argentina
|
13
|
+
ai = Anguilla
|
14
|
+
ai = Armenia (Republic)
|
15
|
+
air = Armenia (Republic)
|
16
|
+
aj = Azerbaijan
|
17
|
+
ajr = Azerbaijan
|
18
|
+
aku = Alaska, United States
|
19
|
+
alu = Alabama, United States
|
20
|
+
am = Anguilla
|
21
|
+
an = Andorra
|
22
|
+
ao = Angola
|
23
|
+
aq = Antigua and Barbuda
|
24
|
+
aru = Arkansas, United States
|
25
|
+
as = American Samoa
|
26
|
+
at = Australia
|
27
|
+
au = Austria
|
28
|
+
aw = Aruba
|
29
|
+
ay = Antarctica
|
30
|
+
azu = Arizona, United States
|
31
|
+
ba = Bahrain
|
32
|
+
bb = Barbados
|
33
|
+
bcc = British Columbia, Canada
|
34
|
+
bd = Burundi
|
35
|
+
be = Belgium
|
36
|
+
bf = Bahamas
|
37
|
+
bg = Bangladesh
|
38
|
+
bh = Belize
|
39
|
+
bi = British Indian Ocean Territory
|
40
|
+
bl = Brazil
|
41
|
+
bm = Bermuda Islands
|
42
|
+
bn = Bosnia and Hercegovina
|
43
|
+
bo = Bolivia
|
44
|
+
bp = Solomon Islands
|
45
|
+
br = Burma
|
46
|
+
bs = Botswana
|
47
|
+
bt = Bhutan
|
48
|
+
bu = Bulgaria
|
49
|
+
bv = Bouvet Island
|
50
|
+
bw = Belarus
|
51
|
+
bwr = Belarus
|
52
|
+
bx = Brunei
|
53
|
+
cau = California, United States
|
54
|
+
cb = Cambodia
|
55
|
+
cc = China
|
56
|
+
cd = Chad
|
57
|
+
ce = Sri Lanka
|
58
|
+
cf = Congo (Brazzaville)
|
59
|
+
cg = Congo (Democratic Republic)
|
60
|
+
ch = China (Republic : 1949- )
|
61
|
+
ci = Croatia
|
62
|
+
cj = Cayman Islands
|
63
|
+
ck = Colombia
|
64
|
+
cl = Chile
|
65
|
+
cm = Cameroon
|
66
|
+
cn = Canada
|
67
|
+
cou = Colorado, United States
|
68
|
+
cp = Canton and Enderbury Islands
|
69
|
+
cq = Comoros
|
70
|
+
cr = Costa Rica
|
71
|
+
cs = Czechoslovakia
|
72
|
+
ctu = Connecticut, United States
|
73
|
+
cu = Cuba
|
74
|
+
cv = Cape Verde
|
75
|
+
cw = Cook Islands
|
76
|
+
cx = Central African Republic
|
77
|
+
cy = Cyprus
|
78
|
+
cz = Canal Zone
|
79
|
+
dcu = District of Columbia, United States
|
80
|
+
deu = Delaware, United States
|
81
|
+
dk = Denmark
|
82
|
+
dm = Benin
|
83
|
+
dq = Dominica
|
84
|
+
dr = Dominican Republic
|
85
|
+
ea = Eritrea
|
86
|
+
ec = Ecuador
|
87
|
+
eg = Equatorial Guinea
|
88
|
+
em = East Timor
|
89
|
+
enk = England, United Kingdom
|
90
|
+
er = Estonia
|
91
|
+
err = Estonia
|
92
|
+
es = El Salvador
|
93
|
+
et = Ethiopia
|
94
|
+
fa = Faroe Islands
|
95
|
+
fg = French Guiana
|
96
|
+
fi = Finland
|
97
|
+
fj = Fiji
|
98
|
+
fk = Falkland Islands
|
99
|
+
flu = Florida, United States
|
100
|
+
fm = Micronesia (Federated States)
|
101
|
+
fp = French Polynesia
|
102
|
+
fr = France
|
103
|
+
fs = Terres australes et antarctiques fran�aises
|
104
|
+
ft = Djibouti
|
105
|
+
gau = Georgia, United States
|
106
|
+
gb = Kiribati
|
107
|
+
gd = Grenada
|
108
|
+
ge = Germany (East)
|
109
|
+
gh = Ghana
|
110
|
+
gi = Gibraltar
|
111
|
+
gl = Greenland
|
112
|
+
gm = Gambia
|
113
|
+
gn = Gilbert and Ellice Islands
|
114
|
+
go = Gabon
|
115
|
+
gp = Guadeloupe
|
116
|
+
gr = Greece
|
117
|
+
gs = Georgia (Republic)
|
118
|
+
gsr = Georgia (Republic)
|
119
|
+
gt = Guatemala
|
120
|
+
gu = Guam
|
121
|
+
gv = Guinea
|
122
|
+
gw = Germany
|
123
|
+
gy = Guyana
|
124
|
+
gz = Gaza Strip
|
125
|
+
hiu = Hawaii, United States
|
126
|
+
hk = Hong Kong
|
127
|
+
hm = Heard and McDonald Islands
|
128
|
+
ho = Honduras
|
129
|
+
ht = Haiti
|
130
|
+
hu = Hungary
|
131
|
+
iau = Iowa, United States
|
132
|
+
ic = Iceland
|
133
|
+
idu = Idaho, United States
|
134
|
+
ie = Ireland
|
135
|
+
ii = India
|
136
|
+
ilu = Illinois, United States
|
137
|
+
inu = Indiana, United States
|
138
|
+
io = Indonesia
|
139
|
+
iq = Iraq
|
140
|
+
ir = Iran
|
141
|
+
is = Israel
|
142
|
+
it = Italy
|
143
|
+
iu = Israel-Syria Demilitarized Zones
|
144
|
+
iv = C�te d'Ivoire
|
145
|
+
iw = Israel-Jordan Demilitarized Zones
|
146
|
+
iy = Iraq-Saudi Arabia Neutral Zone
|
147
|
+
ja = Japan
|
148
|
+
ji = Johnston Atoll
|
149
|
+
jm = Jamaica
|
150
|
+
jn = Jan Mayen
|
151
|
+
jo = Jordan
|
152
|
+
ke = Kenya
|
153
|
+
kg = Kyrgyzstan
|
154
|
+
kgr = Kyrgyzstan
|
155
|
+
kn = Korea (North)
|
156
|
+
ko = Korea (South)
|
157
|
+
ksu = Kansas, United States
|
158
|
+
ku = Kuwait
|
159
|
+
kv = Kosovo
|
160
|
+
kyu = Kentucky, United States
|
161
|
+
kz = Kazakhstan
|
162
|
+
kzr = Kazakhstan
|
163
|
+
lau = Louisiana, United States
|
164
|
+
lb = Liberia
|
165
|
+
le = Lebanon
|
166
|
+
lh = Liechtenstein
|
167
|
+
li = Lithuania
|
168
|
+
lir = Lithuania
|
169
|
+
ln = Central and Southern Line Islands
|
170
|
+
lo = Lesotho
|
171
|
+
ls = Laos
|
172
|
+
lu = Luxembourg
|
173
|
+
lv = Latvia
|
174
|
+
lvr = Latvia
|
175
|
+
ly = Libya
|
176
|
+
mau = Massachusetts, United States
|
177
|
+
mbc = Manitoba, Canada
|
178
|
+
mc = Monaco
|
179
|
+
mdu = Maryland, United States
|
180
|
+
meu = Maine, United States
|
181
|
+
mf = Mauritius
|
182
|
+
mg = Madagascar
|
183
|
+
mh = Macao
|
184
|
+
miu = Michigan, United States
|
185
|
+
mj = Montserrat
|
186
|
+
mk = Oman
|
187
|
+
ml = Mali
|
188
|
+
mm = Malta
|
189
|
+
mnu = Minnesota, United States
|
190
|
+
mo = Montenegro
|
191
|
+
mou = Missouri, United States
|
192
|
+
mp = Mongolia
|
193
|
+
mq = Martinique
|
194
|
+
mr = Morocco
|
195
|
+
msu = Mississippi, United States
|
196
|
+
mtu = Montana, United States
|
197
|
+
mu = Mauritania
|
198
|
+
mv = Moldova
|
199
|
+
mvr = Moldova
|
200
|
+
mw = Malawi
|
201
|
+
mx = Mexico
|
202
|
+
my = Malaysia
|
203
|
+
mz = Mozambique
|
204
|
+
na = Netherlands Antilles
|
205
|
+
nbu = Nebraska, United States
|
206
|
+
ncu = North Carolina, United States
|
207
|
+
ndu = North Dakota, United States
|
208
|
+
ne = Netherlands
|
209
|
+
nfc = Newfoundland and Labrador, Canada
|
210
|
+
ng = Niger
|
211
|
+
nhu = New Hampshire, United States
|
212
|
+
nik = Northern Ireland, United Kingdom
|
213
|
+
nju = New Jersey, United States
|
214
|
+
nkc = New Brunswick, Canada
|
215
|
+
nl = New Caledonia
|
216
|
+
nm = Northern Mariana Islands
|
217
|
+
nmu = New Mexico, United States
|
218
|
+
nn = Vanuatu
|
219
|
+
no = Norway
|
220
|
+
np = Nepal
|
221
|
+
nq = Nicaragua
|
222
|
+
nr = Nigeria
|
223
|
+
nsc = Nova Scotia, Canada
|
224
|
+
ntc = Northwest Territories, Canada
|
225
|
+
nu = Nauru
|
226
|
+
nuc = Nunavut, Canada
|
227
|
+
nvu = Nevada, United States
|
228
|
+
nw = Northern Mariana Islands
|
229
|
+
nx = Norfolk Island
|
230
|
+
nyu = New York (State), United States
|
231
|
+
nz = New Zealand
|
232
|
+
ohu = Ohio, United States
|
233
|
+
oku = Oklahoma, United States
|
234
|
+
onc = Ontario, Canada
|
235
|
+
oru = Oregon, United States
|
236
|
+
ot = Mayotte
|
237
|
+
pau = Pennsylvania, United States
|
238
|
+
pc = Pitcairn Island
|
239
|
+
pe = Peru
|
240
|
+
pf = Paracel Islands
|
241
|
+
pg = Guinea-Bissau
|
242
|
+
ph = Philippines
|
243
|
+
pic = Prince Edward Island, Canada
|
244
|
+
pk = Pakistan
|
245
|
+
pl = Poland
|
246
|
+
pn = Panama
|
247
|
+
po = Portugal
|
248
|
+
pp = Papua New Guinea
|
249
|
+
pr = Puerto Rico
|
250
|
+
pt = Portuguese Timor
|
251
|
+
pw = Palau
|
252
|
+
py = Paraguay
|
253
|
+
qa = Qatar
|
254
|
+
qea = Queensland, Australia
|
255
|
+
quc = Qu�bec (Province), Canada
|
256
|
+
rb = Serbia
|
257
|
+
re = R�union
|
258
|
+
rh = Zimbabwe
|
259
|
+
riu = Rhode Island, United States
|
260
|
+
rm = Romania
|
261
|
+
ru = Russia (Federation)
|
262
|
+
rur = Russia (Federation)
|
263
|
+
rw = Rwanda
|
264
|
+
ry = Ryukyu Islands, Southern
|
265
|
+
sa = South Africa
|
266
|
+
sb = Svalbard
|
267
|
+
scu = South Carolina, United States
|
268
|
+
sdu = South Dakota, United States
|
269
|
+
se = Seychelles
|
270
|
+
sf = Sao Tome and Principe
|
271
|
+
sg = Senegal
|
272
|
+
sh = Spanish North Africa
|
273
|
+
si = Singapore
|
274
|
+
sj = Sudan
|
275
|
+
sk = Sikkim
|
276
|
+
sl = Sierra Leone
|
277
|
+
sm = San Marino
|
278
|
+
snc = Saskatchewan, Canada
|
279
|
+
so = Somalia
|
280
|
+
sp = Spain
|
281
|
+
sq = Swaziland
|
282
|
+
sr = Surinam
|
283
|
+
ss = Western Sahara
|
284
|
+
stk = Scotland, United Kingdom
|
285
|
+
su = Saudi Arabia
|
286
|
+
sv = Swan Islands
|
287
|
+
sw = Sweden
|
288
|
+
sx = Namibia
|
289
|
+
sy = Syria
|
290
|
+
sz = Switzerland
|
291
|
+
ta = Tajikistan
|
292
|
+
tar = Tajikistan
|
293
|
+
tc = Turks and Caicos Islands
|
294
|
+
tg = Togo
|
295
|
+
th = Thailand
|
296
|
+
ti = Tunisia
|
297
|
+
tk = Turkmenistan
|
298
|
+
tkr = Turkmenistan
|
299
|
+
tl = Tokelau
|
300
|
+
tma = Tasmania, Australia
|
301
|
+
tnu = Tennessee, United States
|
302
|
+
to = Tonga
|
303
|
+
tr = Trinidad and Tobago
|
304
|
+
ts = United Arab Emirates
|
305
|
+
tt = Trust Territory of the Pacific Islands
|
306
|
+
tu = Turkey
|
307
|
+
tv = Tuvalu
|
308
|
+
txu = Texas, United States
|
309
|
+
tz = Tanzania
|
310
|
+
ua = Egypt
|
311
|
+
uc = United States Misc. Caribbean Islands
|
312
|
+
ug = Uganda
|
313
|
+
ui = United Kingdom Misc. Islands
|
314
|
+
uik = United Kingdom Misc. Islands
|
315
|
+
uk = United Kingdom
|
316
|
+
un = Ukraine
|
317
|
+
unr = Ukraine
|
318
|
+
up = United States Misc. Pacific Islands
|
319
|
+
ur = Soviet Union
|
320
|
+
us = United States
|
321
|
+
utu = Utah, United States
|
322
|
+
uv = Burkina Faso
|
323
|
+
uy = Uruguay
|
324
|
+
uz = Uzbekistan
|
325
|
+
uzr = Uzbekistan
|
326
|
+
vau = Virginia, United States
|
327
|
+
vb = British Virgin Islands
|
328
|
+
vc = Vatican City
|
329
|
+
ve = Venezuela
|
330
|
+
vi = Virgin Islands of the United States
|
331
|
+
vm = Vietnam
|
332
|
+
vn = Vietnam, North
|
333
|
+
#vp = Various places
|
334
|
+
vra = Victoria, Australia
|
335
|
+
vs = Vietnam, South
|
336
|
+
vtu = Vermont, United States
|
337
|
+
wau = Washington (State), United States
|
338
|
+
wb = West Berlin
|
339
|
+
wea = Western Australia
|
340
|
+
wf = Wallis and Futuna
|
341
|
+
wiu = Wisconsin, United States
|
342
|
+
wj = West Bank of the Jordan River
|
343
|
+
wk = Wake Island
|
344
|
+
wlk = Wales, United Kingdom
|
345
|
+
ws = Samoa
|
346
|
+
wvu = West Virginia, United States
|
347
|
+
wyu = Wyoming, United States
|
348
|
+
xa = Christmas Island (Indian Ocean)
|
349
|
+
xb = Cocos (Keeling) Islands
|
350
|
+
xc = Maldives
|
351
|
+
xd = Saint Kitts-Nevis
|
352
|
+
xe = Marshall Islands
|
353
|
+
xf = Midway Islands
|
354
|
+
xga = Coral Sea Islands Territory, Australia
|
355
|
+
xh = Niue
|
356
|
+
xi = Saint Kitts-Nevis-Anguilla
|
357
|
+
xj = Saint Helena
|
358
|
+
xk = Saint Lucia
|
359
|
+
xl = Saint Pierre and Miquelon
|
360
|
+
xm = Saint Vincent and the Grenadines
|
361
|
+
xn = Macedonia
|
362
|
+
xna = New South Wales, Australia
|
363
|
+
xo = Slovakia
|
364
|
+
xoa = Northern Territory, Australia
|
365
|
+
xp = Spratly Island
|
366
|
+
xr = Czech Republic
|
367
|
+
xra = South Australia
|
368
|
+
xs = South Georgia and the South Sandwich Islands
|
369
|
+
xv = Slovenia
|
370
|
+
#xx = No place, unknown, or undetermined
|
371
|
+
xxc = Canada
|
372
|
+
xxk = United Kingdom
|
373
|
+
xxr = Soviet Union
|
374
|
+
xxu = United States
|
375
|
+
ye = Yemen
|
376
|
+
ykc = Yukon Territory, Canada
|
377
|
+
ys = Yemen (People's Democratic Republic)
|
378
|
+
yu = Serbia and Montenegro
|
379
|
+
za = Zambia
|
data/lib/generators/blacklight/templates/config/SolrMarc/translation_maps/format_map.properties
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
#
|
2
|
+
# DATA FROM INDEXER = Label
|
3
|
+
#
|
4
|
+
Atlas = Map
|
5
|
+
Map = Map
|
6
|
+
TapeCartridge = Software
|
7
|
+
ChipCartridge = Software
|
8
|
+
DiscCartridge = Software
|
9
|
+
TapeCassette = Software
|
10
|
+
TapeReel = Software
|
11
|
+
FloppyDisk = Software
|
12
|
+
CDROM = Software
|
13
|
+
Software = Software
|
14
|
+
Globe = Globe
|
15
|
+
Braille = Braille
|
16
|
+
Filmstrip = Video
|
17
|
+
Transparency = Slide
|
18
|
+
Slide = Slide
|
19
|
+
Microfilm = Microfilm
|
20
|
+
Collage = Photo
|
21
|
+
Drawing = Photo
|
22
|
+
Painting = Photo
|
23
|
+
Print = Photo
|
24
|
+
Photonegative = Photo
|
25
|
+
FlashCard = Photo
|
26
|
+
Chart = Photo
|
27
|
+
Photo = Photo
|
28
|
+
MotionPicture = Video
|
29
|
+
Kit = Kit
|
30
|
+
MusicalScore = Musical Score
|
31
|
+
SensorImage = Sensor Image
|
32
|
+
SoundDisc = CD
|
33
|
+
SoundCassette = Cassette
|
34
|
+
SoundRecording = Audio
|
35
|
+
VideoCartridge = Video
|
36
|
+
VideoDisc = DVD
|
37
|
+
VideoCassette = VHS
|
38
|
+
VideoReel = Video
|
39
|
+
Video = Video
|
40
|
+
MusicalScore = Musical Score
|
41
|
+
MusicRecording = Audio
|
42
|
+
Electronic = Electronic
|
43
|
+
PhysicalObject = Physical Object
|
44
|
+
Manuscript = Manuscript
|
45
|
+
eBook = eBook
|
46
|
+
Book = Book
|
47
|
+
Newspaper = Newspaper
|
48
|
+
Journal = Journal
|
49
|
+
Serial = Serial
|
50
|
+
Unknown = Unknown
|