How to accomplish the listed features in Tiddly Wiki

103 views
Skip to first unread message

Java Developer

unread,
Nov 6, 2019, 8:35:04 PM11/6/19
to TiddlyWiki
Hi,

Could someone help me how to accomplish the following features in Tiddly Wiki ?

I have 2,000 .txt files (only text) for each language. Example, english, malayalam, telegu, tamil etc.,Around 20 languages....

Need your kind comments or feedback on how to build the following using tiddly wiki which needs to have the following features

1) search in the content and search in the title or file names
2) Search Box with type-ahead search with number of hits/matches found i.e full text search in file content
3) Highlight the search keyword in all occurrences after search
4) Import option to import the .txt files or we can place it in a folder to index the content
5) keyboard layout for the selected language if possible. Example if a user selects, english, english content should be searched and displayed. Similar for Tamil etc., keyboard layout is needed, since i know many languages and wanted to switch and type around it https://keymanweb.com
6) Easy navigation after search results are published (previous, next, go to exact match etc.,)
7) Preview option or preview view of a single file content with navigation would be helpful with previous, next, search option of a single file...

The content should be portable to any machine

Please help me with your comments...

Thanks

TonyM

unread,
Nov 6, 2019, 11:32:09 PM11/6/19
to TiddlyWiki
Java,

Your request is very open. The key is if you wish to use tiddlywiki to do this you will need to do your first step to be your option 4, 
  • 4) Import option to import the .txt files 
  • Just drag and drop the files on your tiddlywiki and import them (or use the import button one at a time)
    If you already know the language in a set of files import them and make a button to tag them in bulk with a language tag (or use a field)
To do this it is important to tell us what the total size of all these files is, if you already know which language.
Also once in tiddlywiki you will no longer refer to files but tiddlers.

Most of the questions can then be answered within tiddlywiki by various means except the following
  • 5) keyboard layout for the selected language if possible (look for this in your local operating system or browser)
I am not sure how you will do the following but I expect others can help
  • 3) Highlight the search keyword in all occurrences after search (you can in edit mode with the codemirror editor)
    you can display the relevant tiddlers and use the browser search to highlight the search target.

All the rest are achievable, and once in Tiddlywiki you can view it in most browsers and most platforms.

However with respect you are asking help to do the whole thing, that is a lot to ask a volunteer, I suggest to try and start, given my above suggestions, and ask more questions as you go.

Regards
Tony

Sycom

unread,
Nov 7, 2019, 1:40:12 AM11/7/19
to TiddlyWiki
Hello,

As a complement to what Tony wrote:

* You may preserve your files using the nodejs version of tiddlywiki, but
* you may have to create a .txt.meta file for each (with bash I mean, not by hand ;-) if you want to make the whole work properly,
* You may miss some important and cool features of tiddlywiki that a conversion to .tid could bring.
* you are writing about title, language etc. Kind of metadatas. Where are they stored? In the files? In the directory structure?
* Maybe some .txt samples would help to figure out the big picture
* Please be more precise about your reversibility needs.

Cheers

Sylvain
@sycom

PMario

unread,
Nov 7, 2019, 3:51:39 AM11/7/19
to TiddlyWiki
Hi,

Can you show 1 or 2 of the English txt files, so we can see how the content looks like?

If not possible "lorem ipsum" can be used. I'm only interested in the structure of the txt file.

-m

Java Developer

unread,
Nov 7, 2019, 8:41:21 AM11/7/19
to tiddl...@googlegroups.com
Thanks for all of your suggestions...Worked well..

Imported all the text files, tagged and search is working fine...

However it is possible to highlight the keyword entered instead of manually again click ctr+f and put the same keyword. Is it possible or already available with a setting..

Also, want to add a customized text field with javascript on top of the wiki and wants to get that saved as well on every change....

Thanks.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f69a06d9-9ff5-429f-8c9a-93bc2efa2e0a%40googlegroups.com.

Sycom

unread,
Nov 7, 2019, 11:58:23 AM11/7/19
to TiddlyWiki
Hello,

> Imported all the text files, tagged and search is working fine...

Glad you did it. I'd be happier to know how and what exactly, since we never learn enough. Don't hesitate to share your bash scripts or anything that helped you accomplish this...

> However it is possible to highlight the keyword entered instead of manually again click ctr+f and put the same keyword. Is it possible or already available with a setting..

I'm not sure if what you're trying to do. So can't help. I guess you'll have to code this one yourself.

> Also, want to add a customized text field with javascript on top of the wiki and wants to get that saved as well on every change...

I've no idea at all of what your needs are with try his one. And I guess that others will need more accurate description to help. What means "customized", "on top", "saved" and "every change" more precisely?
I wrote more words asking this than you describing what you want. I think it's a hint :-)

Cheers

Sylvain
@sycom

Java Developer

unread,
Nov 7, 2019, 12:20:32 PM11/7/19
to tiddl...@googlegroups.com
Basically want to integrate javascript with combo box option near to the search box..Where when user types english..it's equivalent word is
done in tamil....

example, type ammaa in the below url - http://english-to-tamil.herokuapp.com/ and it will convert to tamil

It has done by simple javascript - opensource...which i want to integrate near to the search box with a combo option 


For Importing text files, i used the import option given in the wiki itself which i didn't noticed earlier...

I have imported 120 MB of data...However wiki is very fast in performance......facing only 2 issues

1. How to integrate the above javascript to make it user friendly for multi-lingual support
2. How to highlight the search keyword in the content..currently the context search plugin doesn't work in the latest wiki version..looks some bug

Thanks

--
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.

Marc Ferguson

unread,
Nov 7, 2019, 12:33:33 PM11/7/19
to tiddl...@googlegroups.com
Has anyone ever used tiddlywinks to write screenplay like scripts?

Is there a template or some tools that I can use to produce tiddlers in a script format?

Sent from my iPhone
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0f814eab-db83-40ab-89fc-48c60369d930%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages