Hi daimip Your proposal is admirably clear and well explained. I would love to be able to implement it, but some of those capabilities remain out of reach with current browser capabilities:
* When dragging a file into the browser, JS code only sees the content of the file, and not it's path. Thus there is no opportunity to link to files in their original locations * When saving changes, the default HTML5 fallback saver only permits a single file to be saved at a time. There is no convenient way for the user to control saving the subsidiary, attached files Tantalisingly, a lot of your proposal does already work out of the box. Using the `_canonical_uri` feature makes it possible to reference images, PDFs etc as "external tiddlers" which reside in separate files and are only loaded when required for display. We can easily support operations such as downloading attachments. The obstacle is around the input of attachments. We can do a lot better when using something like TiddlyFox or TiddlyDesktop; both of them support unrestricted file access. Best wishes Jeremy. On Fri, Jun 19, 2015 at 1:04 AM, PMario <[email protected]> wrote: > On Friday, June 19, 2015 at 12:00:13 AM UTC+2, [email protected] wrote: >> >> I was wondering if possible to implement a feature/plugin to >> *attach/store* local files (such as excel files, photoshop files, etc) *under >> a folder* at the same level as the TiddlyWiki file. Please see >> "suggestion.png" for the actual logic and details. >> > > Ahh, I see :) > If you copy those files, using the OS file explorer.... Yes. .. Browsers > are not allowed to directly write files to the users file system. This > would be a huge security risk. So all browser vendors prevent direct file > access. TW uses the default browser download mechanism or the TiddlyFox > extension for FireFox to store itself. ... TiddlyDesktop doesn't have these > restrictions, but I'm not sure, how difficult it would be to implement your > suggested behaviour. ... and imo it doesn't make sense to create a new file > browser, if every OS already has one. > > hope that helps > mario > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywikidev. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/5e075caf-38e0-46d8-ae89-bb39cb23818c%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywikidev/5e075caf-38e0-46d8-ae89-bb39cb23818c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/CAPKKYJYFs1_hFVtA%2BQFM62Pg8UH8X3BqXipg5yN7CEgaO4WNkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
