-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Import lurnby web to lurnby self hosted #6
Comments
This is actually easier than other kinds of imports.
I'm assuming this is a total export of all data that needs to be imported back into a local Lurnby yeah?
Its hard to imagine this would work as a partial export of just some highlights.
… On Feb 12, 2022, at 12:55, brodokk ***@***.***> wrote:
In a case where a user want to self-host lurnby himself it would be interesting to add the ability to import the data exported from the current website https://www.lurnby.com.
My current use case is that im testing your application and would like to self-host it later.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Yeah its actually all data that need to be imported back to a local Lumby. I mean it make more sense that way. |
There is one difficult part of this which is that it's not guaranteed that the highlight will be able to keep the reference to it's counterpart in the actual article text. When you highlight in an article, the actual html content gets updated with a span that shows the highlight. The span is given an That's also how we can navigate back to that part of the text when you're viewing a highlight elsewhere and click the This causes issues when thinking through the import, because it's not guaranteed that you will be importing into a completely blank database. The lurnby database that you might be trying to import the files into, is likely another active installation which means that the If it's not unique, we will need to generate a new |
Perhaps the issue above isn't so complicated though. We have
If when importing we determine that a highlight can't be created with the Then the reference stays and we have no issue. |
In a case where a user want to self-host lurnby himself it would be interesting to add the ability to import the data exported from the current website https://www.lurnby.com.
My current use case is that im testing your application and would like to self-host it later.
The text was updated successfully, but these errors were encountered: