/[webpac]/trunk2/NEWS.pod
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk2/NEWS.pod

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 369 by dpavlin, Thu Jun 17 15:13:02 2004 UTC revision 375 by dpavlin, Sun Jun 20 17:52:41 2004 UTC
# Line 32  are newer and more powerful (for example Line 32  are newer and more powerful (for example
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    Lookups B<are not> specified by C<[v900^4]> as in v1.x. Now, you have
36    to use something like C<lookup{v900^4}>. Recursive lookups are also
37    possible: C<lookup{foo:lookup{v900^4}}>.
38    
39  Memory lookups (referred as lookups for new versions of WebPAC) are now  Memory lookups (referred as lookups for new versions of WebPAC) are now
40  available always. Since whole database is available when creating  always available. Since whole database is available when creating
41  output linking should be much easier now.  output linking should be much easier now.
42    
43  However, using new lookups require to define lookups in different way.  However, using new lookups require to define lookups in different way.
44  Additional benefit of that is conditional insert into lookup using eval.  Additional benefit of that is conditional insert into lookup using eval
45    (TODO: explain new lookup format).
46    
47    If you have any lookups in your tag (e.g. <isis>lookup{v900^5}</isis>)
48    smart delimiters will be turned off (this behaviour is consistent with
49    old in v1.x if you use C<type="lookup*"> or C<filter="mem_lookup">).
50    
51  =head2 Field definition in C<import_xml>  =head2 Field definition in C<import_xml>
52    
# Line 55  and limitations of C<HTML::Template> for Line 64  and limitations of C<HTML::Template> for
64    
65  For you, the user, that will result in changes to all templates. I'm sorry  For you, the user, that will result in changes to all templates. I'm sorry
66  about this, but it had to be done.  about this, but it had to be done.
67    
68    =head2 Order of substitution
69    
70    This was never really documented, so here it is now:
71    
72    =over 5
73    
74    =item fields
75    
76    substitution of fields like C<v200^a> into values
77    
78    =item lookups
79    
80    next, lookups are performed (C<lookup{...}>)
81    
82    =item format
83    
84    then formats (defined by C<format_name=> and C<format_delimiter=>) are
85    applied. If formats have lookups, they will be performed again.
86    
87    =cut

Legend:
Removed from v.369  
changed lines
  Added in v.375

  ViewVC Help
Powered by ViewVC 1.1.26