You might double check the documentation for Bob. I'm pretty sure you have 
to configure where your files live on the server, and maybe the virtual 
path that your tiddlers use. 

I think node can serve up files now too, but you also have to configure the 
path for external resources.

You can use any directory below your TW directory for tiddlyserver. Since 
I'm not in an environment where I have to worry about concurrency, that 
works out pretty good.

-- Mark


On Monday, February 25, 2019 at 6:02:48 PM UTC-8, Dave wrote:
>
> Hi, 
>
> I'm having difficulty getting an external pdf to load in a Bob instance of 
> TW5.  I have the file both in the images folder (inside "tiddlers") and 
> also the main tiddlers folder.
>
> I have the field _canonical_uri  as being *TW-Variables-etc.pdf* or as 
> *images/TW-Variables-etc.pdf *and the type set as application/pdf but the 
> pdf "fails to load"
>
> I've also tried the following paths, none of which work:
>
> ./images/TW-Variables-etc.pdf
> ../images/TW-Variables-etc.pdf
> /images/TW-Variables-etc.pdf
> ./TW-Variables-etc.pdf
> ../TW-Variables-etc.pdf
> /TW-Variables-etc.pdf
>
> /home/david/SyncthingFolders/Bob/TiddlyWiki5/Wikis/BobWiki/tiddlers/images/TW-Variables-etc.pdf
>
> this fails without any indication (just a blank tiddler):
>
> file:///home/david/SyncthingFolders/Bob/TiddlyWiki5/Wikis/BobWiki/tiddlers/images/TW-Variables-etc.pdf
>
>
> I've read conflicting accounts as to whether this should work in the Node 
> version of TW.
>
> Is there an obvious mistake I'm making?
>
> or perhaps an alternative way of doing this (maybe via html markup)?
>
>
> Thanks,
> - Dave
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e8f4fe57-ad03-4feb-b591-cac2551648b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to