Jump to content

User talk:Dan-nl

Add topic
From mediawiki.org
Latest comment: 7 years ago by Dan-nl in topic problem using GWToolset

Completing project documentation

[edit]

This is regarding the announcement (http://lists.wikimedia.org/pipermail/labs-l/2014-July/002762.html) if you have missed it.

We have added some fields in addition to description field which is already there on your projects. Please click "Edit Documentation" in your project page/projects pages and fill the blanks. It will only take few minutes from your valuable time.

If you have any comments or suggestion on the form please let me know. Thanks in advance!--Sandaru (talk) 17:17, 24 July 2014 (UTC)Reply

Yes Done Dan-nl (talk) 22:18, 2 August 2014 (UTC)Reply

Pre-scheduling sessions at Wikimania hackathon

[edit]

Hi, I reverted your edit at the Wikimania Hackathon schedule. Nothing personal, just trying to keep pre-scheduling of sessions at a minimum to keep the unconference style. The sessions that have been scheduled either are targeted to newbies (so they can prepare in advance) or to teams with several people that can meet only at certain times (e.g. because they have remote participants). If this is not your case, no worries, you will certainly find a slot for your session. If, after all, you still need to schedule the session in advance, please add a description under /Topics, tell the other participants to sign up, and add it to the schedule. Thank you for your understanding.--Qgil (talk) 14:39, 1 August 2014 (UTC)Reply

i understand Qgil; thanks for leaving me a message about it. i’ll email the organiser of that event and let him know that he can add the topic to the topic page instead. Dan-nl (talk) 22:06, 2 August 2014 (UTC)Reply

problem using GWToolset

[edit]

I did a simple experiment to upload two images of maps, with the map template using this tool. I am able to get the images using a browser and "wget"

My xml file is:

  <?xml version="1.0" encoding="UTF-8"?>
 
 <record>
   <filename>
     map1.jpg
   </filename>
   <title>
     Afbeeldinge der Stad Jerusalem
   </title>
   <url>
     http://iiif.nli.org.il/IIIFv21/FL7070748/full/300,/0/default.jpg
   </url>
 </record>
 
 <record>
   <filename>
     map2.jpg
   </filename>
   <title>
     Ierusalem
   </title>
   <url>
     http://iiif.nli.org.il/IIIFv21/FL7071077/full/300,/0/default.jpg
   </url>
 </record>
 

my mapping is: https://commons.wikimedia.beta.wmflabs.org/wiki/GWToolset:Metadata_Mappings/Shavaty/NLI-Maps.json

I get the error:

  The media file URL could not be evaluated. The URL delivers the content in a way that is not yet handled by this extension or there was an HTTP request issue. URL given was 
  "http://iiif.nli.org.il/IIIFv21/FL7070748/full/300,/0/default.jpg". HTTP request error "There was a problem during the HTTP request: 405 Method Not Allowed".

How can I debug that? Thanks Shavtay (talk) 21:22, 25 November 2017 (UTC)Reply

  • Update: I see now that this exception is thrown when requesting the link with the HEAD method.

I ran:

   curl --head iiif.nli.org.il/IIIFv21/FL7070748/full/300,/0/default.jpg

and Got

   HTTP/1.1 405 Method Not Allowed




GWToolset makes a HEAD request to make sure a file is available, has a content-type that is accepted, and a matching extension. the failure message you mentioned occurs when the HEAD request is unsuccessful. i noticed that the iiif server allows

   curl --head iiif.nli.org.il

but not to

   curl --head iiif.nli.org.il/IIIFv21

maybe the iiif server disallows HEAD requests by default, or a server admin expressly set it to only allow GET requests. is it possible to ask one of the server admins to allow HEAD requests to /IIIFv21 and the files you want to upload?