Hi, Jeremy!

Thank you for giving the right way to import scripts. Google Analitics case 
is suitable for me. 
Need to import external script from Microsoft site - I am playing with 
Microsoft Excel JavaScript API to create TW5 lightweight BI app with some 
dashboards based on a data from Excel sheets in SkyDrive.

Best wishes

Martian
 

среда, 19 февраля 2014 г., 0:47:01 UTC+4 пользователь Jeremy Ruston написал:
>
> Hi Martian
>
> Gosh, I'd forgotten about that feature, but, yes, you are absolutely 
> right, applying the tag `$:/core/wiki/rawmarkup` will currently bake the 
> text of those tiddlers into the end of the <head> section of the generated 
> HTML file.
>
> The reason I'd forgotten is that it's turned out not to be necessary for 
> the use cases I've encountered so far.
>
> When I incorporate an external library like CodeMirror, I bake the actual 
> script files into the plugin; this makes the functionality available to 
> offline TiddlyWikis. Conversely, for something like the Google Analytics 
> plugin which depends on external scripts, but doesn't need to work offline, 
> I instead use an ordinary startup module and insert a script tag with 
> javascript.
>
> The CodeMirror plugin is here:
>
>
> https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/codemirror
>
> The Google Analytics plugin is here:
>
>
> https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/googleanalytics
>
> Would either of those approaches suit your use case?
>
> Best wishes
>
> Jeremy
>
>
>
> On Tue, Feb 18, 2014 at 3:59 PM, Martian <[email protected] <javascript:>
> > wrote:
>
>> Hello!
>> Well, subj.
>> Am I rigth that it is possible to include smth just before </head> with 
>> tiddlers tagged with $:/core/wiki/rawmarkup ? For example 
>> <script>...</script> to import external JavaScript libraries?
>>
>> With best regards,
>> Martian.
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to