Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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.

In reply to Re: Re:^2 (nrd) Convert Opera Bookmarks to Netscape Bookmarks by BigJoe
in thread Convert Opera Bookmarks to Netscape Bookmarks by newrisedesigns

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-19 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found