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...@gmail.com>
To: Conversations revolving around the development of GLAM Digital
        Tools <glamtools@lists.wikimedia.org>
Subject: Re: [Glamtools] wiki markup and XML
Message-ID:
        <CA+oo+DVVU=azxs8+fos39ltbtvyskzcrxpsmqf5axed4csm...@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 
&lt;i&gt;value&lt;/i&gt; )

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.bastiaa...@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 &#39; as well.
>
> But all these are translated in wikimedia commons to {{Information
> field|name=Old Latin name|value=&#39;&#39;<value>&#39;&#39;}}
>
> 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@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/glamtools
>



------------------------------

Message: 2
Date: Thu, 15 Dec 2016 21:01:51 +0000
From: Fæ <fae...@gmail.com>
To: Conversations revolving around the development of GLAM Digital
        Tools <glamtools@lists.wikimedia.org>
Subject: Re: [Glamtools] wiki markup and XML
Message-ID:
        <cah7nnd3c+wqrwoasvgxy8rq8bhxtdc5fyhrwqo5cahf88kn...@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...@gmail.com> wrote:
> I guess you could try putting it italic in html style (i.e. In the XML 
> put &lt;i&gt;value&lt;/i&gt; )
>
> 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.bastiaa...@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 &#39; as well.
>>
>> But all these are translated in wikimedia commons to {{Information
>> field|name=Old Latin name|value=&#39;&#39;<value>&#39;&#39;}}
>>
>> 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@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/glamtools
>>
>
> _______________________________________________
> Glamtools mailing list
> Glamtools@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/glamtools



--
fae...@gmail.com https://commons.wikimedia.org/wiki/User:Fae



------------------------------

Subject: Digest Footer

_______________________________________________
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools


------------------------------

End of Glamtools Digest, Vol 45, Issue 2
****************************************
_______________________________________________
Glamtools mailing list
Glamtools@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glamtools

Reply via email to