|
View unanswered posts | View active topics
It is currently Sun May 19, 2013 12:32 am
Due to enormous amounts of spam, the forum has been set to read-only mode.
|
Page 1 of 1
|
[ 3 posts ] |
|
concatenated string of authors on export
| Author |
Message |
|
erik
Joined: Mon Jun 25, 2012 1:05 pm Posts: 2
|
 concatenated string of authors on export
Hi, When I try to export to xml, the books with multiple authors get glued together, like this: author1firstname, author1surnameauthor2surname, author2firstname.
Is that a bug, or am I missing something?
Thanks, Erik
|
| Mon Jun 25, 2012 1:12 pm |
|
 |
|
FredrikN
Site Admin
Joined: Fri Nov 22, 2002 3:52 pm Posts: 13748
|
 Re: concatenated string of authors on export
Can you please send the XML file to support@fnprg.com ?
_________________ Fredrik Nordbakke www.fnprg.com
|
| Tue Jun 26, 2012 9:15 am |
|
 |
|
erik
Joined: Mon Jun 25, 2012 1:05 pm Posts: 2
|
 Re: concatenated string of authors on export
Actually, I was missing something: I took the "author sort" node for a concatenated multiple-author string. I should have looked at the author->name nodes and let my script concatenate the string from there:
<authors sort="Merten, KlausMarton, Paolo"> <- not this one <author id="30"> <name>Klaus Merten</name> <- but this <sortby>Merten, Klaus</sortby> <realname id="-1"/> <country id="-1"/> <roles/> </author> <author id="31"> <name>Paolo Marton</name> <- and this <sortby>Marton, Paolo</sortby> <realname id="-1"/> <country id="-1"/> <roles/> </author>
So its OK now, thank you & regards, Erik
|
| Tue Jun 26, 2012 10:54 am |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|