Dear all,
My name is Lizzy Jongma. I am datamanager at the Rijksmuseum and I am currently trying to do a (new) batch upload to Wikimedia Commons with the Batch Upload tool.
We are currently mapping our internal metadata to the GLAMwiki format(s) and as you can all imagine: this always leads to a million questions. I will not send you all a million questions but I would like to send you all this one:
These are the dimensions of an object in our collection, written down in Adlib and then exported as XML to our website:
1. <dimension>
2. <dimension.notes>
3. <value lang="0"/>
4. <value lang="1"/>
5. </dimension.notes>
6. <dimension.unit>
7. <value lang="0">cm</value>
8. <value lang="1">cm</value>
9. </dimension.unit>
10.<dimension.value>
11.<value lang="0">379.5</value>
12.<value lang="1">379,5</value>
13.</dimension.value>
14.<dimension.type>
15.<value lang="0">height</value>
16.<value lang="1">hoogte</value>
17.</dimension.type>
18.</dimension>
19.<dimension>
20.<dimension.notes>
21.<value lang="0"/>
22.<value lang="1"/>
23.</dimension.notes>
24.<dimension.unit>
25.<value lang="0">cm</value>
26.<value lang="1">cm</value>
27.</dimension.unit>
28.<dimension.value>
29.<value lang="0">453.5</value>
30.<value lang="1">453,5</value>
31.</dimension.value>
32.<dimension.type>
33.<value lang="0">width</value>
34.<value lang="1">breedte</value>
35.</dimension.type>
36.</dimension>
37.<dimension>
38.<dimension.notes>
39.<value lang="0"/>
40.<value lang="1">gewicht met lijst</value>
41.</dimension.notes>
42.<dimension.unit>
43.<value lang="0">kg</value>
44.<value lang="1">kg</value>
45.</dimension.unit>
46.<dimension.value>
47.<value lang="0">337</value>
48.<value lang="1">337</value>
49.</dimension.value>
50.<dimension.type>
51.<value lang="0">weight</value>
52.<value lang="1">gewicht</value>
53.</dimension.type>
54.</dimension>
55.<dimension>
(XSLT: And in our web CMS we put this XSLT:
<!-- dimensions -->
<xsl:element name="dcterms:SizeOrDuration">
<xsl:text>{{Size|unit=</xsl:text>
<xsl:value-of select="dimension/dimension.unit/value[@lang=0]"/>
<xsl:apply-templates select="dimension"/>
<xsl:text>}}</xsl:text>
</xsl:element>
<xsl:template match="dimension">
<xsl:text>|</xsl:text>
<xsl:value-of select="dimension.type/value[@lang=0]"/>
<xsl:text>=</xsl:text>
<xsl:value-of select="dimension.value/value[@lang=0]"/>
</xsl:template>
)
I am currently writing an XSLT stylesheet to transform this XML to the Wikimedia format for documenting Works of Art:
Dimensions - dcterms: SizeOrDuration ('class') - dimensions
Use Size formatting template: Dimensions of the artwork: 1D (length), 2D (width × height) or 3D (width × height × depth). Please use {{Size}}<https://commons.wikimedia.org/wiki/Template:Size> formatting template, such as:
{{Size|unit=cm|width=76.7|height=83.5}} <- gives Height: 83.5 cm (32.9 in). Width: 76.7 cm (30.2 in).
But, as you can see Size only consists of one type of unit and our dimensions consist of two types of units for specific parts.
How do I solve this? Repeat dcterms: SizeOrDuration ('class') for different units? Ignore units for weights etc?
Thanks for your input!
Best wishes
Lizzy Jongma
[cid:image003.png@01D0EC83.EDE73D50]
Museumstraat 1
Postbus 74888
1070 DN Amsterdam
Rijksmuseum.nl<http://www.rijksmuseum.nl/>
t/m 21 sept | Uit en thuis<https://www.rijksmuseum.nl/nl/uit-en-thuis> Landschapstekeningen uit de John en Marine van Vlissingen Collectie
t/m 27 sept | New for Now<https://www.rijksmuseum.nl/nl/new-for-now> The origin of fashion magazines
t/m 15 november | Dick Bruna. Kunstenaar<https://www.rijksmuseum.nl/nl/bruna>
Before I forget:
Lizzy you wrote this :
"In the creator set you ask us to change the creator name from “Bruna,
Dick” to “Dick Bruna”
Before spending hours on writing XSLT: has anyone else written XSLT code to
transform a creators’name and could we “borrow” your XSLT code?
That would save us sooooo much time""
At the Rijksmuseum you have indexed most or all of your creators to the
RKDartists database and we have matched a good chunk of those on
Mix-n-Match. If you export your RKD matches you can use our downloadable
Mix-n-Match set of names to make the conversion.
Here is the link to download the text file with matched RKDartist names (Q
numbers without the leading "Q")
https://tools.wmflabs.org/mix-n-match/api.php?query=download&catalog=38
Hi all,
Sorry to bother you again: the Rijksmuseum is creating a set to upload in the GLAMwiki toolset and there is documentation about the template we are using: the artwork template. In this template the format of Wikimedia Commons fields is being described. For instance: this is the format for technique
{{Technique|Oil|Canvas}}
We are wondering whether we have to incorporate this in our XML or if the template/GLAMtool will rewrite: <dcterms:medium xmlns="http://www.w3.org/2000/01/rdf-schema#">paper</dcterms:medium> into the Wikimedia format?
We always use CC PD + CC PD Mark URL to mark our works of art:
<dc:rights xmlns="http://www.w3.org/2000/01/rdf-schema#">http://creativecommons.org/publicdomain/mark/1.0/</dc:rights<http://creativecommons.org/publicdomain/mark/1.0/%3c/dc:rights>>
We are now puzzeling on wiki licensing: do we need to use the {{PD-old}} tags? And do we also need to implement the {{PD-1923}} for the US?
We are using XSLT to transform our internal XML into Dublin Core.
In the creator set you ask us to change the creator name from "Bruna, Dick" to "Dick Bruna"
Before spending hours on writing XSLT: has anyone else written XSLT code to transform a creators'name and could we "borrow" your XSLT code?
That would save us sooooo much time
Thank you all for your help!
Have a great weekend!
Best wishes from sunny Amsterdam
Lizzy
[cid:image002.png@01D0ECB8.988C3F10]
Museumstraat 1
Postbus 74888
1070 DN Amsterdam
Rijksmuseum.nl<http://www.rijksmuseum.nl/>
t/m 21 sept | Uit en thuis<https://www.rijksmuseum.nl/nl/uit-en-thuis> Landschapstekeningen uit de John en Marine van Vlissingen Collectie
t/m 27 sept | New for Now<https://www.rijksmuseum.nl/nl/new-for-now> The origin of fashion magazines
t/m 15 november | Dick Bruna. Kunstenaar<https://www.rijksmuseum.nl/nl/bruna>
Sorry, this was my mistake in Excel....aiaiai
Apologies,
hans muller
Thanks for looking!
It seems not a single new file of the two subsequent batch jobs (all shell
pictures, no birds) has been uploaded, see
https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Hansmulle…
although indeed
<https://commons.wikimedia.org/w/index.php?title=Special:Log&limit=500&type=…>
shows activity.
Cheers, hansmuller
Op Vr, 11 september, 2015 6:44 am schreef Brian Wolff:
>> * Not sure what âEdit conflict original URL: http://... evaluated
>> URL:
>> http://...â might mean
>>
>>
>
> It means someone changed the image description page, while gwtoolset
> was trying to edit it. (I believe that the error comes from line 1822 of
> WikiPage.php, which has comment "Belated edit conflict! Run
> away!!")
>
> Which sounds kind of unlikely. Maybe gwtoolset is stepping on
> itself(?) I'm not really sure, sounds weird.
>
> --
> -bawolff
>
>
Jean-Frédéric wrote:
Everything looks fine now:
<https://commons.wikimedia.org/w/index.php?title=Special:Log&limit=500&type=…>
Some tasks are in error:
* Duplicate media file is what it says on the tin − not surprising
if you submitted the same job twice.
* Not sure what Edit conflict original URL: http://... evaluated URL:
http://... might mean
> _______________________________________________
> Glamtools mailing list
> Glamtools(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/glamtools
>
>
Dear colleagues,
This afternoon (Europe) GWT refused to upload a new batch, after serving
me fine for days....
I stupidly tried the same batch job again (albeit with different throttle,
can be deleted) no action, and still so many birds, mammals, insects,
herbaria and artworks from Naturalis, Leiden, to go..
kind regards,
hansmuller