On Saturday, April 11, 2015 at 12:45:08 PM UTC-7, Mat wrote:
>
> Maybe something like this. I get this to work with a local txt file:
>
>  <object data="..\satt_prop14_dev\matlab\ScoreCalculation14.m" 
> type="..whateveritis..">
>   Text showing if file does not show up.
>  </object>
>

Excellent solution!  This works for me using Win7/Chrome.  Note that 
TWClassic needs to have <html>...</html> markers around any HTML syntax, 
and if you want to use wiki syntax to format the "file not found" text (the 
content within the <object>...</object> block), then you will need to 
install
   http://www.TiddlyTools.com/#HTMLFormattingPlugin

Also, if you don't specify the type="...", the browser defaults to 
"text/plain".  The type param is only required if you want the browser to 
attempt to display the file content using an addon "viewer" that was 
previously installed (e.g., PDF, Excel, Word)

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

"Inside TiddlyWiki: The Missing Manual"
https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
Note: the IndieGogo funding campaign has ended,
but direct fundraising continues below...

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

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 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/819fcc8e-864c-40b7-9191-187c31f026e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to