28 |
=head2 Lookups |
=head2 Lookups |
29 |
|
|
30 |
For a start, lookup files are no longer supported. Since memory lookups |
For a start, lookup files are no longer supported. Since memory lookups |
31 |
are newer and more powerfull (for example, each key can have more than |
are newer and more powerful (for example, each key can have more than |
32 |
one value) it's not a great loss. However, you will have to re-write |
one value) it's not a great loss. However, you will have to re-write |
33 |
your C<import_xml> files if you use lookup files to use memory lookups. |
your C<import_xml> files if you use lookup files to use memory lookups. |
34 |
|
|
35 |
Memory lookups (refered as lookups for new versions of WebPAC) are now |
Memory lookups (referred as lookups for new versions of WebPAC) are now |
36 |
available always. Since whole database is availabe when creating |
available always. Since whole database is available when creating |
37 |
output linking should be much easier now. |
output linking should be much easier now. |
38 |
|
|
39 |
|
However, using new lookups require to define lookups in different way. |
40 |
|
Additional benefit of that is conditional insert into lookup using eval. |
41 |
|
|
42 |
|
=head2 Field definition in C<import_xml> |
43 |
|
|
44 |
|
Field definitions in C<import_xml> files has changed. Previously, you could |
45 |
|
write something like C<250a> and expect to get data from field B<250> subfield |
46 |
|
B<a>. Now you have to write C<v250^a> which is more ISIS-like and easier to |
47 |
|
parse. Don't be afraid, there is migration script in C<import_xml> to do |
48 |
|
this task for you. |
49 |
|
|
50 |
|
=head2 Templates |
51 |
|
|
52 |
|
Templateing engine has changed. WebPAC doesn't use C<HTML::Template> anymore, |
53 |
|
but Template Toolkit. TT proved to be workhorse for many tasks |
54 |
|
and limitations of C<HTML::Template> forced me to move from it. |
55 |
|
|
56 |
|
For you, the user, that will result in changes to all templates. I'm sorry |
57 |
|
about this, but it had to be done. |