I don't use node.js so I maybe misunderstanding what you are trying to do. 
If I understand, you are dragging a ppt file into TiddlyWiki so it becomes 
embedded as a tiddler. Then you want to download that embedded ppt file.

That sounds like the problem of downloading an embedded zip file. Such 
files are stored in the TiddlyWiki in a base encoded format. Jeremy gave an 
example of downloading such a file:

Embed a ZIP for download?
https://groups.google.com/forum/#!msg/TiddlyWiki/XoyXlWO8SpA/K_IcD4qgvhwJhttps://groups.google.com/forum/#!msg/TiddlyWiki/XoyXlWO8SpA/K_IcD4qgvhwJhttps://groups.google.com/forum/#!msg/TiddlyWiki/XoyXlWO8SpA/K_IcD4qgvhwJ


Not sure if this would work for ppt files or if a modification of boot.js 
similar to the one Jeremy mentioned for zip files would be needed for ppt 
files. Such a mod should be tested before using on your good TiddlyWiki.

To download zip files I made a macro (attached) based on what Jeremy 
suggested. I have not tested it intensively but seemed to work for zip, 
pdf, png, and gif files.

Hope that is helpful,
Greg


On Tuesday, October 29, 2019 at 3:13:34 AM UTC-5, Michael Borgwardt wrote:
>
> I'm running TW on node.js, so storing binary files directly in Tiddlers is 
> unproblematic - they just get uploaded and stored as separate files.
>
>
> However, if I embed e.g. a Powerpoint file, how can I actually access it? 
> I'm looking for a way to include a download link to the file in the text of 
> another Tiddler. But I can't find out how to do that. If I use a normal 
> link to the file's Tiddler, that just opens.
>
> Now according to 
> https://tiddlywiki.com/#How%20to%20embed%20PDF%20and%20other%20documents 
> at least "When you edit the tiddler a link is presented. You can right 
> click on the link in order to download the file. " - but I cannot find that 
> link either. There is just a yellow box saying "This tiddler contains 
> binary data".
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a6b2c810-0757-456d-81ca-defc6dcd08c1%40googlegroups.com.

Attachment: $___macro_jermolene_download.tid
Description: Binary data

Reply via email to