Overview

This is a memo on the configuration for downloading annotations created with the mirador-annotations plugin in Mirador 3.

https://mirador-annotations.vercel.app/

Background

In the following article, I introduced how to register annotations with Google’s Firestore.

To download the annotations registered there, the mirador-annotations plugin provides a download option, so I introduce that method here.

Method

The following is the source code of the demo page. By setting the exportLocalStorageAnnotations option to true, a download icon is displayed.

iiiicc}mmmmmoo;ippppnna}iw}w}roooossn,di,i]arrrrttnae:ndsnl,dttttodxdeidooectap'ofdoarmaLAnoapaodwaewd.inondnttdre:uBsevrncnpfieatmla:diaoaooiorpLo{trMedtltign:to'SO[awoaSon:ec,ip{nertttt=(radeirioAU{c:lenf(fordr{aSBBecrnaaln(taysooPgpvcorDtnmlet=aarPe:fuAesnaafi'gdr'Ivgna'gmiahdaeeuh,inpft)sAlltrstrtIn:tt[aeop=dn:p.dfrm:>)o's.or/tat:.rf/n=anr/amr1e>tnu/ndo2wioeinim7not,ios.Lenaitt0owstfa.c:i.tes0aAohisr.lnfnaoc1Snasrnss:tol'vPrrA3ots,alccsn0roeru/'rn0at,dgi;c0gAaint/edrndLoaAatseotndpm]xcAnatdu)'adopeis;;lattrseSpae(putttrclmoei(aasrro`ny.a'nlvog;soaare'csngA;aIn/dldomaS,taptantoetiernifradoe'gpns;eot:iJs/nS//tOo?UNbcrjaleen)xcv,ptao/sr2It9d9=b8$u4{t3ct'ao,nnvasId}`),

An example of the JSON file obtained by download is shown below. It can be downloaded per canvas.

{}""]"ii,tdt{}{}y"e,p:m"}"""}""}""""}"""}""}"""}"}"esb,tmt,cc,iummmic,mb,uct,m,t"""o""yoa"]"}ar""dsao""odr""ao""saa"]"}o""y:h:dtvptrs,snesn"endsnt"esnndtvenrs,sdsnptyyaeige{}{}o"""}vaea:riieai:aeaiyyarvge{}{}o"}""ieae"t["pl"vel,uitpatcnNffcnvtcnf"plNael,up,tifcn"Ap:eu:ate""""rdya""seoo"aeiooa"eooe:euaste""""ra""ydioo:ns"et"ctvtvc"pritIdnsemsenstrdnss"emI"ctvvtcritp"ensn:{:""i:tyayae:etdyd"dexetddeix"det{:"ed:tyaayetdye:dde"o/:Aooplpl""O"p":scl"I"sco2:scI:""opllp"O"p""scAt/"nn{reueu:":f:e:"oX:d:"onJ"od"::{reuue:f:e:":"onadT"n"""e"eh""{:ne":n"M{:n"T"""ee"""h:nntle<o:::":"{t":":"da":{d:kd:e<""::"":{:":"t{doi.xpt::tChh1ss1sw1sxph::hCt1stont>a"[""pa{t"t7"w"7""t7""t>t[""{t"ap7"anduCtcF"S"sntMt3:dh3:cw3:hutF""StMns3:tPlaiorxv<:pap9s"t9ou9ta"prx<vpav:9ia.lomaygs/asns55i,t53mQ56tl,saysgsna/56oggBnmgwSv/s:i:22up25mD21pB:gwvS:is/21neoo<"emhegd"/f/42hs64eg41so/mhge/f"d41"".d/,ne=ll,/e/20c:00nb20:d/e=l/e,l20jyptn5ex.dsd70F/40tt50/y<dn4xeds.50p">it3cmnltl60i/60iA90/"/lt7mcltn90/,"nS1tld.".,0Ld,0nI,0d,p.S8lt."d,0age4onlnn0Wl0gO0l>ne,nonl0p"l,rs.dd0S.0"o0."dl3srd.0i,e1"=gllln,Onle0="lg/c9,'o.."d"d.c7'.oit8h.gg,l,lgt,hg.io3tjoo..oo7tojir,tp..gg.r4t.pf"1p/jjooj"8pj//,9:app..p,,:pa35/p//jj/3//p4,/iaappa4/ai32w/pp//p2wp/70wiiiaai4wii66wi//pp/"w/i8".iiiiii.ii6wfii//iwif/3/iiiii3i/c.3ffiif.f3ao4//ii/o/4nr333ff3r33vg744//4g47a/633333/36s2877447278/066633606610/8877808//0c6666606ca/a//88///ansnmc66csmnnvvaa//avavogannmmngnat'sivaav'isa>/fanna>f/t<1esiis<e1ip"s/ff/ps"oa,t1ee1atnt."ss"t.shj,tt,hj"s..s,xojjxomnssmnl"ool"n,nnn,s""s=,,=\\""hhttttpp::////wwwwww..ww33..oorrgg//22000000//ssvvgg\\""dd==\\""MM5437184..3281037833,,32703826..4956421586vc-03,4-2546..8859137855h74438..7349431583,v-3140234..0815514735z9\7".7d0a5t3a6-,p-a1p0e3r.-0d1a5t4a3=c\5"3{.\9"6s1t1a8t,e0\"9:7n.u7l0l5}3\6",4f6i.l1l2=1\5"8no9n7e.\7"05f3i6l,l1-0r3u.l0e1=5\4"3nco0n,z5e6r.o8\9"38s5tr-o4k3e.=7\4"4#1080,b1f0f3f.\0"15s4t3ro-k9e7-.w7i0d5t3h6=,\1"033\."01s5t4r3ock-e5-3l.i9n6e1c1a8p,=0\"-b9u7t.t7\0"53s6t,r-o4k6e.-1l2i1n5e8jo-i9n7=.\7"0m5i3t6e,r-\1"03s.t0r1o5k4e3-zm\i"tedraltiam-ipta=p\e"r1-0d\a"tas=t\r"o{k\e"-sdtaasthea\r"r:anyu=l\l"}\\""sftirlolk=e\-"dnaosnheo\f"fsfeitl=l\-"r0u\l"e=f\o"nnto-nfzaemriol\y"=\s"tnroonkee\="\"f#o0n0tb-fwfefi\g"hts=t\r"onkoen-ew\i"dtfho=n\t"-3s\i"zes=t\r"onkoen-el\i"netceaxpt=-\a"nbcuhtotr\="\"sntornoek\e"-lsitnyeljeo=i\n"=m\i"xm-ibtleern\d"-msotdreo:ken-omrimtaelr\l"i/m>i<t/=s\v"g1>0"\,"stroke-dasharray=\"\"stroke-dashoffset=\"0\"font-family=\"none\"font-weight=\"none\"font-size=\"none\"text-anchor=\"none\"style=\"mix-blend-mode:normal\"/></svg>"

Summary

I hope this serves as a helpful reference for using the mirador-annotations plugin in Mirador 3.