Import from .csv

33 views
Skip to first unread message

Lamar Williams

unread,
Nov 16, 2021, 3:45:35 AM11/16/21
to Page Notes - Chrome Extension
Hello, I thought the export to csv was a backup feature as well but I do not see a way to import them back into the extension after re-install. Is there a way to do this even if I have to do it manually somehow?

Thanks!
Lamar

manu

unread,
Nov 16, 2021, 3:58:28 AM11/16/21
to Page Notes - Chrome Extension
Hello Lamar,

Unfortunately currently there is no way to import the CSV, sorry.

Depending on how much you're comfortable with JSON, you can create local storage database manually. To access the local storage, right-click on the extension icon and select "Inspect Popup". In the popup, click on the "Application" tab on the top. Select "Storage > Local Storage > chrome-extension://..." in the left navigation. You'll see a bunch of keys here. To repopulate notes, you need to modify the "pagenotes" key. You can add a couple of test notes to see the format of this key.

I've been thinking of adding the import feature for some time. I'll expedite it now.

Sorry again for the trouble.
Manu

Lamar Williams

unread,
Nov 16, 2021, 6:01:03 PM11/16/21
to Page Notes - Chrome Extension
Thanks so much for the reply Manu. Yes that would be amazing if you could implement the import. I had quite a lot of notes saved that are now just stuck in limbo. lol But I will try the JSON method and if not I'll way patiently for your update.  :)

Lamar Williams

unread,
Nov 19, 2021, 1:31:29 AM11/19/21
to Page Notes - Chrome Extension
Mr. Manu, well I tried editing the JSON method. I think I got pretty close but it's just never quite works. I'm missing something somewhere in the formatting and there's just too much to look through for me to find it. I also thought it might be a problem with the time needing to be different for each input so I went through and edited each one to be slightly different but still no luck so I guess I'll just have to wait for your update. I don't know if you already have in mind how you want to to work but being able to choose to either import a backup for a fresh reset of the data OR to append a backup .csv file into the existing data would also be a great capability. Just a thought. Anyway, once again, thanks for the help!

manu

unread,
Nov 20, 2021, 6:09:04 AM11/20/21
to Page Notes - Chrome Extension
I've a sort of working solution. I'll test it some more in next 1-2 days and publish it.

In the meantime, can you please file this issue at: https://github.com/manugarg/pagenotes-issues/issues.

Thanks,
Manu

Lamar Williams

unread,
Nov 20, 2021, 6:31:16 AM11/20/21
to Page Notes - Chrome Extension
Oh that would be great! Thank you so much. I added this to Github as well. Please let me know if there's any problem with the wording or anything. Thanks!

manu

unread,
Nov 29, 2021, 5:50:56 PM11/29/21
to Page Notes - Chrome Extension
Just FYI: This has been done. Version 2.4.19 supports importing notes from a CSV file (you can access it from the 'options' page).

Thanks for filing the Github issue, Lamar!

Reply all
Reply to author
Forward
0 new messages