Add search button to Omeka S Universal Viewer

119 views
Skip to first unread message

veri...@gmail.com

unread,
Mar 18, 2019, 4:11:35 PM3/18/19
to Universal Viewer
Hi all, I’d like to add a button to search text within my PDF documents. I am running the Universal Viewer module on my Omeka S site. After a few days looking around the web and trying to figure this out on my own I am still unable to do so.

In short: this is what I have https://eastbaypunkda.com/s/east-bay-punk-digital-archive/item/622#?c=&m=&s=&cv= 1

And this is what I’d like to have https://neptun.unamur.be/s/neptun/item/1167#?c=0&m=0&s=0&cv=0 1

I’ve looked at a number of sites and it seems like many of them have different configurations, but I can’t seem to figure out where I need to be making these changes. I was able to hide the footer by editing the config.json file, but I can’t seem to be able to do anything else from there. What I really need is the search button, but it wouldn’t hurt to figure out how to make other changes as well. I tried to look for documentation and reverse-engineer those other websites but have been unable to find anything helpful – their config file seems similar to mine. The only thing I can think of, is that the IIIF server plugin somehow processes the file differently? I also wonder whether that's an issue with the plugin or whether there's something about Universal Viewer that I am missing. The only resource that addresses searching is the following http://ronallo.com/iiif-workshop/search/uv-search.html#?c=0&m=0&s=0&cv=0&r=0&xywh=-1336%2C-498%2C6931%2C7922 but even there, it seems to only show what rather than how.

The person who compiled the plugin kindly suggested I'd install the module IiifSearch to use search inside Universal Viewer, but the installation instructions suggest changing a setting that just doesn't exist in the IIIF Server module. 

Hope I didn't miss anything else that was posted on the topic, I promise I did my homework before posting here!! Many thanks

- S

Edward Silverton

unread,
Mar 19, 2019, 6:10:39 AM3/19/19
to veri...@gmail.com, Universal Viewer
Hi,

I'm afraid searching pdfs isn't supported functionality at the moment. I'll add it to our next community call agenda (feel free to join btw, details here: https://iiif.io/community/groups/) as I imagine this is something others might want too.

All the best,

--
You received this message because you are subscribed to the Google Groups "Universal Viewer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to universalview...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stefano Morello

unread,
Mar 19, 2019, 9:30:29 AM3/19/19
to Edward Silverton, Universal Viewer
Hi Ed! Thank you for your reply and for the invitation! I am such a newbie and would certainly like to be more involved.

I am just a little confused – you're saying it's not supported but I found many instances on the web that show otherwise, including the two examples I posted above ( 1. https://neptun.unamur.be/s/neptun/item/1167#?c=0&m=0&s=0&cv=0 and 2. http://ronallo.com/iiif-workshop/search/uv-search.html#?c=0&m=0&s=0&cv=0&r=0&xywh=-2354%2C-499%2C9419%2C7922 ). What am I missing? 


Edward Silverton

unread,
Mar 19, 2019, 1:23:41 PM3/19/19
to Stefano Morello, Universal Viewer
Hi Stefano,

The current build of the UV uses a stripped-down version of PDF.js for the PDF extension without their built-in viewer, which was causing problems. The Openseadragon extension has search, but is only for IIIF image api images.

Yanru Bi

unread,
Mar 25, 2019, 3:56:40 PM3/25/19
to Universal Viewer
Hi Edward,

May I ask when's the next community call? I am interested in PDF search in UV too.

Best regards,
Yanru

Edward Silverton

unread,
Mar 26, 2019, 5:05:32 AM3/26/19
to Yanru Bi, Universal Viewer
Hi,

The next UV call is on April 4th: https://iiif.io/community/groups/#community-groups

Edward Silverton

unread,
Apr 4, 2019, 11:02:33 AM4/4/19
to Universal Viewer
Hi,

We had a chat on the community call about adding pdf search. It looks like it can be done:


If you get it working let us know!
To unsubscribe from this group and stop receiving emails from it, send an email to universalviewer+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages