Dear all,
I am testing my very first batch upload on
http://commons.wikimedia.beta.wmflabs.org/wiki/Special:GWToolset
it all looks great and seems to work (I can map fields), but when I try start the upload I
get an error message:
There was a problem processing the metadata file.
Copy uploads are not available from this domain.
We host our images in the Google cloud and the url to images refer to:
http://lh3.ggpht.com/
http://lh4.ggpht.com
http://lh5.ggpht.com
http://lh6.ggpht.com
I know Sandra Fauconnier already asked permission for these domains but I am not sure if
that was for this test environment or for the production environment?
I also noted that I don’t have permissions for uploading batches in the production
environment: I am still testing in the Test toolset, but how do I get permissions when we
are ready with testing?
Thanks again!
best wishes
Lizzy Jongma
On 13 Sep 2015, at 14:32, Lizzy Jongma
<L.Jongma@rijksmuseum.nl<mailto:L.Jongma@rijksmuseum.nl>> wrote:
Hi all,
Thanks for your tips!!!!
Before opening my email I realised that XSLT actually has a simple code to transform names
etc:
<xsl:element name="dc:creator">
<xsl:text>{{Creator|Name=</xsl:text>
<xsl:value-of select="substring-after(name/value[@lang=1], ', ')"
/>
<xsl:text> </xsl:text>
<xsl:value-of select="substring-before(name/value[@lang=1], ', ')"
/>
So that was easy.
But the option in de GLAMwiki toolset looks cool too! I may want to try that later on
too!
BTW: if people are interested in the API-call we are building, this is the URL:
https://www.rijksmuseum.nl/api2/oai/8zmxuaJ2?verb=ListRecords&metadataP…
Mind you: it’s still work in progress but please feel free to send me your comments
And eh… anyone interested in the XSLT? I could make it available too (when we are
finished)
Best wishes
Lizzy
On 13 Sep 2015, at 12:51, Federico Leva (Nemo)
<nemowiki@gmail.com<mailto:nemowiki@gmail.com>> wrote:
Jean-Frédéric, 13/09/2015 12:10:
This is one of the tricks built-in in the GlamWiki Toolset (I have never
tested it though):
When I imported some stuff from BEIC's Primo, I did a regex replacement like this in a
LibreOffice document:
([^,:]+(?=,)),? *([^,(:]+)? *:? *([^,\(]+)? * → $2 $3 $1
( : | +) → (nothing)
But there are so many possible formats...
Nemo
_______________________________________________
Glamtools mailing list
Glamtools@lists.wikimedia.org<mailto:Glamtools@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/glamtools
_______________________________________________
Glamtools mailing list
Glamtools@lists.wikimedia.org<mailto:Glamtools@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/glamtools