AutoTag for TW5?

304 views
Skip to first unread message

Ray Vermey

unread,
Sep 3, 2015, 4:34:56 AM9/3/15
to TiddlyWiki
Hi

i am trying to install the AutoTagPlugin (http://www.tiddlytools.com/#AutoTaggerPlugin) in TW5
but i cant seem to get it to work...

Is this still compatible???

Thanks

Ray

PMario

unread,
Sep 3, 2015, 4:51:35 AM9/3/15
to TiddlyWiki
No. The plugin mechanism is completely different. tiddlytools.com is for TiddlyWikiClassic.

-m

Ray Vermey

unread,
Sep 3, 2015, 5:19:16 AM9/3/15
to TiddlyWiki
OK Thank you.
So should i use TWC than instead of TW5 and what benefits am i possible missing then?
Or is there a port of the AutoTagPlugin to TW5 somewhere?
Thanks!

Ray

Op donderdag 3 september 2015 10:51:35 UTC+2 schreef PMario:

PMario

unread,
Sep 3, 2015, 5:33:01 AM9/3/15
to TiddlyWiki
On Thursday, September 3, 2015 at 11:19:16 AM UTC+2, Ray Vermey wrote:
So should i use TWC than instead of TW5 and what benefits am i possible missing then?

hmm,
If you start with TW now, I'd definitely go with TW5. Let's say TWclassic is in maintenance mode. It will still work for the foreseeable future, but there is no active development going on.
 
Or is there a port of the AutoTagPlugin to TW5 somewhere?

No, but I think all of its functions can be done with TW but may be in a little bit different way / workflow.

The problem for me is, that I don't know, what you want to do. So if you would describe, what you need or what you want to do, we could point you to existing solutions, if there are any.

-mario



Ray Vermey

unread,
Sep 3, 2015, 6:12:33 AM9/3/15
to TiddlyWiki
Hi

Thank you.
What i would like is to have tags automagically added to tiddlers based upon certain keywords i type in them.
Just like the original AutoTagPlugin ;-)

Thanks again!

Ray

Op donderdag 3 september 2015 11:33:01 UTC+2 schreef PMario:

Danielo Rodríguez

unread,
Sep 3, 2015, 10:45:46 AM9/3/15
to TiddlyWiki
How will those keywords look like? Plain text? Are they defined at some place? Maybe an specific format?

I think it would be easy to build something like that for tw5,but I would like to have the complete specs.

Ray Vermey

unread,
Sep 4, 2015, 3:15:03 AM9/4/15
to TiddlyWiki
Well the autotag plugin would recognize words in my riddler being Tags and then tag the tiddler accordingly.
So if i had a tag called Meeting , and then in my tiddler i would use the word 'Meeting'  the autotag plugin would automatically
tag the tiddler as Meeting.

Pity that TW5 is not backwards compatible.... i like TWC more...

Cheers

Ray

Op donderdag 3 september 2015 16:45:46 UTC+2 schreef Danielo Rodríguez:

PMario

unread,
Sep 4, 2015, 5:36:25 AM9/4/15
to TiddlyWiki
On Friday, September 4, 2015 at 9:15:03 AM UTC+2, Ray Vermey wrote:
Well the autotag plugin would recognize words in my riddler being Tags and then tag the tiddler accordingly.
So if i had a tag called Meeting , and then in my tiddler i would use the word 'Meeting'  the autotag plugin would automatically
tag the tiddler as Meeting.

I'm thinking about the possibility to use #hashtags. For TW the # sign is reserved for numbered lists, if it is at the start of the line. I don't know of any other special meaning. So there is no wikification rule, which would cause conflicts.

Also hashtags are well known from some established social sites ;)
 
Pity that TW5 is not backwards compatible....

If TW5 would be compatible, we would have the same limits that TWclassic has, which just means stagnation. Nobody wants to have that!
 
i like TWC more...

That's your right ;)

------------------

My proposal would be:

 - The whole functionality is a plugin.

 - we add a new wikitext rule, that deals with #hashtags
   - which basically means it creates a similar output like the <<tag #hashtag>> macro.

 - we add a new action widget: similar to the ActionSetFieldWidget eg: ActionSetHashTagsWidget
   - This functionality would be generic, so it can be used in very different ways.
   - This widget would allow every user to control the behaviour on the template level.

 - we add a new EditTemplate, that uses the setHashtag widget with a new "save and tag" button
   - So it is not needed to click 2 buttons.
   - The standard save button is not modified, so the user has the choice.

 - we add a new "set #tag" button, that also works in view mode.


What do you think?

have fun!
mario

Mat

unread,
Sep 4, 2015, 6:18:55 AM9/4/15
to TiddlyWiki
On Friday, September 4, 2015 at 11:36:25 AM UTC+2, PMario wrote:
I'm thinking about the possibility to use #hashtags. For TW the # sign is reserved for numbered lists, if it is at the start of the line. I don't know of any other special meaning. So there is no wikification rule, which would cause conflicts.


An addition to this: In practice, a numbered list is usually not with only one item, at least not hard coded lists (as opposed to filter results). Thus, for a plugin, one might wish to interpret even "# at start of line" to be a #hashtag if it is not adjacent to other #rows.

It should also be noted that the # sign appears in permalinks. Not sure of their exact role there actually. But it is very relevant because it is possible to directly insert a filter as part of a permalink. Thus you may wish to visit a remote TW and set the url to make it show all tiddlers tagged, or even just containing, #somethinginteresting - i.e without it interfering with the url itself. 

BTW, the latter idea is possibly relevant for building Content Communities, i.e TW's dedicated to specific topics that, ideally, are automatically generated by aggregating tiddlers or TWs that are marked out in some way - such as via hashtags.


<:-)


PMario

unread,
Sep 4, 2015, 9:03:36 AM9/4/15
to TiddlyWiki
On Friday, September 4, 2015 at 12:18:55 PM UTC+2, Mat wrote:
On Friday, September 4, 2015 at 11:36:25 AM UTC+2, PMario wrote:
I'm thinking about the possibility to use #hashtags. For TW the # sign is reserved for numbered lists, if it is at the start of the line. I don't know of any other special meaning. So there is no wikification rule, which would cause conflicts.


An addition to this: In practice, a numbered list is usually not with only one item, at least not hard coded lists (as opposed to filter results). Thus, for a plugin, one might wish to interpret even "# at start of line" to be a #hashtag if it is not adjacent to other #rows.

IMO it's used for wordtags and not for sentences. So no spaces. see: https://support.twitter.com/articles/49309# and http://twitter.pbworks.com/w/page/1779812/Hashtags

With TW we need to add a limit: "A hastag can't be at the start of the line, even if there are spaces in front of it."

 
It should also be noted that the # sign appears in permalinks. ...

imo no problem. since the algorithm should / may be: <space>#<anyCharacter><anyNumber><space>
 
-m

PMario

unread,
Sep 4, 2015, 9:13:24 AM9/4/15
to tiddl...@googlegroups.com
Some more thoughts:
eg:

the text #myTag ... produces a tiddler tag: #myTag
or
the text #myTag ... produces a tiddler tag: myTag

For me consistency suggests the first version, but I also think it looks ugly. And since we had a lot of requests to disable CamelCase WikiLinks this may be worth a discussion.

What do you think?

-m

Mat

unread,
Sep 4, 2015, 6:24:06 PM9/4/15
to TiddlyWiki
PMario wrote:

>What do you think?

For one, I think it is very interesting. But I think it deserves a separate thread. @pmario, do you think you could collect your ideas here and make a new thread? Ray's original OP here might be solved as a consequence from implementing a hashtag mechanism but it is a different topic IMO. I have some thoughts on what you're saying.

<:-)

Danielo Rodríguez

unread,
Sep 6, 2015, 2:20:11 PM9/6/15
to TiddlyWiki
Hello Ray,

Since the functionality you were describing was useful for me I have created a plugin to give TW5 the auto tag capability.
Check it out here:


Let me know if it is useful for you.

Regards

Ray Vermey

unread,
Sep 6, 2015, 3:09:31 PM9/6/15
to TiddlyWiki
One thing btw, when a tagword is removed from the tiddler then the tag stays ;-)
Minor detail, it doesn't bother me but i thought you might want to know :-)

Ray

Op zondag 6 september 2015 20:20:11 UTC+2 schreef Danielo Rodríguez:

Ray Vermey

unread,
Sep 7, 2015, 9:34:33 AM9/7/15
to TiddlyWiki
@Danielo could you please accept my hangout invitation on Google+ ? Thanks!


Ray

Op zondag 6 september 2015 20:20:11 UTC+2 schreef Danielo Rodríguez:
Hello Ray,

Danielo Rodríguez

unread,
Sep 7, 2015, 12:51:53 PM9/7/15
to TiddlyWiki
Hello Ray,

I can't see any request.
Regards

Tobias Beer

unread,
Sep 17, 2015, 8:29:50 AM9/17/15
to TiddlyWiki
Tbh, I never fancied the method of AutoTaggerPlugin and I can't see why I would.

It is good to be specific, declarative... not to use automation where it might just yield false positives and, as you pointed out youself, no way to undo the tagging when the content changes.

#Hashtags are far more adequate, and @Mario, sure they can be almost at the start of a line, given there is at least one blank preceding it... even if Markdown could think of it as an indentated list.

Another, much more powerful option would be what linkify did for TWc.

Best wishes,

— tb

Matabele

unread,
Sep 18, 2015, 12:02:57 AM9/18/15
to TiddlyWiki
Hi

I'm not sure of the details of how the 'linkify' plugin for TWC worked (is it necessary for the user to specify the list of terms used as auto-links?)

In Tomboy Notes -- auto-linking occurs only for terms that match the titles of other notes. That is, any term in the text of any tiddler that matches the title of another tiddler gets automatically linkified.

regards

Tobias Beer

unread,
Sep 18, 2015, 1:23:34 AM9/18/15
to TiddlyWiki
Hi Metabele,
 
Is it necessary for the user to specify the list of terms used as auto-links?

Yes, it is, which I think is important. Well, for one exemption, the ability to auto-link existing tiddler titles, like this...
 
In Tomboy Notes -- auto-linking occurs only for terms that match the titles of other notes.

This is good so long as you don't have tiddler titles with common words, like "and", which will be be quite confusing eventually.

Best wishes,

— tb
Reply all
Reply to author
Forward
0 new messages