rbook 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,213 @@
1
+ **HEADER**060221SAND 9012982 00000100**PUBSTAT*002
2
+ 07152006151NNBNGODS YOUNG CHURCH PB NBarclay, W NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
3
+ 07152013011NNBNFIRST COMMUNION BOOK NGoold, James G NAN407 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
4
+ 07152019721NNBNOLD LAW AND THE NEW LAW PB NBarclay, W NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
5
+ 07152042031NNBNMAKING OF THE BIBLE THE NBarclay, W NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
6
+ 07152049551NNBNFASTI VOL 10 HB N NAN9750 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
7
+ 07152060791NNBNBRIDGING THE GAP PB NHarvey, John NAN0 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
8
+ 07152063031NNBNTALKS FOR CHILDREN PB NSurtees/MacLeod NAN2438 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
9
+ 07152065241NNBNSACRED STONES SACRED PLACES HBNLines, Marianna NAN7147 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
10
+ 07152065831NNBNELDER CHARACTER AND DUTIES PB NMacdonald, W C NAN407 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
11
+ 071520663X1NNBNJOHN KNOX NSefton, Henry R NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
12
+ 07152066991NNBNBEGINNERS GUIDE TO THE NT NBarclay, W NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
13
+ 07152067611NNBNELDER AND THE SACRAMENTS PB NAnderson, David NAN407 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
14
+ 07152067961NNBNUNFINISHED AGENDA NNewbigin, Lesslie NAN4547 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
15
+ 07152068181NNBNWRESTLE FIGHT AND PRAY PB NBell, John L NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
16
+ 07152068771NNBNTALES TO TELL 2 PB N NAN975 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
17
+ 07152069151NNBNAULD TESTAMENT TALES PB N NAN0 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
18
+ 07152069231NNBNALPHABET OF BARCLAY PB NBarclay, R NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
19
+ 07152069311NNBNBOOK OF SAINTS A PB NNicol, Stewart H. NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
20
+ 07152070401NNBNWORD IN SEASON A NNewbigin, Lesslie NAN4547 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
21
+ 07152070671NNBNLEADING GODS PEOPLE N NAN2259 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
22
+ 07152070831NNBNSCOTTISH KEERIOSITIES N NAN1463 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
23
+ 07152070911NNBNMORE SCOTTISH KEERIOSITIES NHenderson, Robert NAN1463 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
24
+ 07152071051NNBNGO BY THE BOOK NDavidson, Robert NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
25
+ 071520713X1NNBNLINDISFARNE LANDSCAPES NMackay, Sheila NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
26
+ 07152071481NNBNSCOTTISH ANIMAL BIRD FOLKLORE NArchibald, Malcolm NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
27
+ 07152071641NNBNIN LOVE AND IN LAUGHTER PB N NAN3088 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
28
+ 07152071801NNBNJOHN AND DONALD BAILLIE SELECTNFergusson, David NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
29
+ 07152071991NNBNEDWARD IRVING PB NMcFarlane, Graham NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
30
+ 07152072021NNBNGEORGE MACDONALD SELECTED WRITNDeddo/Deddo (eds) NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
31
+ 07152072961NNBNOUR CELTIC HERITAGE PB NKing, Chris NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
32
+ 07152074901NNBNGLASGOW BIBLE PB NStuart, Jamie NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
33
+ 07152075201NNBNSUNSHINE THROUGH SHADOWS PB NNoble, Alex B NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
34
+ 07152075391NNBNCOMMON GROUND MUSIC SPIRAL BOUNPanel on Worship NAN6013 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
35
+ 07152075471NNBNCOMMON GROUND WORDS PB NPanel on Worship NAN1622 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
36
+ 07152075551NNBNNEW BEGINNINGS PB NMaitland, James NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
37
+ 07152075711NNBNVIEWS FROM EARTH NMonaghan, A NAN1297 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
38
+ 07152075981NNBNBEYOND FEAR PB NMorton, A R (ed) NAN3247 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
39
+ 07152076011NNBNPREACHING THROUGH THE YEAR PB NSteel, David NAN3897 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
40
+ 07152076281NNBNSALTED WITH FIRE PB NFraser, Ian M NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
41
+ 07152076361NNBNLAUGH SHALL BE FIRST THE PB NSimpson, James A NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
42
+ 07152076441NNBNTRANSFORMATIONAL MINISTRY PB NJinkins, Michael NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
43
+ 07152076521NNBNCHRISTIAN PRAYER FOR TODAY PB NWhaling, Frank NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
44
+ 07152076871NNBNABERDEEN AND THE HIGHLAND CHURNMacDonald, Ian R NAN4547 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
45
+ 07152076951NNBNWALKING IN DARKNESS AND LIGHT NGalloway, Kathy NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
46
+ 07152077171NNBNGOSPEL WOVEN IN WORDS PB NRobertson, Jenny NAN1622 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
47
+ 07152077251NNBNKIRK LORE PB NHerron, Andrew NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
48
+ 07152077331NNBNCARING FOR PLANET EARTH PB NFraser, Ian M NAN2272 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
49
+ 07152077411NNBNCHRISTMAS ABC PB NForsyth/Griffiths NAN2113 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
50
+ 07152077761NNBNDREAM AND THE GRACE PB NWhyte, James A NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
51
+ 07152077841NNBNIONA POEMS PB NSteven, Kenneth NAN1622 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
52
+ 07152078061NNBNGOSPEL OF MATTHEW VOL 1 NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
53
+ 07152078141NNBNGOSPEL OF MATTHEW VOL 2 NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
54
+ 07152078221NNBNGOSPEL OF MARK NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
55
+ 07152078301NNBNGOSPEL OF LUKE NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
56
+ 07152078491NNBNGOSPEL OF JOHN VOL 1 NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
57
+ 07152078571NNBNGOSPEL OF JOHN VOL 2 NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
58
+ 07152078651NNBNACTS PB NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
59
+ 07152078731NNBNLETTERS TO THE ROMANS PB NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
60
+ 07152078811NNBNLETTERS TO THE CORINTHIANS PB NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
61
+ 071520789X1NNBNGALATIANS AND EPHESIANS PB NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
62
+ 071520792X1NNBNLETTERS TO THE HEBREWS PB NBarclay, William NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
63
+ 07152079701NNBNGENTLE AND PASSIONATE PB NMcLellan, Andrew NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
64
+ 07152079891NNBNWILD HORSES PB NSteven, Kenneth NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
65
+ 07152079971NNBNOUTSIDE VERDICT PB NReid, Harry NAN4222 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
66
+ 07152080041NNBNTOUCH AND GO PB NForrester, Margaret NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
67
+ 07152080121NNBNGLIMPSES OF HOPE PB NMcKay, Johnston NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
68
+ 07152080201NNBNREFLECTIONS ON THE BEATITUDES NMiller, John NAN1297 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
69
+ 07152080391NNBNGOD IN SOCIETY PB NStorrar/Brown (eds) NAN5847 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
70
+ 07152080471NNBNNOTES ON SCHUBERT PB NWilson, Conrad NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
71
+ 07152080551NNBNROOT OF ALL EVIL PB NSwinson, Antonia NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
72
+ 07152080631NNBNSPEEDBUMPS AND POTHOLES PB NBaines, Nick NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
73
+ 07152080711NNBNNOTES ON MOZART PB NWilson, Conrad NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
74
+ 071520808X1NNBNNOTES ON BEETHOVEN PB NWilson, Conrad NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
75
+ 07152080981NNBNSWORD AND THE CROSS THE HB NHolloway, Richard (Intro) NAN6497 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
76
+ 07152081011NNBNHONOURING CHILDREN PB NMarshall/Parvis NAN5847 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
77
+ 071520811X1NNBNSCOTS AT SEA HB NHewitson, Jim (Comp) BBC ScotlNAN6497 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
78
+ 07152081281NNBNCONFIDENCE IN A CHANGING CHURCNMacdonald, Finlay A J NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
79
+ 07152081361NNBNNEW DSB GOSPELS 6 VOL SET PB NBarclay, William NAN14609 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
80
+ 07152081441NNBNHONOURING CHILDREN STUDY GUIDENMarshall/Parvis NAN1297 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
81
+ 07152081521NNBNSILENT HEROES PB NMiller, John (comp) NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
82
+ 07152081601NNBNNEW DSB SET 17 VOLS PB NBarclay, William NAN40625 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
83
+ 07152081791NNBNNOTES ON BACH PB NWilson, Conrad NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
84
+ 07152081871NNBNNOTES ON MENDELSOHN PB NWilson, Conrad NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
85
+ 07152081951NNBNNOTES ON BRAHMS PB NWilson, Conrad NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
86
+ 07152082091NNBNJESUS AND PEOPLE LIKE US PB NBaines, Nick NAN2922 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
87
+ 07152082171NNBNNETTING CITIZENS PB NMcKay, Johnston (Ed) NAN5847 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
88
+ 07152082251NNBNCOLUMBA POEMS PB NSteven, Kenneth NAN2597 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
89
+ 07152082411NNBNTIME FOR TRUMPETS PB NBlackie, Nansie (Ed) NAN3247 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
90
+ 07152082921NNBNMARKING TIME PB NBaines, Nick NAN1947 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
91
+ 07152083061NNBNCOMMON ORDER HB NPanel on Worship NAN6497 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
92
+ 08615306321NNBNSCOTS CONFESSION OF 1560 PB NBulloch, J (Trans) NAN650 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
93
+ 08615312801NNBNWORSHIPPING TOGETHER N NAN1609 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
94
+ 086153140X1NNBNVows of Baptism, The NHamilton, David NAN2113 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
95
+ 08615315741NNBNFUTURE OF THE FAMILY PB NC of S, Soc. Resp. NAN1609 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
96
+ 08615315821NNBNHUGH DOUGLAS ONE MANS MINISTRYN NAN4209 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
97
+ 08615316981NNBNHEAT AND LIGHT ENERGY CONSERVAN NAN325 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
98
+ 08615317281NNBNDHARMA INDIA AND THE WORLD ORDN NAN3234 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
99
+ 08615317791NNBNPRESBYTERY THEOLOGY AND PART DN NAN634 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
100
+ 08615319811NNBNTECHNOLOGY AT THE CROSSROADS N NAN0 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
101
+ 086153204X1NNBNEUTHANASIA A CHRISTIAN PERSPECNC of S, Soc. Resp. NAN1609 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
102
+ 08615322361NNBNPRE CONCIEVED IDEAS HB NC of S: Social Responsibility NAN1934 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
103
+ 08615323331NNBNDOING THEOLOGY AND DEVELOPMENTNWhyte/Tiongco NAN3247 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
104
+ 08615324141NNBNBCP ORDER CHRISTIAN MARRIAGE NPanel on Worship NAN488 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
105
+ 08615324221NNBNCOMMON ORDER SERVICES LECTIONANPanel on Worship NAN972 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
106
+ 08615324301NNBNC O SERVICES FUNERAL NPanel on Worship NAN1297 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
107
+ 08615325381NNBNCaring for God's People BookleNSteven, Sheilah NAN647 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
108
+ 08615325701NNBNGOOD NEWS FOR A CHANGE PB NC of S, Nat/World Mission NAN1138 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
109
+ 08615326431NNBNTOURS THROUGH COMMON GROUND PBNPanel on Worship NAN813 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
110
+ 08615326511NNBNIN PURSUIT OF A VISION PB NLyon, David H S NAN3247 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
111
+ 08615326941NNBNHEALTH AND HEALING PB NC of S, Soc. Resp. NAN813 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
112
+ 08615327751NNBNWhy Me? Booklet NSteven, Sheilah NAN972 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
113
+ 08615327831NNBNGet a Grip : Hands on ChristiaNMallon/Cutler/Galvin NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
114
+ 08615327911NNBNCovenant, The : (Music Book) :NWhyte, Iain NAN1950 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
115
+ 08615328051NNBNCovenant, The (Words) NWhyte, Iain NAN488 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
116
+ 08615329021NNBNMAY YOU LIVE TO BE 120 PB N NAN0 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
117
+ 08615329291NNBNCV SCOTLAND 2000 PB N NAN1788 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
118
+ 08615329371NNBNIn the Beginning : A Children'Nvan Pelt/de Fluiter NAN3247 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
119
+ 08615329531NNBNReport on Interpretation of ScNC of S Panel on Doctrine NAN1947 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
120
+ 08615329611NNBNInterpreting Scripture NGalbraith/Clark NAN1622 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
121
+ 086153297X1NNBNMOVING WITH CHRIST IN MISSION NRoss/Grant/Wood NAN488 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
122
+ 08615330031NNBNSing Me a Song of Christmas (WNWhyte, Iain NAN488 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
123
+ 08615330111NNBNSing Me A Song of Christmas (MNWhyte, Iain NAN1950 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
124
+ 08615330541NNBNBIO ETHICS FOR THE NEW MILLENNNC of S Soc. Resp. NAN2584 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
125
+ 08615331001NNBNLAW AND CHRISTIAN ETHICS HB NC of S, Soc. Resp. NAN1934 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
126
+ 08615332081NNBNCOMMON ORDER SERVICES BAPTISM NPanel on Worship NAN488 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
127
+ 08615332321NNBNBANNERS 2000 HB NC of S Guild NAN2925 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
128
+ 08615332671NNBNLet there be Light : Music BooNWhyte, Iain NAN1950 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
129
+ 08615332751NNBNChurch without Walls :Working NBrown, Susan M NAN972 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
130
+ 08615332831NNBNChurch Without Walls : Report NMaclean, Marjorie (Preface) NAN1297 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
131
+ 086153333X1NNBNInspired, Alive and Under FiveNZielinski/Grant/Woods NAN2113 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
132
+ 08615333481NNBNNervous Tension NHoward, Alan NAN2113 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
133
+ 08615333561NNBNHoliday Time, Quality Time NSwanney/Beautyman NAN2113 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
134
+ 08615333641NNBNGet a Grip 2 NMallon/Galvin NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
135
+ 08615333721NNBNMISSION AS GODS SPIRAL OF RENENRoss, Kenneth NAN488 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
136
+ 08615333801NNBNCITY SNAPS PB NCalvert, Robert NAN975 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
137
+ 08615333991NNBNFOLLOWING JESUS AND FIGHTING HNRoss, Kenneth NAN975 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
138
+ 08615334021NNBNDEVOTED SERVICE RENDERED NBardgett, Frank NAN2438 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
139
+ 08615335421NNBNPRAY NOW 2004 PB NC Of S: Worship & Doctrine NAN1138 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
140
+ 08615336071NNBNPRAY NOW DAILY DEVOTIONS FOR 2N NAN1138 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
141
+ 08615336741NNBNCHURCH OF SCOTLAND YEAR BOOK 2NBlakey, R.S. (ed) NAN4547 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
142
+ 08615336821NNBNPRAY NOW 2006 PB NC Of S: Worship & Doctrine NAN1138 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
143
+ 19043250171NNBNRavens Tale & Other Stories NSteven, Kenneth NAN2272 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
144
+ 19043250251NNBNTestament Tales NStobo, Mary NAN1947 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
145
+ 19043250331NNBNWill You Follow Me? NFisher, Leith NAN3897 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
146
+ 19043250411NNBNJohn Lowrie Morrison : Colour NMorrison, John Lowrie NAN6497 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
147
+ 190432505X1NNBNSexuality & Salvation NMallon, Steve NAN2922 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
148
+ 19043250681NNBNBreaking Down Walls NKing, Chris NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
149
+ 19043250761NNBNGaun Yersel Moses NWhite, Tom NAN1622 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
150
+ 19043250841NNBNInside Verdict NMallon, Steve NAN3247 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
151
+ 19043250921NNBNHear our Voice NSwanney, Doug NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
152
+ 19043251061NNBNTwo by Two : Songbook with CD NGrant/Christie NAN3572 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
153
+ 19043251141NNBNWidening Road, The NFisher, Leith NAN3897 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
154
+ 19043251221NNBNAdvent Adventures NBrown, Susan M NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
155
+ 19043251301NNBNEaster Experiences NBrown, Susan M NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
156
+ 19043251491NNBNFeast of Graces, A NAitken, Douglas NAN1622 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
157
+ 19043251571NNBNParable Patter NWhite, Tom NAN1622 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
158
+ 19043251811NNBNPractical Caring NSteven, Sheilah NAN1947 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
159
+ 190432519X1NNBNLords Prayer Explained by ChilNSteven, Kenneth NAN2597 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
160
+ 190432522X1NNBNVision for Volunteers NCutler, Stewart NAN2113 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
161
+ 19043252381NNBNWays into Worship NSwanney, Doug NAN2113 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
162
+ 19043252461NNBNChoicesYouth : CD ROM NMallon, Steve NAN6500 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
163
+ 19043252541NNBNChoices for Children : CD ROM NMallon, Steve NAN6500 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
164
+ 19043252701NNBNChrist the Servant King :DVD INBrown, Susan M NAN3250 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
165
+ 19043253191NNBNWake up to Your Dreams NMorrison, Dr Jean C NAN813 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
166
+ 19043253351NNBNTwelve Fragments NWilkie, George NAN1297 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
167
+ 19043253431NNBNMiraculous Everyday, The NElliot, Alison NAN4222 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
168
+ C001 1NNBNADMISSION TO HOLY COMMUNION CEN NAN520 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
169
+ C002 1NNBNBAPTISM DOVES CERTIFICATE N NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
170
+ C004 1NNBNCHURCH OF SCOTLAND CERTIFICATEN NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
171
+ C005 1NNBNFIRST COMMUNION CERTIFICATE N NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
172
+ C006 1NNBNRECOGNITION OF SERVICE CERTIFIN NAN439 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
173
+ C007 1NNBNBAPTISM CERTIFICATE N NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
174
+ CA01 1NNBNBAPTISMAL REGISTER CASED N NAN19825 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
175
+ CA02 1NNBNTRANSFERENCE OF MEMBERSHIP CERN NAN2519 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
176
+ CA03 1NNBNCOMMUNION CARDS (PACK 100) N NAN1057 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
177
+ CA04 1NNBNCRADLE ROLL CERTIFICATE N NAN423 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
178
+ CA05 1NNBNCRADLE ROLL SCROLL N NAN2032 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
179
+ CA06 1NNBNELDERS ROLL BOOK N NAN520 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
180
+ CA07 1NNBNOFFERING CERTIFICATE BOOK N NAN2357 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
181
+ CA08 1NNBNORDAINED A RULING ELDER CERTIFN NAN504 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
182
+ CA09 1NNBNROLL OF COMMUNICANTS A SHEET (N NAN3657 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
183
+ CA13 1NNBNSUPPLEMENTARY ROLL BOOK CASED N NAN3982 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
184
+ CA14 1NNBNCRADLE ROLL CERTIFICATE C OF SN NAN390 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
185
+ CA15 1NNBNCRADLE ROLL SCROLL C OF S N NAN1869 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
186
+ CV01 1NNBNCALL TO MINISTER CERTIFICATE N NAN260 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
187
+ CV02 1NNBNCONCURRENCE IN CALL SHEET N NAN260 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
188
+ CV03 1NNBNCALL CONTINUATION CERTIFICATE N NAN260 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
189
+ M003 1NNBNLAPEL BADGE BURNING BUSH CLIP N NAN260 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
190
+ M004 1NNBNLAPEL BADGE BURNING BUSH PIN N NAN260 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
191
+ M005 1NNBNTIE BURNING BUSH N NAN3088 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
192
+ M006 1NNBNTIE STRIPES N NAN3088 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
193
+ M007 1NNBNOPERATION WELCOME N NAN6500 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
194
+ M008 1NNBNSTATEMENT OF CHRISTIAN FAITH (N NAN1707 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
195
+ M009 1NNBNSTATEMENT OF CHRISTIAN FAITH (N NAN520 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
196
+ M011 1NNBNCHURCH HYMNARY COVER PLASTIC N NAN423 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
197
+ PEPVIDEO1 1NNBNWhy Me? Video NSteven, Sheilah NAN3247 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
198
+ PEPVIDEO2 1NNBNCaring for God's People Video NSteven, Sheilah NAN4547 N NSAND NSCOTIS N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
199
+ S003 1NNBNCOMMUNION GLASSES (PACK 13) N NAN5850 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
200
+ S004 1NNBNFIRST COMMUNION LANDSCAPE A6 N NAN195 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
201
+ S005 1NNBNJUNIOR CHURCH ATTENDANCE CARDSN NAN455 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
202
+ S006 1NNBNCOMMUNION GLASS N NAN650 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
203
+ SS01 1NNBNATTENDANCE PERFECT CERTIFICATEN NAN439 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
204
+ SS02 1NNBNATTENDANCE CERTIFICATE N NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
205
+ SS03 1NNBNBIRTHDAY ROLL CARDS (PACK OF 5N NAN927 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
206
+ SS04 1NNBNCLASS REGISTRATION ATTENDANCE N NAN195 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
207
+ SS05 1NNBNCHURCH ATTENDANCE CARDS BLUE (N NAN293 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
208
+ SS06 1NNBNCHURCH ATTENDANCE CARDS RED (PN NAN293 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
209
+ SS07 1NNBNPRIZE LABELS (PACK OF 50) N NAN764 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
210
+ SS08 1NNBNPROMISE CARDS (PACK OF 10) N NAN439 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
211
+ SS09 1NNBNPROMOTION CERTIFICATE N NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
212
+ SS10 1NNBNSUNDAY SCHOOL ROLL BOOK 54 NAMN NAN358 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
213
+ SS11 1NNBNSUNDAY SCHOOL ROLL BOOK 105 NAN NAN439 N NSAND NSTANP N N N N000N0000000N000000N NO/ON N N999999NNONN N N0N0N0000000N000000000000
@@ -1,107 +1,111 @@
1
1
  require 'digest/md5'
2
2
  require 'soap/soap'
3
3
 
4
- # A mock object to assist with testing the titlepage API wrapper
5
- class MockTitlePageDriver
4
+ module RBook
5
+ module TitlePage
6
+ # A mock object to assist with testing the titlepage API wrapper
7
+ class MockTitlePageDriver
6
8
 
7
- def initialize
8
- @username = "test"
9
- @password = "apa"
10
- end
9
+ def initialize
10
+ @username = "test"
11
+ @password = "apa"
12
+ end
11
13
 
12
- def login(username, password)
13
- if username.eql?(@username) && password.eql?(@password)
14
- @token = Digest::MD5.hexdigest(Time.now.to_s)
15
- return @token
16
- else
17
- raise SOAP::FaultError, SOAP::SOAPFault.new
18
- end
19
- end
14
+ def login(username, password)
15
+ if username.eql?(@username) && password.eql?(@password)
16
+ @token = Digest::MD5.hexdigest(Time.now.to_s)
17
+ return @token
18
+ else
19
+ raise SOAP::FaultError, SOAP::SOAPFault.new
20
+ end
21
+ end
20
22
 
21
- def logout(token)
22
- if token.eql?(@token)
23
- @token = nil
24
- return true
25
- end
26
- end
23
+ def logout(token)
24
+ if token.eql?(@token)
25
+ @token = nil
26
+ return true
27
+ end
28
+ end
27
29
 
28
- def SearchByEAN(token, isbn)
29
- if !token.eql?(@token)
30
- return nil
31
- elsif isbn.eql?("9780091835132")
32
- return fight_club
33
- elsif isbn.eql?("9780672327568")
34
- return postgresql
35
- else
36
- return no_match(isbn)
37
- end
38
- end
30
+ def SearchByEAN(token, isbn)
31
+ if !token.eql?(@token)
32
+ return nil
33
+ elsif isbn.eql?("9780091835132")
34
+ return fight_club
35
+ elsif isbn.eql?("9780672327568")
36
+ return postgresql
37
+ else
38
+ return no_match(isbn)
39
+ end
40
+ end
39
41
 
40
- private
42
+ private
41
43
 
42
- def fight_club
43
- result = SearchResults.new
44
- result.EAN = "9780091835132"
45
- product = Product.new
46
- author = Contributor.new
47
- author.PersonNameInverted = "PALAHNIUK, CHUCK"
48
- author.ContributorRole = "A01"
49
- product.Contributors = [author]
50
- title = Title.new
51
- title.TitleType = "01"
52
- title.TitleText = "Fight Club"
53
- product.Title = title
54
- supply = SupplyDetail.new
55
- supply.ProductAvailability = "20"
56
- supply.SupplierName = "Random House Australia"
57
- stock = Stock.new
58
- stock.OnHand = "In Stock"
59
- stock.OnOrder = "0"
60
- supply.Stock = stock
61
- price = Price.new
62
- price.PriceAmount = "23.95"
63
- supply.Price = price
64
- supply.PackQuantity = "48"
65
- id = ProductIdentifier.new
66
- id.ProductIDType = "03"
67
- id.IDValue = "9780091835132"
68
- result.Product = product
69
- return result
70
- end
44
+ def fight_club
45
+ result = RBook::TitlePage::SearchResults.new
46
+ result.EAN = "9780091835132"
47
+ product = Product.new
48
+ author = Contributor.new
49
+ author.PersonNameInverted = "PALAHNIUK, CHUCK"
50
+ author.ContributorRole = "A01"
51
+ product.Contributors = [author]
52
+ title = Title.new
53
+ title.TitleType = "01"
54
+ title.TitleText = "Fight Club"
55
+ product.Title = title
56
+ supply = SupplyDetail.new
57
+ supply.ProductAvailability = "20"
58
+ supply.SupplierName = "Random House Australia"
59
+ stock = Stock.new
60
+ stock.OnHand = "In Stock"
61
+ stock.OnOrder = "0"
62
+ supply.Stock = stock
63
+ price = Price.new
64
+ price.PriceAmount = "23.95"
65
+ supply.Price = price
66
+ supply.PackQuantity = "48"
67
+ id = ProductIdentifier.new
68
+ id.ProductIDType = "03"
69
+ id.IDValue = "9780091835132"
70
+ result.Product = product
71
+ return result
72
+ end
71
73
 
72
- def no_match(isbn)
73
- result = SearchResults.new
74
- result.EAN = isbn
75
- return result
76
- end
77
-
78
- def postgresql
79
- result = SearchResults.new
80
- result.EAN = "9780672327568"
81
- product = Product.new
82
- author = Contributor.new
83
- author.PersonNameInverted = "KORRY, DOUGLASS"
84
- author.ContributorRole = "A01"
85
- product.Contributors = [author]
86
- title = Title.new
87
- title.TitleType = "01"
88
- title.TitleText = "PostgreSQL"
89
- product.Title = title
90
- supply = SupplyDetail.new
91
- supply.ProductAvailability = "20"
92
- supply.SupplierName = "United Book Distributors"
93
- stock = Stock.new
94
- stock.OnHand = "0"
95
- stock.OnOrder = "0"
96
- supply.Stock = stock
97
- price = Price.new
98
- price.PriceAmount = "69.95"
99
- supply.Price = price
100
- supply.PackQuantity = "48"
101
- id = ProductIdentifier.new
102
- id.ProductIDType = "03"
103
- id.IDValue = "9780672327568"
104
- result.Product = product
105
- return result
74
+ def no_match(isbn)
75
+ result = RBook::TitlePage::SearchResults.new
76
+ result.EAN = isbn
77
+ return result
78
+ end
79
+
80
+ def postgresql
81
+ result = RBook::TitlePage::SearchResults.new
82
+ result.EAN = "9780672327568"
83
+ product = Product.new
84
+ author = Contributor.new
85
+ author.PersonNameInverted = "KORRY, DOUGLASS"
86
+ author.ContributorRole = "A01"
87
+ product.Contributors = [author]
88
+ title = Title.new
89
+ title.TitleType = "01"
90
+ title.TitleText = "PostgreSQL"
91
+ product.Title = title
92
+ supply = SupplyDetail.new
93
+ supply.ProductAvailability = "20"
94
+ supply.SupplierName = "United Book Distributors"
95
+ stock = Stock.new
96
+ stock.OnHand = "0"
97
+ stock.OnOrder = "0"
98
+ supply.Stock = stock
99
+ price = Price.new
100
+ price.PriceAmount = "69.95"
101
+ supply.Price = price
102
+ supply.PackQuantity = "48"
103
+ id = ProductIdentifier.new
104
+ id.ProductIDType = "03"
105
+ id.IDValue = "9780672327568"
106
+ result.Product = product
107
+ return result
108
+ end
109
+ end
106
110
  end
107
111
  end
@@ -7,48 +7,87 @@ class BISACTest < Test::Unit::TestCase
7
7
 
8
8
  def test_line_length
9
9
 
10
- bisac = RBook::Bisac.new("Rainbow","1234567","test","1")
11
- bisac.add_item(valid_item_1)
12
- bisac.add_item(valid_item_2)
10
+ bisac = RBook::Bisac::Message.new("Rainbow","1234567","test","1")
11
+ bisac << valid_item_1
12
+ bisac << valid_item_2
13
13
 
14
14
  bisac.to_s.split("\n").each do |line|
15
15
  assert_equal 259, line.length
16
16
  end
17
17
  end
18
18
 
19
+ def test_product_validation
20
+
21
+ assert_raise(ArgumentError) {
22
+ msg = RBook::Bisac::Product.new("01234567890")
23
+ }
24
+
25
+ msg = RBook::Bisac::Product.new("0123456789")
26
+
27
+ assert_raise(ArgumentError) {
28
+ msg.pubdate = "0601011"
29
+ }
30
+ assert_raise(ArgumentError) {
31
+ msg.price = "@#DAS"
32
+ }
33
+ assert_raise(ArgumentError) {
34
+ msg.price = "01234567"
35
+ }
36
+
37
+ end
38
+
39
+ def test_load_from_file
40
+ msg = RBook::Bisac::Message.load(File.dirname(__FILE__) + "/../data/valid_bisac.txt")
41
+ assert_equal "SAND", msg.company
42
+ assert_equal "9012982", msg.san
43
+ assert_equal "000001", msg.batch
44
+ assert_equal "0", msg.code
45
+ assert_equal 212, msg.products.size
46
+
47
+ product = msg.products[0]
48
+ assert_equal "0715200615", product.isbn
49
+ assert_equal "GODS YOUNG CHURCH PB", product.title
50
+ assert_equal "Barclay, W", product.author
51
+ assert_equal "2272", product.price
52
+ assert_equal "SAND", product.publisher
53
+ assert_equal "STANP", product.imprint
54
+ assert_equal "", product.volumes
55
+ assert_equal "000", product.volume
56
+ assert_equal "", product.edition
57
+ assert_equal "", product.binding
58
+ end
59
+
19
60
  private
20
61
 
21
62
  def valid_item_1
22
- item = {}
23
- item[:isbn] = "0743285689"
24
- item[:title] = "Enemy Combatant"
25
- item[:author] = "Begg, Moazzam"
26
- item[:price] = "2995"
27
- item[:pubdate] = "060101"
28
- item[:publisher] = "Simon and Schuster"
29
- item[:imprint] = "Free Press"
30
- item[:volumes] = "1"
31
- item[:edition] = "1"
32
- item[:binding] = "PB"
33
- item[:volume] = "1"
34
- item[:status] = "O/O"
63
+ item = RBook::Bisac::Product.new("0743285689")
64
+ item.title = "Enemy Combatant"
65
+ item.author = "Begg, Moazzam"
66
+ item.price = "2995"
67
+ item.pubdate = "060101"
68
+ item.publisher = "Simon and Schuster"
69
+ item.imprint = "Free Press"
70
+ item.volumes = "1"
71
+ item.edition = "1"
72
+ item.binding = "PB"
73
+ item.volume = "1"
74
+ item.status = "O/O"
35
75
  return item
36
76
  end
37
77
 
38
78
  def valid_item_2
39
- item = {}
40
- item[:isbn] = "0975240277"
41
- item[:title] = "HTML Utopia Designing Without Tables Using CSS"
42
- item[:author] = "Andrew, Rachel; Shafer, Dan"
43
- item[:price] = "5995"
44
- item[:pubdate] = "060401"
45
- item[:publisher] = "Sitepoint"
46
- item[:imprint] = "Sitepoint"
47
- item[:volumes] = "1"
48
- item[:edition] = "2"
49
- item[:binding] = "PB"
50
- item[:volume] = "1"
51
- item[:status] = "ACT"
79
+ item = RBook::Bisac::Product.new("0975240277")
80
+ item.title = "HTML Utopia Designing Without Tables Using CSS"
81
+ item.author = "Andrew, Rachel; Shafer, Dan"
82
+ item.price = "5995"
83
+ item.pubdate = "060401"
84
+ item.publisher = "Sitepoint"
85
+ item.imprint = "Sitepoint"
86
+ item.volumes = "1"
87
+ item.edition = "2"
88
+ item.binding = "PB"
89
+ item.volume = "1"
90
+ item.status = "ACT"
52
91
  return item
53
92
  end
54
93