>         I want to be able to drag and drop a File into the Wiki, and in some
> place (like a new Tiddler) a link needs to be created to that local
> file.
> Can the FileDropPlugin do this??

FileDropPlugin currently creates tiddlers that it fills with the
*content* of the dropped files, (which are assumed to be text).
However, it wasn't to difficult to support your desired use case...
To that end, I've just added an option to FileDropPlugin that permits
it to automatically generate the external links directly into the
resulting tiddlers, using whatever formatting you specify.  I also did
some code cleanup/reduction, and re-wrote the documentation to be much
more helpful (I hope)...

You can get the update (v2.1.0) here:
   http://www.TiddlyTools.com/#FileDropPlugin


Here's an excerpt from the updated documentation:
--------------------------------------------
When creating text tiddlers, you can embed a link to the original
external file at the top of the new tiddler, in addition to (or
instead of) the text content itself. The format for this link (see
Configuration, below) uses embedded replacement markers that allow you
to generate a variety of wiki-formatted output, where:
   * %0 = filename (without path)
   * %1 = local file://... URL
   * %2 = local path and filename (OS-native format)
   * %3 = relative path (if subdirectory of current document
directory)
   * %4 = file size
   * %5 = file date
   * %6 = current date
   * %7 = current TiddlyWiki username
   * \n = newline
By default, the link format uses the filename (%0) and local URL (%1),
enclosed within a hidden section syntax, like this:
   /%
   !link
   [[%0|%1]]
   !end
   %/
This permits the link to be embedded along with the text content,
without changing the appearance of that content when the tiddler is
viewed. To display the link in your tiddler content, use:
   <<tiddler TiddlerName##link>>
------------------------------

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to