of course the point is to have the tools to enable what you want to do On Saturday, November 4, 2017 at 11:05:43 PM UTC+1, Mark S. wrote: > > Hmm. I wasn't aware of your visual editor. Looks interesting. I'm > surprised it hasn't been chatted up more. > > Lot's of text that you import is jam-packed with unnecessary mark-up. This > bloats the size of the resulting TW. The bigger TW gets the slower it runs > until eventually it barely runs at all. You can hit this wall very quickly > if you send your TW over to an under-powered tablet or phone. The beauty of > mark-up is that you can easily read it either rendered or not rendered. Not > so much with HTML. > > Mark > > > On Saturday, November 4, 2017 at 2:27:58 PM UTC-7, BJ wrote: >> >> I don't see the point (in general) of converting to markup. Clips can be >> edited with ckeditor, to highlight the main points of interest. >> >> tiddlyclip for ff57 is mostly working, so I expect that it will be ready >> in time. >> >> On Saturday, November 4, 2017 at 9:35:29 PM UTC+1, Mark S. wrote: >>> >>> Well, changing it to markup should certainly sanitize it. Practically >>> sterilize it. >>> >>> Will there be a tiddlyclip update in time for FF57? (10 more days, if >>> they've stuck to the timetable). >>> >>> Thanks! >>> Mark >>> >>> On Saturday, November 4, 2017 at 12:29:18 PM UTC-7, BJ wrote: >>>> >>>> In tiddlyclip for firefox, using the @web allow html to be clipped and >>>> it is sanatized. However with firefox 57 I don't think there is an api >>>> for >>>> the sanztier, so I am planning on added a lib to do the sanitizing. >>>> >>>> On Thursday, November 2, 2017 at 3:48:25 PM UTC+1, Mark S. wrote: >>>>> >>>>> You can also use use BJ's tiddlyclip with HTML to markup adapter. This >>>>> uses regexp to remove almost everything that is irrelevant to TW renders. >>>>> >>>>> I guess it depends on whether the objective is to make more compact >>>>> text or simply safer text. >>>>> >>>>> Mark >>>>> >>>>> On Thursday, November 2, 2017 at 7:20:32 AM UTC-7, @TiddlyTweeter >>>>> wrote: >>>>>> >>>>>> You might want to look at BJ's Flexity plugin. This will let you use >>>>>> regular expressions to clean code. You'd need to display output as plain >>>>>> text and then copy and paste back to a new tiddler though as its NOT an >>>>>> import mechanism. But, as its name suggests, it has great flex as a >>>>>> general >>>>>> tool to change a Tiddler anyway you want. >>>>>> >>>>>> http://flexibility.tiddlyspot.com/ >>>>>> >>>>>> Best wishes >>>>>> Josiah >>>>>> >>>>>> On Thursday, 2 November 2017 13:26:51 UTC+1, Paul Netsaver wrote: >>>>>>> >>>>>>> Hi, >>>>>>> I'm currently using TW for importing web pages, snippets, etc (but >>>>>>> I'ld like using it also as a CMS). >>>>>>> I'm searching a plugin for reducing and cleaning the original HTML >>>>>>> source code, something customizable, similar for instance to >>>>>>> sanitizer.js. >>>>>>> Basically I need to: >>>>>>> - exclude all style attributes (except perhaps img size attributes) >>>>>>> - exclude all empty divs >>>>>>> - filter tags, attributes, classes based on whitelist / blacklist >>>>>>> Maybe something acting all over the tiddler content and >>>>>>> activated/deactivated by a proper toolbar button. >>>>>>> Does a similar plugin for TW exist? >>>>>>> It is possible to create it by using an available js library? >>>>>>> Thanks and regards >>>>>>> Paul Netsaver >>>>>>> Rome (IT) >>>>>>> >>>>>>> >>>>> >>> >
-- 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/a922f364-06e7-4a57-8b53-6923c4a1fcff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

