How to?: Another Search by multiple Tags

92 views
Skip to first unread message

Surya

unread,
Oct 14, 2019, 12:12:33 PM10/14/19
to tiddl...@googlegroups.com
Hello,

I am trying to build a search by multiple tags with some other requirements.
But I am only partially successful. I am successless in combining my found solutions.

The requirements are:
  • At the top or at the bottom there should be a searchfield. Here I can type a word or text, which should be found inside the text of tiddlers.
    • Ideally this search could be combined with the search for tags (find tiddlers with the word "Hello" inside the text, but only those tiddlers tagged with "A"), but this is not absolutely compelling.
    • I know, I can do that with [regexp:text[TextInsideTheTiddler]]. But don't know how to combine it with the rest of my wished MultipleTagSsearch.

  • Then there should be checkboxes with the tags. Checking one or more of those checkboxes, the search will find tiddlers tagged with these tags.
    • The tags should be automatically shown by their parent tags (as a group of tags). In my test-wiki these groups are "Character" & "New Character".

  • Then aditionally I would like to filter founded tags by their ratings (field:rating).

  • The search-results should be shown like this:
    • Tiddlertitle as link.
    • Transcluded field "description", transcluded field "timestamp".
    • The tags of that tiddler in tag-pill-style.

I have been successful in building the wanted display of the search-result. But successless in combining it with the other wishes...

I have also been successful in my wished displaying search-result in the "MultipleTagSearch by Stef".

But I am not successful in combining the "MultipleTagSearch by Mark" and the "MultipleTagSearch by Stef".
("MultipleTagSearch by Mark": In my new wished MultipleTagSearch I do not need to filter by the first letter of found tiddlers).

You can have a look at my solutions since now and play with them at http://suryas-testwiki.tiddlyspot.com/

A big Thanks for your help in advance!!
Surya

Surya

unread,
Oct 14, 2019, 12:13:31 PM10/14/19
to TiddlyWiki
Sorry, forgot to say "hello"... ;-)

bimlas

unread,
Oct 14, 2019, 12:24:22 PM10/14/19
to TiddlyWiki
Welcome to the community!

Before you start implementing a feature, take a look at https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM, as there may be a ready solution.

What you want to achieve is in the Locator plugin (https://bimlas.gitlab.io/tw5-locator/): you can filter the list by tags associated with the text you type in the search box, you can select multiple tags at once, and even in the Table of Contents it shows the tags of the currently listed tiddlers.

Give it a try and if you have any comments, questions or ideas, feel free to let me know.

Surya

unread,
Oct 14, 2019, 2:02:45 PM10/14/19
to TiddlyWiki
Hello bimlas,

I didn't find anything in https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM, which fit my needs or which I am able to tweak to fit my needs.

I had a long look at your Locator plugin.
It is really interesting and fascinating!
But:
  • I find it hard to understand- it is working so different than I am used to TW until now.
  • I do not want to have that multiple tag search in the sidebar. But just as an own tiddler.
  • The Locator plugin seems to me to be quite big- I don't want to slow down my wiki.
  • I cannot filter by ratings with it.
  • I cannot filter by text inside tiddlers.
  • And the search results are not displayed like I want.
So it seems to me, that this plugin is not the right one for me?!?...
Reply all
Reply to author
Forward
0 new messages