External Attachments Plugin Correction Suggestion

74 views
Skip to first unread message

Dave

unread,
Jan 22, 2019, 2:32:13 AM1/22/19
to TiddlyWikiDocs
The tiddler here: https://tiddlywiki.com/#External%20Attachments%20Plugin:%5B%5BExternal%20Attachments%20Plugin%5D%5D

Says this:

The External Attachments Plugin provides support for importing tiddlers as external attachments.
 
That means that instead of importing binary files as self-contained tiddlers, they are imported as "skinny" tiddlers that reference the original file via the _canonical_uri field. This reduces the size of the wiki and thus improves performance. However, it does mean that the wiki is no longer fully self-contained.
 
This plugin only works when using TiddlyWiki with platforms such as TiddlyDesktop that support the path attribute for imported/dragged files.

This is incomplete because there's no way to know how to install this or use it.

What it should *also* say is something like this:

See also [[Installing a plugin from the plugin library]] for how to find and install plugins like this. Hint: look for the phrase "Get more plugins"


Or... for a more Tiddlywiki way of documentations, the TW should have a viewtemplate tiddler with that to show up on any tiddler tagged with OfficialPlugins

Maybe something like this tagged $:/tags/ViewTemplate

<$list filter="[is[current]tag[OfficialPlugins]]" variable=null>

* See also [[Installing a plugin from the plugin library]] for //''how to find and install plugins like this''//. Hint: look for the phrase "Get more plugins"
</$list>


Make's sense?

- Dave

thro...@yahoo.com

unread,
Jan 22, 2019, 10:22:20 AM1/22/19
to TiddlyWikiDocs
 Hi Dave,

That sounds like a great idea.

The question I have is about the mechanics -- and I have this a lot when making document changes: In what directory should the physical viewtemplate tiddler reside? Where should it go?

-- Mark

S. S.

unread,
Jan 22, 2019, 11:54:46 AM1/22/19
to TiddlyWikiDocs
Dave,

You are right! There's no instruction on what to do next to find that plugin nor how to install it! Great suggestion! Thanks.

There are <$count filter="[tag[OfficialPlugins]]"> = 13 tiddlers taggs with OfficialPlugins

That would mean either modifying 13 tiddlers, or making a view template.
The only view template I can find that helps format documentation tiddlers is this: $:/editions/tw5.com/operator-template

I am of the opinion that a new tiddler be made with a couple of lines similar to your suggestion.
Then, without using a ViewTemplate, the 13 tiddlers could be edited to transclude this in.

The new tiddler would be put here: Branch:tiddlywiki-com TiddlyWiki5/editions/tw5.com/tiddlers/plugins/ : & could be named something like:
title: Where to find plugins.tid
tag: Plugins
text:
Plugins can be found by opening the <<.button control-panel>>. On the <<.controlpanel-tab Plugins>> tab, click on the
{{$:/core/ui/ControlPanel/Plugins/AddPlugins}} button, then search for the plugin's name.

For installing a plugin, see [[Installing a plugin from the plugin library]].

What do you think?

Dave

unread,
Jan 22, 2019, 12:11:11 PM1/22/19
to TiddlyWikiDocs
Sounds good!

S. S.

unread,
Jan 22, 2019, 1:44:42 PM1/22/19
to TiddlyWikiDocs
Issue opened on GitHub for discussion: https://github.com/Jermolene/TiddlyWiki5/issues/3723

On Wednesday, January 23, 2019 at 12:11:11 AM UTC+7, Dave wrote:
Sounds good!

thro...@yahoo.com

unread,
Jan 22, 2019, 2:37:33 PM1/22/19
to TiddlyWikiDocs
There are so many issues outstanding. Perhaps it would be better to just submit a PR so that it appears as an actionable item rather than another feature request.

-- Mark

S. S.

unread,
Jan 22, 2019, 8:25:42 PM1/22/19
to TiddlyWikiDocs
Thanks Mark, it does need a Pull Request.
I thought that because there is more than one way to proceed - either by transclusion or ViewTemplate - an opportunity for discussion for a few days might be proper.
I'll try and follow up on it soon if there is no further input.

bimlas

unread,
Jan 29, 2019, 2:01:04 PM1/29/19
to TiddlyWikiDocs
I agree with the idea.

A question about the plugin: has anyone managed to work? This would provide a lot of opportunities to use Tiddly, but I just can't install it with TiddlyDesktop, Node, or Bob.

thro...@yahoo.com

unread,
Jan 29, 2019, 5:08:07 PM1/29/19
to TiddlyWikiDocs
I've installed it various places, but never got it to work, or at least do what I thought it should do. I thought I could drag a file over, and have a _canonical_uri file created pointing to a local (or served-up) file. So far that hasn't happened. In one or two cases there was a bug in that edition of the Plugin or of TD. It would be interesting to hear from anyone that has gotten it to work.

-- Mark

Anthony Muscio

unread,
Feb 2, 2019, 7:28:28 PM2/2/19
to TiddlyWikiDocs
Alternative to "External Attachments Plugin"

I feel we could create the ability to select tiddlers in the import process that instead generate "External attachments", this could be further enhanced by using alternate dropzones to the standard import. For example to attache files found in files folder, drop them on the external files drop zone, and an external attachment will be created to each in the subfolder files.

Regards
Tony

bimlas

unread,
Feb 9, 2019, 4:57:30 PM2/9/19
to TiddlyWikiDocs
I started to investigate what's wrong with the plugin and opened an issue: https://github.com/Jermolene/TiddlyWiki5/issues/3761

bimlas

unread,
Feb 9, 2019, 4:58:14 PM2/9/19
to TiddlyWikiDocs
It's really good idea, I like it!

S. S.

unread,
Feb 24, 2019, 7:54:18 AM2/24/19
to TiddlyWikiDocs
Created pull request #3787 on GitHub a few days ago. It should be finalized in a few days.
Reply all
Reply to author
Forward
0 new messages