WebVOWL
WebVOWL copied to clipboard
Loading WebVOWL JSON file from Google Drives
I generated a JSON file as you describe and want to create a URL so that people can visualize my ontology without having to load it into your tool themselves (btw, love the tool). The problem is (and I can't believe this is so hard) the two tools I typically use for my blog and web sites don't seem to support JSON files. For both Blogger and Google Sites you can't directly add a JSON file to the site. What they tell you to do is to add it to Google Drive and create a public URL. I did that but Google Drive also assumes that all the documents are office type documents. Here is the public URL for the JSON file:
https://drive.google.com/open?id=1Ija_-gnA7vdXku-lAFJmBv4m1svXN1gM
and when I try using the following URL:
http://visualdataweb.de/webvowl/#url=https://drive.google.com/open?id=1Ija_-gnA7vdXku-lAFJmBv4m1svXN1gM
I get an error that says the JSON file is invalid. I had this problem before when I tried to provide a download link on my Blog to an OWL ontology and I was able to tweak the generated Google Docs URL so that rather than try to Open the ontology it just let the user download it. I didn't think that would work but I tried it anyway. Following the same pattern for how I edited the OWL path the tweaked path would be:
https://drive.google.com/uc?export=download&id=1Ija_-gnA7vdXku-lAFJmBv4m1svXN1gM
But when I try using that path for WebVowl I also get an error, although in this case I never even make it to WebVOWL, I just get an error from Google Drives that says "Bad Request Error 400". I also asked the people at Wix.com and they don't support JSON files either.
I'm wondering if 1) Anyone has a suggestion for tweaking the google drives path so it will work or 2) Can someone recommend a freeware tool that supports adding files with arbitrary extensions rather than just standard office documents? I suck at web design and have no interest in building fancy web sites so the simpler the better. Thanks.
Michael DeBellis
Hi Michael, The error you get when you use the public url is when WebVOWL sees the link, it downloads the homepage in which the content is embedded, and that is an invalid JSON file...
I tried the second approach (link tweaking) but I could not get it up running Sofar I could atleast tweak the link that it gets downloaded : https://drive.google.com/uc?export=download&id=1Ija_-gnA7vdXku-lAFJmBv4m1svXN1gM (Maybe this helps you for your blog)
However for WebVOWL this involves the modification of the OWL2VOWL converter
(which is able to forward also JSON files to WebVOWL)
Best Regards
Thanks. It's kind of amazing how so many of these basic blog hosting and cloud services just won't let you store arbitrary files like JSON files. Blogger wants me to use Google drive for non html files but Google drive is optimized for standard "office" documents like spreadsheets, pdfs, etc. It can't just leave a file alone it always tries to open it, preview it, etc. And the same for Box. Actually their support was very helpful but they just don't support what I need. I also tried Wix and similar issues. Anyway, I found someone with a web site that he manages the old fashioned way and he was good enough to host the JSON file for me and that's working. I love your tool, it really provides a nice way to visualize an ontology.
Michael
On Thu, Feb 22, 2018 at 2:24 AM, Vitalis Wiens [email protected] wrote:
Hi Michael, The error you get when you use the public url is when WebVOWL sees the link, it downloads the homepage in which the content is embedded, and that is an invalid JSON file...
I tried the second approach (link tweaking) but I could not get it up running Sofar I could atleast tweak the link that it gets downloaded : https://drive.google.com/uc?export=download&id=1Ija_- gnA7vdXku-lAFJmBv4m1svXN1gM (Maybe this helps you for your blog)
However for WebVOWL this involves the modification of the OWL2VOWL converter (which is able to forward also JSON files to WebVOWL)
Best Regards
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VisualDataWeb/WebVOWL/issues/118#issuecomment-367636147, or mute the thread https://github.com/notifications/unsubscribe-auth/AP83hEuDZ0MG3qcFm5zucYF7crOB6Vt_ks5tXUBGgaJpZM4RuyBR .