Problem with the text-slicer plugin from the plugin library. Dom-parser seems to be missing?

104 views
Skip to first unread message

Måns

unread,
Apr 11, 2017, 12:36:43 PM4/11/17
to TiddlyWiki
Hi TwWizards (@jermolene in particular)

I installed $:/plugins/tiddlywiki/text-slicer from the plugin library.
When reloading the wiki I get this error message:
Error executing boot module $:/plugins/tiddlywiki/text-slicer/modules/slicer.js: "Cannot find module named '$:/plugins/tiddlywiki/xmldom/dom-parser' required by module '$:/plugins/tiddlywiki/text-slicer/modules/slicer.js', resolved to $:/plugins/tiddlywiki/xmldom/dom-parser" undefined

and the plugin doesn't work - except showing new error messages when you click the slicer button in the tiddler toolbar.

I'm using an empty TW document ver 5.1.13.

Cheers Måns Mårtensson

Måns

unread,
Apr 11, 2017, 12:44:29 PM4/11/17
to TiddlyWiki
By mistake I posted this question on the TiddlyWeb forum. 
Jeremy answered: 

"You need to also install the xmldom plugin in order for text-slicer to work properly,"

My next question is: Where do I get the xmldom plugin?
Is it stored with another name in the plugin repository?


Cheers Måns Mårtensson

Jeremy Ruston

unread,
Apr 11, 2017, 12:56:55 PM4/11/17
to tiddl...@googlegroups.com
Hi Måns

My next question is: Where do I get the xmldom plugin?
Is it stored with another name in the plugin repository?

It is in the official plugin library under the name "Wrapper for xmldom”, with the title "$:/plugins/tiddlywiki/xmldom”. You can search for “xml” to find it easily.

Best wishes

Jeremy.



Cheers Måns Mårtensson

Den tirsdag den 11. april 2017 kl. 18.36.43 UTC+2 skrev Måns:
Hi TwWizards (@jermolene in particular)

I installed $:/plugins/tiddlywiki/text-slicer from the plugin library.
When reloading the wiki I get this error message:
Error executing boot module $:/plugins/tiddlywiki/text-slicer/modules/slicer.js: "Cannot find module named '$:/plugins/tiddlywiki/xmldom/dom-parser' required by module '$:/plugins/tiddlywiki/text-slicer/modules/slicer.js', resolved to $:/plugins/tiddlywiki/xmldom/dom-parser" undefined

and the plugin doesn't work - except showing new error messages when you click the slicer button in the tiddler toolbar.

I'm using an empty TW document ver 5.1.13.

Cheers Måns Mårtensson

-- 
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/359ee5d4-0375-4763-b223-fc6a7dfb2e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Måns Mårtensson

unread,
Apr 11, 2017, 4:31:02 PM4/11/17
to TiddlyWiki
Hi Jeremy

Ahaa - I should have used my glasses ... 
Now it works! 
Thank you very much.

When I change the tiddler left position - the index of the sliced document is shown. Nice :-)

Right sidebar is hidden below open tiddlers.

I guess I need to change the z position for either tiddlers or sidebar.
Any suggestions?

Cheers Måns Mårtensson

2017-04-11 18:56 GMT+02:00 Jeremy Ruston <jeremy...@gmail.com>:
Hi Måns

My next question is: Where do I get the xmldom plugin?
Is it stored with another name in the plugin repository?

It is in the official plugin library under the name "Wrapper for xmldom”, with the title "$:/plugins/tiddlywiki/xmldom”. You can search for “xml” to find it easily.

Best wishes

Jeremy.


Cheers Måns Mårtensson

Den tirsdag den 11. april 2017 kl. 18.36.43 UTC+2 skrev Måns:
Hi TwWizards (@jermolene in particular)

I installed $:/plugins/tiddlywiki/text-slicer from the plugin library.
When reloading the wiki I get this error message:
Error executing boot module $:/plugins/tiddlywiki/text-slicer/modules/slicer.js: "Cannot find module named '$:/plugins/tiddlywiki/xmldom/dom-parser' required by module '$:/plugins/tiddlywiki/text-slicer/modules/slicer.js', resolved to $:/plugins/tiddlywiki/xmldom/dom-parser" undefined

and the plugin doesn't work - except showing new error messages when you click the slicer button in the tiddler toolbar.

I'm using an empty TW document ver 5.1.13.

Cheers Måns Mårtensson

-- 
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 tiddlywiki+unsubscribe@googlegroups.com.

--
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 tiddlywiki+unsubscribe@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Jeremy Ruston

unread,
Apr 11, 2017, 4:34:01 PM4/11/17
to tiddl...@googlegroups.com
Hi 

When I change the tiddler left position - the index of the sliced document is shown. Nice :-)

Right sidebar is hidden below open tiddlers.

I guess I need to change the z position for either tiddlers or sidebar.

As well as setting $:/themes/tiddlywiki/vanilla/metrics/storyleft to eg 400px , you should set the sidebar layout to "fluid-fixed”.

Best wishes

jeremy

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Måns Mårtensson

unread,
Apr 12, 2017, 10:18:05 AM4/12/17
to tiddl...@googlegroups.com
Hi Jeremy

Thank you. 

I actually had it set to fluid and tiddlers to fixed.
What I had hoped for was that the sidebar would cover tiddlers and not vice versa... 
I guess I would need to put the right sidebar in some kind of slider/ popup to achieve this effect.

Happy hollidays.

Cheers Måns Mårtensson 
Hi Måns

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages