Scripting the export of bookmarks?

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
Dgwphotos

Scripting the export of bookmarks?

Post by Dgwphotos » 2019-07-03, 06:31

Is it possible to script the export of bookmarks? I would like to keep another (non Pale Moon) browser synced with the same bookmarks.

User avatar
Utnapishtim
Fanatic
Fanatic
Posts: 141
Joined: 2018-07-12, 02:42
Location: Win7

Re: Scripting the export of bookmarks?

Post by Utnapishtim » 2019-07-03, 22:04

Dgwphotos wrote:
2019-07-03, 06:31
Is it possible to script the export of bookmarks? I would like to keep another (non Pale Moon) browser synced with the same bookmarks.
AFAIK the bookmarks are in one of the sqlite databases (I think places.sqlite). You can write an SQL query and execute it on the command line with sqlite-tools.

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Scripting the export of bookmarks?

Post by Moonchild » 2019-07-04, 12:29

Or you can, you know, use Pale Moon Sync?
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Isengrim
Board Warrior
Board Warrior
Posts: 1324
Joined: 2015-09-08, 22:54
Location: 127.0.0.1

Re: Scripting the export of bookmarks?

Post by Isengrim » 2019-07-04, 12:33

Moonchild wrote:
2019-07-04, 12:29
Or you can, you know, use Pale Moon Sync?
Is there a way for other browsers to access PM Sync?
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Scripting the export of bookmarks?

Post by Moonchild » 2019-07-04, 13:08

Isengrim wrote:
2019-07-04, 12:33
Is there a way for other browsers to access PM Sync?
As long as they implement the (well-documented) Weave/Mozilla Sync 1.1 API access, yes.
If any mainstream application wants to use the Sync service, however, I do request they get in touch with me beforehand so I can look at required server resources and a potential compensation requirement to fund it.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Dgwphotos

Re: Scripting the export of bookmarks?

Post by Dgwphotos » 2019-07-05, 20:06

This would be for Brave.

User avatar
Moonchild
Project founder
Project founder
Posts: 38838
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Scripting the export of bookmarks?

Post by Moonchild » 2019-07-05, 20:10

Dgwphotos wrote:
2019-07-05, 20:06
This would be for Brave.
Considering their sizeable usership, they will have to get in touch with me about using the service before doing so.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Goodydino
Keeps coming back
Keeps coming back
Posts: 944
Joined: 2017-10-10, 21:20

Re: Scripting the export of bookmarks?

Post by Goodydino » 2019-07-05, 21:01

What is wrong with exporting the bookmarks as HTML and then importing them into another browser? You do not need any extension to do that. Imported bookmarks are appended, so you get all of them transferred. If you want to remove some of the transferred ones afterward, that is easy.

New Tobin Paradigm

Re: Scripting the export of bookmarks?

Post by New Tobin Paradigm » 2019-07-05, 21:28

You can't do that with mobile browsers.

Dgwphotos

Re: Scripting the export of bookmarks?

Post by Dgwphotos » 2019-07-07, 03:49

Goodydino wrote:
2019-07-05, 21:01
What is wrong with exporting the bookmarks as HTML and then importing them into another browser? You do not need any extension to do that. Imported bookmarks are appended, so you get all of them transferred. If you want to remove some of the transferred ones afterward, that is easy.
That is what I have in mind. I want to use Task Scheduler to export the bookmarks, then import them into the desktop version of Brave and have Brave's built in sync do the job of syncing with Brave on the tablet.