Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re:^2 (nrd) Convert Opera Bookmarks to Netscape Bookmarks

by BigJoe (Curate)
on Dec 09, 2002 at 14:45 UTC ( #218527=note: print w/ replies, xml ) Need Help??


in reply to Re:^2 (nrd) Convert Opera Bookmarks to Netscape Bookmarks
in thread Convert Opera Bookmarks to Netscape Bookmarks

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 python.org//DTD XML Bookmark Exchange La +nguage 1.0//EN//XML" "http://www.python.org/topics/xml/dtds/xbel-1.0. +dtd"> <xbel version="1.0"> <info> <metadata owner="http://galeon.sourceforge.net/"> <default_folder>yes</default_folder> </metadata> </info> <title>Bookmarks</title> <folder folded="no"> <title>Smart Bookmarks Toolbar</title> <bookmark href="http://freshmeat.net/"> <title>freshmeat.net: Welcome to freshmeat.net</title> <info> <metadata owner="http://galeon.sourceforge.net/"> <nick>fm</nick> <time_modified>1034086323</time_modified> <time_added>1034086260</time_added> <smarturl>http://freshmeat.net/search/?q=%s&amp;section=proj +ects</smarturl> </metadata> </info> </bookmark> <bookmark href="http://www.google.com"> <title>Google</title> <info> <metadata owner="http://galeon.sourceforge.net/"> <nick>google</nick> <pixmap>/usr/share/galeon/google.png</pixmap> <time_visited>1033653044</time_visited> <smarturl>http://www.google.com/search?q=%s</smarturl> </metadata> </info> </bookmark> <bookmark href="http://groups.google.com"> <title>Usenet</title> <info> <metadata owner="http://galeon.sourceforge.net/"> <nick>news</nick> <pixmap>/usr/share/galeon/google_groups.png</pixmap> <smarturl>http://groups.google.com/groups?q=%s&amp;meta=site +%3Dgroups</smarturl> </metadata> </info> </bookmark> </folder> </xbel> </xml>


--BigJoe

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


Comment on Re: Re:^2 (nrd) Convert Opera Bookmarks to Netscape Bookmarks
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://218527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-10-01 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (32 votes), past polls