> Just wondering if anyone had tried to strip out anything to make a TW5 as small as possible say for read only display of information.
In fact there's very little of the TW core code that is exclusively concerned with editing. The editing functionality of TW is built out of the same basic building blocks as the rest of the UI; for example, the handling of input boxes in edit templates is reused for handling input boxes in search. As Måns suggests, the best approach is to render the content to a static HTML file. It also gives you excellent browser compatibility. > If you download eg. the tiddlywiki.com TW it's 2174k as a static HTML > it's 2840k ... (It's bigger than the original > maybe it's because it has > external images embedded into the HTML?) > Indeed, the static HTML version currently has each instance of each image embedded as a separate base64 data URI. So things like the toolbar buttons end up taking a disproportional amount of space. Of course, the example on tiddlywiki.com reuses the ordinary view templates for the static rendition; what's really needed is a separate set of more minimal templates that excludes the unneeded elements. Best wishes Jeremy > > Cheers Måns Mårtensson > > Den mandag den 12. maj 2014 06.42.36 UTC+2 skrev RunningUtes: > >> Just wondering if anyone had tried to strip out anything to make a TW5 as >> small as possible say for read only display of information. > > -- > 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/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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/d/optout.

