Personalozed collection - parsing fields such as 'name | notes | url'

Richard Lyons richard at lyons.art.br
Fri Sep 20 02:00:13 BST 2024


Hello again.

I saw fields specified with pipe or comma separated arrays (in the book
collection prototype, for example). I was planning to use a similar kind
of array, but do not know how these are parsed. I imagine they are
entered as simple text type, but then what?

Associated with this, I was assuming 'allow multiple entries' would
allow entering multiple images for example to get xml roughly like this:

  <images>
   <image>
    <image_url>....</image_url>
    <image_caption>....</image_caption>
    <image_seqno>....</image_seqno>
   </image>
   <image>
    ....
   </image>
  </images>

But now I engage my brain, I see this may cause problems, depending on
how such arrays are parsed and handled.

All of my items have at least one image, some need a minimum of two, I
plan on using more. Am I seeking the impossible, or will a simple perl
script solve this problem and if so how are scripts integrated?

Perhaps I am making wrong assumptions. If so, any advice is welcome!

TIA,

richard


-- 
Richard Lyons 


More information about the tellico-users mailing list