These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

IGB Bookmarks

Author
Krysonar
Ordos Humanitas
#1 - 2011-11-27 10:53:07 UTC  |  Edited by: Krysonar
So finally, after years of having 100+ in-game browser bookmarks, I've decided to alphabetize them. Roll

When you click [Add/Remove] under the Bookmark button, all of your bookmarks are sorted alphabetically either by label or by url. The same can not be said for the bookmarks displayed under the Bookmark button. They are listed in the order that they were added. All of your bookmarks are stored in bookmark.dat.

The format is rather stupid, but can be parsed.

An entry is comprised of :

KeyVal
p#
(dp#
g4
S'[url]'
p#
sg6
V[label]
p#
sba(iutil

The 1st entry and last entry are special. Last entry will terminate with a "sba." instead of sba(iutil

1st entry is as followed:
(lp1
(iutil
KeyVal
p2
(dp3
S'url'
p4
S'[url]'
p5
sS'name'
p6
V[label]
p7
sba(iutil

Because I couldn't be arsed with Java or Python, I wrote this script in awk.
http://pastebin.com/h54cZJsd

If you have access of Linux, you will need gawk, which should be available. Transfer the bookmark.dat to the folder where you will run the script. Copy and paste the script as is and it will spit out a bookmark.new. Transfer the bookmark.new to where you got the bookmark.dat. Rename bookmark.dat to bookmark.bak and bookmark.new to bookmark.dat. Re-log EVE and open your browser. Viola, all the bookmarks are alphabetized.

Screenshots
Before
https://picasaweb.google.com/lh/photo/BOUfiX1pFEF9nyhE49obnNMTjNZETYmyPJy0liipFm0?feat=directlink
After
https://picasaweb.google.com/lh/photo/XG5y8Hiytq9YiTRJxOKpK9MTjNZETYmyPJy0liipFm0?feat=directlink