Hi all

Thank you for answers.

<html>
<object data="..\satt_prop14_dev\matlab\ScoreCalculation14.m" type="txt">
  File not found.
 </object>
</html>

works on win7/FF36
win7/Chrome "File not found." not my main browser, maybe it is not 
configured for local files.

but anyway, I have the same issue than with iframe : the file content is 
exiguous and delimited with both horizontal and vertical scrollbar.

see TW14_2015_04_13.pdf 
<https://www.sugarsync.com/pf/D7464562_93409053_6658137>

It does not display inline like for example
{{{
contents of your .m file goes here ...
}}}

I think I am looking for a script that fetch the file content and send it 
as output.

I have tried to tweak the [AliasScript] Eric did me earlier.
<script>
out=store.getValue("$1","alias")
wikify(out.toString(),place); //Final output
</script>

no success so far ...

Looking forward to read from you

JBo



On Saturday, April 11, 2015 at 10:02:15 PM UTC+2, Eric Shulman wrote:
>
> 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/f0cf3814-0a02-4d78-92e7-f5f7b2e659d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to