These are chat archives for UniversalViewer/universalviewer

5th
Jun 2015
Matt McGrattan
@mattmcgrattan
Jun 05 2015 11:17
Do you guys have a bigger version of the favicon you use for the Universal Viewer?
hello, btw.
Never mind, I'll nick the avatar icon from here, ta!
Edward Silverton
@edsilv
Jun 05 2015 12:26
Hi Matt, the PSD for the logo is available here: https://github.com/UniversalViewer/design
jeffreycwitt
@jeffreycwitt
Jun 05 2015 14:56
Hey Ed. Just built the universal viewer on my machine with great success.
However, I don't see anywhere to view ranges in a TOC format -- should I expect that
I'm using this manifest
Also is there a browserfy tutorial for the universalviewer
Edward Silverton
@edsilv
Jun 05 2015 15:26

The manifest structure should appear as a tree in the "Index" tab, as per:

http://universalviewer.azurewebsites.net/?manifest=http%3A%2F%2Fwellcomelibrary.org%2Fiiif%2Fb18035978%2Fmanifest

Your manifest has viewingHint: "top" for every range when this should only appear once. Perhaps this is throwing it off?

jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:32
hmm, ok
that's good to know :)
Edward Silverton
@edsilv
Jun 05 2015 15:33

I've been working on manifesto:

https://github.com/edsilv/manifesto

and a demo site:

https://github.com/edsilv/manifesto-site

The UV doesn't currently use browserify, but I intend to (eventually) use manifesto (a browserified library) in the UV to work with manifests.

If you check out the manifesto:dev branch it has the most recent work.

jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:36
so viewingHint: "top" should only go on the top level ranges
like r-1, r-2, r-3 etc
mine only has one top level range
and then many ranges within r-1
Edward Silverton
@edsilv
Jun 05 2015 15:37
I think only r-1 should have the viewinghint
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:38
yours didn't have a viewing hint at all. I removed it completely
deploying now, I'll tell you if that makes a difference
Edward Silverton
@edsilv
Jun 05 2015 15:39
yep, it's an optional attribute. not sure if that's the problem, worth a try
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:42
hmm, no difference: i think i'm doing something weird with my ranges -- mirador has been buggy with my table of contents as well -- but the manifest validates, so it's hard to identify what i'm doing that's weird
Edward Silverton
@edsilv
Jun 05 2015 15:47
I'm refreshing your manifest but still seeing the viewinghints
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:47
hmm, hold on
I forgot to change one spot -- here goes try number 2
Edward Silverton
@edsilv
Jun 05 2015 15:50
seems to be working now
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:51
yep
I wonder that's related to the mirador buginess
Edward Silverton
@edsilv
Jun 05 2015 15:52
would have thought so
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:52
so what is top supposed to refer to
top layer of ranges?
Edward Silverton
@edsilv
Jun 05 2015 15:53
the root node of the tree
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:53
ok, so the range that all other ranges are descendants of
thanks for you help on that :)
Edward Silverton
@edsilv
Jun 05 2015 15:54
  • "top" range
    • child range
      • child range
      • child range
    • child range
no probs :-)
jeffreycwitt
@jeffreycwitt
Jun 05 2015 15:55
got it
ciao