04-07-2004, 11:14 PM -
And while you're at it, make it a more generic bookmark plugin! I myself am a big Opera fan (or more precise; anti-IE ), so it would be very nice if TLB could show those bookmarks as well... even though Opera is running practically non-stop...
Opera stores it's bookmarks in C:\Documents and Settings\<user>\Application Data\Opera\Opera7\profile\opera6.adr (guess they left the filename at 6 for legacy). The format is really simple:
So basically it's a header, then all folders (I've cut a few down obviously, but the folders always appear on top of the list) with each folder closed by a single '-' and containing possible subfolders and URLs, then the last URLs are the ones which are not in any folder...
Oh, and note that each entry is not preceded by 8 spaces but by 1 tab character. Changed it to space because the forum wouldn't render it otherwise...
Opera stores it's bookmarks in C:\Documents and Settings\<user>\Application Data\Opera\Opera7\profile\opera6.adr (guess they left the filename at 6 for legacy). The format is really simple:
Code:
Opera Hotlist version 2.0
Options: encoding = utf8, version=3
#FOLDER
ID=11
NAME=Trash
CREATED=1064388818
TRASH FOLDER=YES
-
#FOLDER
ID=42
NAME=Daily Websites
CREATED=1071483265
ACTIVE=YES
ON PERSONALBAR=YES
PERSONALBAR_POS=0
EXPANDED=YES
#URL
ID=45
NAME=TrueSoft Support
URL=http://www.tsoftcentral.com/cgi-bin/ikonboard/ikonboard.cgi
CREATED=1064391330
VISITED=1081407724
#URL
ID=46
NAME=PunksBusted.com Forum
URL=http://www.punksbusted.com/modules.php?name=Forums
CREATED=1071832750
VISITED=1080291335
DESCRIPTION=Building a safer gaming community, one server at a time
-
#URL
ID=51
NAME=Version Control with Subversion
URL=http://svnbook.red-bean.com/html-chunk/
CREATED=1078995470
VISITED=1079527498
So basically it's a header, then all folders (I've cut a few down obviously, but the folders always appear on top of the list) with each folder closed by a single '-' and containing possible subfolders and URLs, then the last URLs are the ones which are not in any folder...
Oh, and note that each entry is not preceded by 8 spaces but by 1 tab character. Changed it to space because the forum wouldn't render it otherwise...