Due to enormous amounts of spam, the forum has been set to read-only mode.



Reply to topic  [ 3 posts ] 
concatenated string of authors on export 
Author Message

Joined: Mon Jun 25, 2012 1:05 pm
Posts: 2
Post 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
Profile
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: concatenated string of authors on export

erik wrote:
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

Can you please send the XML file to support@fnprg.com ?

_________________
Fredrik Nordbakke
www.fnprg.com


Tue Jun 26, 2012 9:15 am
Profile WWW

Joined: Mon Jun 25, 2012 1:05 pm
Posts: 2
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.