like many people I started using TW as a personal information tool and
I love it. The only thing I find cumbersome is incorporating external
documents in my "personal knowledge database". Can someone please tell
me if there's an easier way to do following, I've searched the web and
this group to no avail.
_Goal:_
Add pdfs, docs, ppts, etc ... to my "knowledge database" using as
little operations as possible.
_Ideal scenario as I imagine it:_
1. I drag&drop the file over my TW somewhere
2. TW automatically copies the file to my "data" directory, creates a
new tiddler containing a link [my file name|datadirectory/
myfilename.ext]
3. I complete the tiddler if necessary and save it
Done.
If I ever delete the tiddler, TW deletes the file it's referring to.
_What I am doing now:_
1. Copying the file manually to my "data" directory
2. Creating a new tiddler, pasting the filename in the title, and
typing the link [my file name|datadirectory/myfilename.ext] by hand
Done.
I have to remember to delete the file if I ever delete the
corresponding tiddler.
How can I make this use case faster ?
Thank you for your time and keep up the good work.
delirious
> _What I am doing now:_
> 1. Copying the file manually to my "data" directory
> 2. Creating a new tiddler, pasting the filename in the title, and
> typing the link [my file name|datadirectory/myfilename.ext] by hand
The following creates an IFRAME whose URL points to the "data/"
subdirectory, relative to the current TW document. On most systems,
this will automatically display a directory listing in the IFRAME.
While this is not exactly the same use case as you have described, it
can provide a similar ability. Just drop files into the data
directory (using your system's regular drag-and-drop mechanism).
Whenever the IFRAME is rendered, it will reflect the current contents
of the data directory.
----------------
<html><iframe width="100%" height="500" style="background:#fff;margin-
top:2px"></iframe></html><script>
var path=document.location.href; // location of current TW document
path=path.substr(0,path.lastIndexOf("/")+1); // remove filename (but
leave trailing /)
path+=+"data/"; // append subdirectory
place.lastChild.firstChild.src=path; // set IFRAME source
</script>
----------------
(note: this requires http://www.TiddlyTools.com/#InlineJavascriptPlugin
to process the <script>...</script> block)
HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
The following creates an IFRAME whose URL points to the "data/"
subdirectory, relative to the current TW document. On most systems,
this will automatically display a directory listing in the IFRAME.
...
Whenever the IFRAME is rendered, it will reflect the current contents
of the data directory.
...
(note: this requires http://www.TiddlyTools.com/#InlineJavascriptPlugin
to process the <script>...</script> block)
I want to make links from a file on the shared drive (J:) of my LAN:
an example of a word doc (Crystal Reports Process.doc) and path to it
is:
J:\Flight\ND\INFO DB\SOPs\INTERNAL docs\Crystal Reports Process.doc
how do i get this file to be shown in the IFRAME box cas a link that i
can click
I installed Eric's code into a tiddler (called ZeddTiddler). This wd
be very useful for me if I can get this to work, so thanks in advance.
Nick D
.............
On Jun 2, 8:21 am, BidiX <bidi...@gmail.com> wrote:
> Hi Eric,
>
> On 6/2/07, Eric Shulman <elsdes...@gmail.com> wrote:
>
>
>
> > The following creates an IFRAME whose URL points to the "data/"
> > subdirectory, relative to the current TW document. On most systems,
> > this will automatically display a directory listing in the IFRAME.
> > ...
> > Whenever the IFRAME is rendered, it will reflect the current contents
> > of the data directory.
> > ...
> > (note: this requireshttp://www.TiddlyTools.com/#InlineJavascriptPlugin
> > to process the <script>...</script> block)
>
> Your solution should works.
>
> I found that an IFRAME like this one, without your nice
> InlineJavascriptPlugin,
>
> <html><iframe width="100%" height="500" src="backup"></iframe></html>
>
> works for me in Firefox both in local and over HTTP. I don't know if it
> works on other platform.
>
> It's really useful to keep a watch to backup files ;)
>
> -- BidiXhttp://TiddlyWiki.bidix.info|http://TiddlyLab.bidix.info|http://TiddlyHome.bidix.info|http://del.icio.us/TiddlyWikiPlugin
You can't drag/drop directly into the IFRAME... you still have to
drop the file into the desired FOLDER on your system. The IFRAME
simply provides an automatic directory listing of that folder contents
with clickable links to each file shown.
By the way, as BidiX notes, since the folder in question is simply a
subdirectory of the current working directory, you can omit the
javascript from my previous example, and simply write:
<html><iframe width="100%" height="500" src="backup"></iframe></html>
HTH,
I can use this for all mappings on my local machine and network as
long as I change the src= accordingly. But when I do that it is
presenting the folders and files in Tiles and I would like to see it
in a list-view. And also the left explorerbar is presented. Does
somebody how to get the listview and remove the explorerbar ?
Thanks in advance.
Greetings,
Jroeterd
Firefox by comparison does not allow any mouse rt-click operations at
all, and shows the files as a very unappeakling list, with "Index of
file: <path to file> shown in huge letters at the top of the tiddler,
and a list of links. Nothing more.
A pity, as FF is far superior in most ways, but IE6 beats it hands
down in this oner are - any suggestions?
Nick
What you're seeing when calling up a local folder in IE6 is not the web
browser, but the Windows file explorer.
While that might be comfortable in this particular case, this kind of
entanglement is also one of IE's major flaws (mainly for security reasons).
Either way, you could always use the IE Tab extension
(http://ietab.mozdev.org) for Firefox.
-- F.
I can use this for all mappings on my local machine and network as
long as I change the src= accordingly.
With this I can access any document on my harddisk, and this without
changing the src=to some other map.
How is this capability in reference to security//cracking? Recall
reading about file:// permissions setting in Firefox some time ago but
gave up on it, couldn't work it out somehow.
Cheers,
Jerry.
Of course, I'm not a security expert..
;Daniel
On 10/06/07, Jerry <jayb...@gmail.com> wrote:
>
> > <html><iframe width="100%" height="500" src="backup"></iframe></html>
>
> I can use this for all mappings on my local machine and network as
> long as I change the src= accordingly.
>
> With this I can access any document on my harddisk, and this without
> changing the src=to some other map.
> How is this capability in reference to security//cracking? Recall
> reading about file:// permissions setting in Firefox some time ago but
> gave up on it, couldn't work it out somehow.
>
> Cheers,
> Jerry.
>
> On Jun 5, 4:03 pm, jroeterd <jroet...@gmail.com> wrote:
> > > <html><iframe width="100%" height="500" src="backup"></iframe></html>
> >
> > I can use this for all mappings on my local machine and network as
> > long as I change the src= accordingly. But when I do that it is
> > presenting the folders and files in Tiles and I would like to see it
> > in a list-view. And also the left explorerbar is presented. Does
> > somebody how to get the listview and remove the explorerbar ?
> >
> > Thanks in advance.
> >
> > Greetings,
> > Jroeterd
>
>
> >
>
--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)
http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog ::
Things That Suck)