Quote:
Originally Posted by 01100001
EDIT: Unfortunately, no luck so far.
And I noticed something very important. A comma is assumed as the separator of values! So if I were to use an authors-like custom column (which I am; but simplified it for the example), where & is the separator, it gets messy. (Because values are split at commas instead of &'s when generating/identifying list items.)
I am not sure if anything can be done about this anymore. Would be great if there's a solution though.
|
It would help if you read the
General Program Mode section of the calibre manual. There you would see that you can specify the separator to use in a for loop.
You don't say what the link text should be or where it comes from so I use "link_text" in this example.
Code:
program:
j = '';
for i in $#people separator '&':
j = j & '<li><a href="' & 'link_text' & '">' & i & '</a></li>'
rof;
'<ul>' & j & '</ul>'