Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow changing the file path of Prostetnic's SQLite database used for storing highlights #12

Open
hersh-verthun opened this issue Dec 29, 2016 · 5 comments

Comments

@hersh-verthun
Copy link

Thank you for the add-on. I have been using it for two days and find it very handy.

Is it possible to move the Prostetnic's database to another location? If possible you'd have to provide instructions to modify Prostetnic's code to point it to use the new location.

The reason I ask is that I am working through HTDP (a web book) at home and at work. I have a ton of highlights in this web-book stored on home computer which I want to access at work computer. At the moment I can't.
If you could build this feature in the next update I would very much appreciate it.

As a token of appreciation for your work I have just made a donation for the requested amount. Thank you again for building the add-on.

@GitHubAndProstetnic
Copy link

GitHubAndProstetnic commented Dec 29, 2016 via email

@hersh-verthun
Copy link
Author

hersh-verthun commented Dec 30, 2016

Thank you for the suggestion @GitHubAndProstetnic . Wired-Marker looks very promising but I am concerned that it has not been updated since December, 2011. With Firefox deprecating other toolsets in favor of WebExtension I wonder if it would be the right choice for highlighting important research.

I am afraid it won't work on future Firefox releases. That said, I see that @n8chz has started porting Prostetnic to WebExtension though warning it as a watered-down port. [She] named it Persistent Color Highlighter.

I am going to try your suggestion anyway but I have to say that I don't really want to lose my research. It is cumbersome to go back and read thousands of words than just the highlighted portion.

@n8chz
Copy link
Owner

n8chz commented Jan 1, 2017

Thank you for your support.

Prostetnic Highlighter stores data in your profile folder. Although I haven't tried it, I have heard that it is possible to store one's Firefox profile in the cloud and at least one person has reported that Prostetnic Highlighter works across devices using the same Firefox profile stored at Dropbox.

I don't plan to develop this add-on any further because WebExtensions. The WebExtension highlighter stores data in a key-value store (WebExtensions has no provisions for SQL), so I don't know whether the portability you seek is possible with that add-on. Because of differences in back-end modeling options, I implemented search in a different way, based on words rather than substrings. I would assume the key value store is somewhere in the profile directory, but so far I've accessed it only through the API. Next feature planned for Persistent Highlighter is selection of displayed highlights for either color change or deletion.

@GitHubAndProstetnic
Copy link

GitHubAndProstetnic commented Jan 2, 2017 via email

@hersh-verthun
Copy link
Author

@GitHubAndProstetnic : I have started using Wired-Marker and I have to say it is the most complete solution for all my needs. I am still wary of its obsolescence but the features of this addon are so compelling that I am willing to run an old version of Firefox for some time if the addon does not start using the WebExtensions API.

@n8chz : Thank you for responding. I wish that your WebExtensions port could borrow some features from Wired-Marker and have some assurance of support and stability - losing our research in a new version of Firefox is too painful.

For now, I am converted to Wired-Marker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants