[TW5] How Do I Embed a Download File Into a Tiddler, Such As .PDF and .DOC?

149 views
Skip to first unread message

kasaduen...@gmail.com

unread,
Dec 28, 2016, 8:31:33 AM12/28/16
to tiddl...@googlegroups.com
I have some documents that I would like to post as a download. How do I accomplish this?
KI'Hub_v1.0_DragonFly.html

Mark S.

unread,
Dec 28, 2016, 2:25:20 PM12/28/16
to TiddlyWiki
There are two ways.

One is to drag and drop the file onto your TW5 file. Wait for the green bar to appear at the top, drop, and then import from the import tiddler.

This may be OK as long as your PDF is not too big. In general, the larger the size of your TW5, the less your TW's performance will be (but it varies a lot with browsers and computer memory).

The other way is to create a tiddler link to the external file.

Create a tiddler with a field _canonical_uri. Put in the local address to the external file. Set the "type" field to "application/pdf".

HTH
Mark

Depending on your browser this should allow you to see an embedded version of your file.

Mark S.

unread,
Dec 28, 2016, 3:01:06 PM12/28/16
to TiddlyWiki
Part 2

There's only so many formats that TW5 knows about. There is a list at http://tiddlywiki.com/#ContentType. Unfortunately, Word is not one of those formats. If your browser and/or TW5 doesn't know what to do with a format, then you can only the 2nd method. When you edit the tiddler a link is presented. You can right click on the link in order to download the file.

HTH
Mark

Mark S.

unread,
Dec 28, 2016, 3:16:17 PM12/28/16
to TiddlyWiki
Made a PR based on this question.

kasaduen...@gmail.com

unread,
Dec 28, 2016, 4:11:14 PM12/28/16
to TiddlyWiki
I tried to import, but it confused me. I didn't know what to do with it, listed under "imports".

\I'll just host a cloud, and embed a link to the downloads.

Thank you!


On Wednesday, December 28, 2016 at 12:01:06 PM UTC-8, Mark S. wrote:

Tobias Beer

unread,
Dec 28, 2016, 4:20:43 PM12/28/16
to TiddlyWiki
Hi KaSaDu,
I have some documents that I would like to post as a download. How do I accomplish this?
I would say your best chance is to upload them somewhere and then link to that location via

[ext[<that-location>/your-file.xxx]]

...and then let your visitor's browser decide what to do with that.

Best wishes,

Tobias. 

kasaduen...@gmail.com

unread,
Dec 28, 2016, 4:46:08 PM12/28/16
to TiddlyWiki
Success!

Thank you! I just did this...

[[Download|address to download]]. I have MEGA Sync situated to handle the downloads.

My next question is how do I turn the word into an image, so that clicking the image will navigate to the download?

I figured out how to insert an image into a tiddler, from a site. I just need to figure out how to make it clickable to other tiddlers and sites..
Reply all
Reply to author
Forward
0 new messages