> Can you tell me how I can attach a *html , *pdf, *txt, files to my > tiddler? > I have imported AttachFilePluggin and I can see the option in the > "background" I have entered the location of the file to be attached - > BUT all this seems to do create another tiddler, however I want the > attached link to appear in my original tiddler.
It's not clear if you want to just *link* to the files or actualy *attach the files. If all you really want is to link to the external file, then a simple "external pretty link" will do: [[text to show|file:///path/to/filename.pdf]] When you use AttachFilePlugin, it creates a tiddler in your document that contains the 'attachment data' for the selected file. This data is stored in the tiddler using TW section syntax, and can contain up to THREE different types of file info, depending on how you attach the file: * the actual binary data of the file (stored as Base64-encoded text) * a local file reference (i.e, "c:/path/to/file.pdf") * a remote URL reference (i.e, "http://servername/path/to/file.pdf") To use the attachment in your document, simply put the attachment tiddler name in place of the normal filename or URL in your link or image syntax, e.g. [[text|TiddlerName]] <= 'external pretty link' [img[TiddlerName]] <= embedded image [img[TiddlerName][TiddlerName]] <= embedded image with link (note: of course, img syntax requires an attachment that is either JPG, GIF, or PNG) The data in the attachment tiddler automatically applies a three- tiered approach: if encoded binary data is attached, then the content stored in the tiddler is used. If no data is attached (or the browser you are using doesn't support data:// protocol ... e.g. InternetExplorer), then the attachment plugin looks for a local file. If no local file is specified (or the file is not found), the plugin uses a remote URL (if one is provided). Another advantage of AttachFilePlugin is that it allows you to "virtualize" the references to external files and URLs. Instead of embedding static references directly in your content, you embed references to the attachment tiddler. If you subsequently move the file on your local drive (or to a different remote URL), you can just edit the attachment tiddler to change the filename and/or URL information rather than editing every single reference embedded in tiddlers throughout your document. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios ---- TiddlyTools needs YOUR financial support... Help ME to continue to help YOU... make a generous donation today: http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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.

