|
From: Florian S. <fsc...@bu...> - 2025-12-11 10:58:46
|
Hi Alberto, there's already a direct way to open a file in eXide when path and resource name are known: Take the base URL of eXide (e.g. "https://exist-db.org/exist/apps/eXide/index.html" and append "?open=/db/path/to/your/resource.xml". Example: http://www.exist-db.org/exist/apps/eXide/index.html?open=/db/apps/demo/examples/urlrewriting/index.html I'm not sure if there's a documentation for those URL parameters anywhere (I didn't find one). It seems that eXide accepts two URL parameters: open and snip, see https://github.com/eXist-db/eXide/blob/4fd7caf4c99e2a44120092323e44b0637adaaf5b/src/eXide.js#L40 - open will try to open the requested resources, while snip will show the snippet as new document. Cheers, Florian > -----Ursprüngliche Nachricht----- > Von: Alberto Simões <am...@zb...> > Gesendet: Dienstag, 9. Dezember 2025 22:12 > An: exi...@li... > Betreff: Re: [Exist-open] Opening a file in eXide without browsing > > > On Tuesday, December 9th, 2025 at 20:37, Alberto Simões <am...@zb...> > wrote: > > > Hi > > > > Probably this is something available in a later exist version (if that is the case, > just let me know). But, is there a way to open a file in eXide without browsing the > collection? > > > > It happens that I have more than 120K files in a folder, and even filtering, > crashes eXide completely :-( > > Ended up writing a small python3 script to edit the file, as it seems the index was > broken because of an invalid document ID. Nevertheless, having a direct way to > open a file when you know the name would be great :-) > > THanks > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |