I have another question, which is far away offtopic from classical topics But maybe it should be a tricky challenge for someone.
We want to use classical inline HTML viewer, which is secure, for showing flipbooks, which are basicly HTML too. The tricky part are dependent files. Flipbook has too many dependent file and too complicated structure so its imposible to use classic method for uploading them into files folder one by one.
At this moment I can upload a zip file marked as flipbook into monograph folder. I can classicly handle the ZIP file and then extract them and create the folder with flipbook files. No problem to this moment. I can delete file with folder, edit it and i can show through catalog/view method the index.html file in folder without downloading the whole ZIP file. And now the tricky part The index.html code looks like this:
I can see it in iframe view, but i don’t know how to handle dependent files to show whole flipbook. I’ve found that I need to change something in CatalogBookHandler.inc.php download method cause files have url catalog/download but I stuck here. Because files doesn’t have template names and are not in database. I can’t handle them classicly, but we still want to secure them with this viewer.
Is it possible to create some kind of bypass to use the main folder as reference for files?
The file adresses are like
Folder has classic format and I can access it cause I see the index.html file in it:
We are using OMP 3.1.0 for now.
Thank everyone for every kind of help with this tricky challenge