Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Convert Opera Bookmarks to Netscape Bookmarks

by BigJoe (Curate)
on Dec 05, 2002 at 18:50 UTC ( #217854=note: print w/replies, xml ) Need Help??

in reply to Convert Opera Bookmarks to Netscape Bookmarks

This is pretty cool. I would like to make a suggestion though. You should take this and make it into a bookmark sync tool. Have it so when you run it, it will sync all the "selected browsers" bookmarks. I bounce between Opera, Mozilla, and Galeon because I usually run the latest and greatest till it dies then use a different one. This would be a pretty cool OpenSource project kind of like the projects handling clipboards for Linux. This could handle all bookmarks for a linux user.


Learn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.
  • Comment on Re: Convert Opera Bookmarks to Netscape Bookmarks

Replies are listed 'Best First'.
Re:^2 (nrd) Convert Opera Bookmarks to Netscape Bookmarks
by newrisedesigns (Curate) on Dec 06, 2002 at 16:27 UTC

    I don't use Linux, and thus Galeon, but if you can point me towards a spec on how it stores bookmarks, I wouldn't mind giving it a shot.

    John J Reiser

      The Galeon Bookmarks file is called "bookmarks.xbel". This file is located at $HOME/.galeon/ There is example code from the file. Galeon has support for smart bookmarks where you can assign it a nick (as I did for freshmeat fm). Then you put a %s where you want what every you type after the nick to be placed. example:
      fm anjuta
      This will go directly to the search page on Freshmeat and search for it. Pheonix has the same functionality. Opera has had that for a while. I am going to play with your code and see if I can't make a user daemon to keep all the bookmarks syncronized. I was thinking of creating a daemon and tie-ing the files to functions in the daemon so when Opera reads its bookmarks the daemon will respond with what it is looking for. When it writes to the file another function would accept it and put it into it's DB. I would really like to have it use live data from a DB instead of having a wait time to sync the bookmarks.
      <?xml version="1.0"?> <!DOCTYPE xbel PUBLIC "+//IDN XML Bookmark Exchange La +nguage 1.0//EN//XML" " +dtd"> <xbel version="1.0"> <info> <metadata owner=""> <default_folder>yes</default_folder> </metadata> </info> <title>Bookmarks</title> <folder folded="no"> <title>Smart Bookmarks Toolbar</title> <bookmark href=""> <title> Welcome to</title> <info> <metadata owner=""> <nick>fm</nick> <time_modified>1034086323</time_modified> <time_added>1034086260</time_added> <smarturl>;section=proj +ects</smarturl> </metadata> </info> </bookmark> <bookmark href=""> <title>Google</title> <info> <metadata owner=""> <nick>google</nick> <pixmap>/usr/share/galeon/google.png</pixmap> <time_visited>1033653044</time_visited> <smarturl></smarturl> </metadata> </info> </bookmark> <bookmark href=""> <title>Usenet</title> <info> <metadata owner=""> <nick>news</nick> <pixmap>/usr/share/galeon/google_groups.png</pixmap> <smarturl>;meta=site +%3Dgroups</smarturl> </metadata> </info> </bookmark> </folder> </xbel> </xml>


      Learn patience, you must.
      Young PerlMonk, craves Not these things.
      Use the source Luke.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://217854]
and the grasshoppers chirp...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-03-21 06:18 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (264 votes). Check out past polls.