Queries on wikipad

33 views
Skip to first unread message

Tech Lover

unread,
Dec 14, 2022, 11:15:38 PM12/14/22
to wikidpad-devel
Can you please help me with the following queries?

a. is it possible to share the whole note for other users to view/search what i see?
b. the shared users should be able to view, search and all features should be available but should not have the privilege to update neither delete the notes of the entire notebook
c. how to import huge text files and test it?
d. does it highlight the search keyword in search results 
e. after search results came, is it possible to navigate to all the search with next, previous, up, down
f. does it have an import feature to import all the text files in one shot?

basically looking for a full text search of entire notebook, import of text files, sharing with others where others gets all access except delete via a shared link.

Graham Harris

unread,
Jul 13, 2023, 7:39:18 PM7/13/23
to wikidpad-devel
a. is it possible to share the whole note for other users to view/search what i see?

what I do is:  use the original_sqlite backend, so each page is a separate file ending .wiki
Then I synchronise all of the .wiki files between machines (using external software; in my case Syncthing), taking care NOT to synchronise the .sli* and .lock files (database, journal) - so each machine must maintain its own database. In Extra; Options; Current Wiki; On Open I have Rebuild: set to "Update ext mod. files" so that each machine, on opening the database, incorporates changes made on other machines. Settings from the n Extra; Options; Current Wiki tree are stored in the "main" .wiki file (the file with the name you gave to the new Wiki when you first created it). I find it better NOT to synchronise the 'main' .wiki file between machines, at least after the first sync.

b. the shared users should be able to view, search and all features should be available but should not have the privilege to update neither delete the notes of the entire notebook

my approach above makes the wiki read/write on all machines BUT there is a danger of two machines making clashing updates to the same page. You could solve that by starting WikidPad on the reader machines from a batch file or shell script that sets all the .wiki files to read-only. Or in Extra; Options; Current Wiki; check the "Read-only wiki" box.

c. how to import huge text files and test it?

I recommend keeping individual .wiki files small. So import a huge text file by first breaking it into many small pieces. I am not getting into how you do that.

d. does it highlight the search keyword in search results

I don't remember how it behaves if you use index search (Extra; Options; Current Wiki; Allow Index search). My wiki is big enough (~15,000 pages) that the overhead of maintaining the search index each time a page changes is too large. Instead, I use an efficient external tool (Recoll) to do full text indexing and searching.

e. after search results came, is it possible to navigate to all the search with next, previous, up, down

try it and see if it behaves as you expect

f. does it have an import feature to import all the text files in one shot?

If you put one or many text files with the extension .wiki into the directory where the rest of your .wiki files are, then when you start WikidPad with Rebuild set to "Update ext mod. files" as above, then Wikidpad will import all the new files into the database.
Reply all
Reply to author
Forward
0 new messages