Hi Andy Did you change the tiddlers, that where generated by FileDropPlugin, by hand? If yes, my sugestion creates a lot of work and you should use an other one.
If no, go on reading. I think you used the default template: /% !link [[%0|%1]] !end %/ which generates a link like you described. if you use the following it should create a relative link to the pdf files. /% !link [[%0|%3]] !end %/ eg: TiddlyWiki is on the stick (F:) the pdfs are in a subdirectory eg: F:/doc It should produce something like: [[DataFile 002 - General Note.pdf|./doc/DataFile 002 - General Note.pdf]] regards mario On Mar 4, 6:51 pm, "Mark S." <throa...@yahoo.com> wrote: > I've been working on a personal content management system, which I've > written up here: > > http://marksbasement.tiddlyspot.com/index.html#[[Overview%20Of%20Document%20Management%20System]] > > Basically what I do, is create my own bookmarks when files are dragged/ > dropped. There is a set of options that can be set to match pathways > on the current machine. When the bookmarks are created, they use > virtual drive/paths like: > > Thumb://CDS/20061204/fh000004.jpg > > The applications that view these bookmarks then change the virtual > path (//CDS in this case) into whatever drive is applicable per the > configuration. This means that I can even view the same files on a > linux system which uses very different pathing than does Windows. > > Since you already have 250 paths set up, you might want something > quick to set up now, and pound out the convenience factors later. > Using some judicious regex style replacements in your favorite > advanced editor, you could edit the source of your TW document and > change your pathways to something like: > > <<tiddler "drivepath::dp" with: "/20061204/fh000004.jpg">> > > where tiddler drivepath is something like: > > dp:[img[file:///d:/data/cds$1]] > > (sorry, I'm using examples from my own code so I can verify they work > as I write.) Then just by changing tiddler drivepath, you can change > all the pathways instantaneously. > > Mark > > On Mar 4, 6:59 am, AndyF <andy.fra...@mansys.net> wrote: > > > > > > > > > Hi, > > > Background > > I have set up a TiddlyWiki containing a series of help and knowledge > > base files for our team for use when they are on Customers sites. The > > TiddlyWiki has been distributed on a number of Memory Sticks and > > contains the html and a directory of approximately 250 pdf files. I > > have used the FileDropPlugin and this has been very successful for > > creating the Tiddlers. In creating the tiddlers I did this from my > > memory stick with all the files etc perfectly organised on the stick. > > I then replicated the stick to the other sticks. > > > Tiddlers > > The Tiddlers containing the attachments are coded as follows : > > > [[DataFile 002 - General Note.pdf|file:///F:/TiddlyData/DataFile 002 - > > General Note.pdf]] > > > The problem. > > When the users are using the TiddlyWiki they are fine but in some > > cases they cannot open the attachments. This is because their PC / > > Laptop / Customers PC has assigned the memory stick a different Drive > > letter so instead of Drive F: as it was for me they are now on drive > > H:. > > > Question(s) > > 1. Does anyone know if there is a way to not include the Drive letter > > into the path possibly replacing it with a wildcard so it searches > > rather than errors. > > 2. Is there a way to find and replace (quickly) all the data referring > > to file:///F:/ with the user being able to manually replace file:///F:/ > > with (for example) file:///H:/. > > 3. Could 2 above be automated so that there is a Tiddler on start up > > saying "What is the Drive Letter ?" You enter H and file:///F:/ is > > automatically changed to file:///H:/ > > > Your help and advice would be appreciated. > > > Andy F -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.