Thanks bawolf and Fæ for your suggestions.
The html style italic didn't work, but adding the italic template did work.
Regarding the data a bit dirty but it looks good.
Thanks again
Erik
1. Re: wiki markup and XML (bawolff)
2. Re: wiki markup and XML (Fæ)
----------------------------------------------------------------------
Message: 1
Date: Thu, 15 Dec 2016 20:33:06 +0000
From: bawolff <bawolff+wn(a)gmail.com>
To: Conversations revolving around the development of GLAM Digital
Tools <glamtools(a)lists.wikimedia.org>
Subject: Re: [Glamtools] wiki markup and XML
Message-ID:
<CA+oo+DVVU=aZxs8+fOs39LtbtVYskZCrXPsMqF5AXED4cSmwuA(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
I guess you could try putting it italic in html style (i.e. In the XML put
<i>value</i> )
I'm not sure what the escaping that gwtoolset does is, so I have no idea if it will
work, but worth a shot. Failing that, you could make a separate template and have the
italics be added in the separate template.
On Thu, Dec 15, 2016 at 10:39 AM, Bastiaanse, Erik <E.Bastiaanse(a)uva.nl> wrote:
Hi all,
I'm in the process of tuning the last details of the metadata mapping
before loading images with the toolset.
One thing I can't find out is how to format text during the upload.
Some of the fields I want to add should be in italic.
I add the fields as {{Information field|name=Old Latin name|value=<value>}}.
I have tried to put '' before and after the <value> and tried $apos;
and ' as well.
But all these are translated in wikimedia commons to {{Information
field|name=Old Latin name|value=''<value>''}}
See f.i.
https://commons.wikimedia.beta.wmflabs.org/wiki/File:Simia_satyrus_-_1
700-1880_-_Print_-_Iconographia_Zoologica_-_Special_Collections_Univer
sity_of_Amsterdam_-_UBA01_IZ19800001.tif
What should I do to correct this?
Cheers,
Erik
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools
------------------------------
Message: 2
Date: Thu, 15 Dec 2016 21:01:51 +0000
From: Fæ <faewik(a)gmail.com>
To: Conversations revolving around the development of GLAM Digital
Tools <glamtools(a)lists.wikimedia.org>
Subject: Re: [Glamtools] wiki markup and XML
Message-ID:
<CAH7nnD3c+wqrwOASvgxY8Rq8BHxtDc5fyHrwQO5CahF88KNUiQ(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
It may be easiest to try {{italics|Your text here.}}
As you are embedding within xml, most characters will end up escaped, but I think brackets
and pipes are okay as they don't interfere with xml standards.
Once you have something working, it may be worth adding the solution to the GWT manual.
Fae
On 15 December 2016 at 20:33, bawolff <bawolff+wn(a)gmail.com> wrote:
I guess you could try putting it italic in html style
(i.e. In the XML
put <i>value</i> )
I'm not sure what the escaping that gwtoolset does is, so I have no
idea if it will work, but worth a shot. Failing that, you could make a
separate template and have the italics be added in the separate
template.
On Thu, Dec 15, 2016 at 10:39 AM, Bastiaanse, Erik <E.Bastiaanse(a)uva.nl> wrote:
Hi all,
I'm in the process of tuning the last details of the metadata mapping
before loading images with the toolset.
One thing I can't find out is how to format text during the upload.
Some of the fields I want to add should be in italic.
I add the fields as {{Information field|name=Old Latin name|value=<value>}}.
I have tried to put '' before and after the <value> and tried $apos;
and ' as well.
But all these are translated in wikimedia commons to {{Information
field|name=Old Latin name|value=''<value>''}}
See f.i.
https://commons.wikimedia.beta.wmflabs.org/wiki/File:Simia_satyrus_-_
1700-1880_-_Print_-_Iconographia_Zoologica_-_Special_Collections_Univ
ersity_of_Amsterdam_-_UBA01_IZ19800001.tif
What should I do to correct this?
Cheers,
Erik
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools
--
faewik(a)gmail.com
https://commons.wikimedia.org/wiki/User:Fae
------------------------------
Subject: Digest Footer
_______________________________________________
Glamtools mailing list
Glamtools(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools
------------------------------
End of Glamtools Digest, Vol 45, Issue 2
****************************************