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] Netscape HTML format import/export #96

Closed
vk2r opened this issue Apr 11, 2024 · 5 comments
Closed

[Feature request] Netscape HTML format import/export #96

vk2r opened this issue Apr 11, 2024 · 5 comments
Labels
feature request New feature or request

Comments

@vk2r
Copy link

vk2r commented Apr 11, 2024

Hi there !
I've been using Linkding (another bookmarking application) for a while and I've found that Hoarder has what Linkding lacks, however I've run into a problem.

It happens that for both importing and exporting, Linkding takes the Netscape HTML Format and not only Linkding, but other applications too.

I would like to know if it is possible to do this implementation, as it would substantially improve the way bookmarks can be managed in the application.

@vk2r vk2r changed the title [Feature request] Netscape HTML format Import [Feature request] Netscape HTML format import/export Apr 11, 2024
@MohamedBassem
Copy link
Collaborator

Hello, I'm glad that you found in Hoarder what you're lacking!

I wonder if the importing docs here for chrome: https://docs.hoarder.app/import works for the linkding export. I'm currently on the phone and quick googling shows that it might. But will check when I'm on the laptop.

@MohamedBassem
Copy link
Collaborator

if it's the same, I'll add official support to it in the CLI :)

@MohamedBassem
Copy link
Collaborator

Ok, I checked the netscape format and it's also what chrome uses. So the wiki page I shared should work for you, but I'm also planning to add support for it in the CLIs given that it's a common format :)

@MohamedBassem MohamedBassem added the feature request New feature or request label Apr 11, 2024
kamtschatka added a commit to kamtschatka/hoarder-app that referenced this issue May 17, 2024
added the possibility to add exported bookmarks via the webUI for ease of use
@kamtschatka
Copy link
Collaborator

Since the CLI requires you to do quite a few manual steps, I created a PR to allow importing bookmarks file directly in the UI. Worked just fine for my chrome bookmarks. It is just extracting URLs using regex, so I don't expect that it does not work with your linkding export, but I don't have access to that, so I can't verify.

kamtschatka added a commit to kamtschatka/hoarder-app that referenced this issue May 17, 2024
MohamedBassem added a commit that referenced this issue May 25, 2024
* [Feature request] Netscape HTML format import/export #96
added the possibility to add exported bookmarks via the webUI for ease of use

* [Feature request] Netscape HTML format import/export #96
updated the documentation

* Extract the parser into its own file and reuse the existing bookmark upload logic

---------

Co-authored-by: kamtschatka <simon.schatka@gmx.at>
Co-authored-by: MohamedBassem <me@mbassem.com>
@MohamedBassem
Copy link
Collaborator

@kamtschatka added support for this and it's currently already released. Just drag and drop the html file and it'll get parsed and the bookmarks will get added!

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

No branches or pull requests

3 participants