linkding
linkding copied to clipboard
Importing From Text File
Hello, I have a list of links that I'd like to import, and would appreciate a manual import from a plain text file or CSV or something.
What I'm actually trying to do is import all the open tabs from my Firefox on Android. The browser has a feature where I can export the list into a text format (I chose to share it with Google Keep). The list is like this:
http://www.github.com
http://www.google.com
http://www.example.com
I'm hoping for a simpler solution than simply submitting the New Link form 90+ times.
Not so sure though about support plain text files. The problem here is that these are just plain URLs without any metadata (title, description), which is not that useful in the UI. Adding support for that would require implementing a background task that scrapes the metadata for imported bookmarks one by one. Let's see if there is interest in this, or if there are other use cases.
As for your specific use-case: At least the desktop version of FF has an option to save all open tabs as bookmarks. That means you might be able to either:
- do the same on mobile, if that feature exists, and then sync the bookmarks to a desktop browser
- or sync all tabs to a desktop browser, and then save the tabs as bookmarks
From there you could then export the bookmarks in the HTML format and import them into linkding. FF docs on syncing: https://support.mozilla.org/en-US/kb/sync-bookmarks-tabs-history-and-passwords-android
As Linkding is based upon a SQLite database, importing CSV or text files is pretty straightforward and it works. I have developed a procedure using R if you are interested.
I've been thinking about this as well, although not sure how to implement it with a nice experience. Pinboard.io has a feature where you can save tab sessions to open again later. For what I can see, it only saves the links with titles and a name you can provide for the session. No tags or descriptions, so those aren't really bookmarks.
Without implementing anything new, I imagine maybe having some extension that would call the Linkding API a few times for each link, and add a tag like #tab-session-foo-bar
. It's a bit hackish though, maybe it would make more sense it that was a separate feature.