version 1.27, 2001/07/10 04:54:01
|
version 1.36, 2003/03/17 03:09:15
|
Line 1
|
Line 1
|
|
<p> |
You can read what Bookie is <a href="purpose.html">here</a>, but here's the |
You can read what Bookie is <a href="purpose.html">here</a>, but here's the |
long and short of it: | long and short of it: |
| </p> |
|
|
<blockquote> |
<blockquote> |
Bookie is an application which keeps all your bookmarks on a | Bookie is an application which keeps all your bookmarks on a central |
central server so that you can access bookmarks from anywhere on the web. | server so that you can access bookmarks from anywhere on the web. |
</blockquote> |
</blockquote> |
|
|
<p>I have a server which is currently using <a | <p> |
href="http://www.xmlrpc.com">XML-RPC</a> and implements three commands: | The server is written in Java, and uses XML-RPC to communicate to clients. |
<code>getRoot</code>, <code>getNode</code> and <code>getChildren</code>. It | There's also a client written in Swing, which is pretty functional. The current |
returns <a href="http://www.mozilla.org/rdf/doc">RDF</a> data in the same | goal is to get the Mozilla client back into shape given the existence of |
format that Mozilla itself internally for bookmarks. This is all I need to | a working server. |
iterate through a tree. | </p> |
|
|
<blockquote> | <p> |
A snapshot of the server (and a java client) is <a href="/bookie-20010708.zip">here</a>. Both the client and the server are fully functional. (Note that you will need a database and JDBC driver before you start the server, but the SQL scripts are included). | To get the server running on your machine, download the server.zip file |
</blockquote> | <a href="http://tersesystems.com/bookie/server.zip">here</a>. You should |
| start the server with |
| |
| <code>java -Dlog4j.configuration=info.xml -jar server.jar</code> |
| |
| in a directory for Bookie usage. No database is required, as Bookie will |
| create its own database if it doesn't find one. It will start on port 9000 |
| by default, but you can specify the port on the command line. |
| <a href="http://java.sun.com/j2se/1.4/download.html">JDK 1.4</a> with the |
| <code>-server</code> option is recommended, as the I/O performance is MUCH |
| faster than 1.3.1. |
| </p> |
|
|
<p>The Mozilla client is still very rudimentary, but it does pick up XML-RPC | <p> |
queries and display the RDF in a little window. If you enjoy pain or would | To get the java client running, download the client.zip file <a |
like to help, then you can pick up the code from <a | href="http://tersesystems.com/bookie/client.zip">here</a>. |
href="/source/browse/bookie/clients/mozilla/extensions/bookie/resources">here</a>. | Unzip the client in a new directory, and execute it with one of the |
Thanks to Aaron Andersen for the cool <a | scripts or <code>java -jar client.jar</code>. |
href="http://www.xulplanet.com/tutorials/xulapp/">tutorial</a>. | </p> |
|
|
<p>Suggestions and comments are welcome. | <p> |
| When the client starts up, it will present you with a connections box: |
| </p> |
|
|
<p> |
<p> |
Will Sargent <<a href="mailto:will_sargent@yahoo.com">will_sargent@yahoo.com</a>> | <ul> |
<?php require(NOTES); ?> | <li>Create a new connection to http://localhost:9000.</li> |
| <li>Double click on the connection to connect to the server.</li> |
| <li>When the server asks you if you would like to be registered for the |
| server, say yes.</li> |
| <li>Click on the root folder, then click on the File menu and select the |
| import menu item. </li> |
| <li>Import your bookmarks by going to your netscape bookmarks.html file |
| and clicking on that. As an example, my Mozilla file is under "C:\Documents |
| and Settings\Will Sargent\Application Data\Mozilla\Profiles\default\mq632ho0.slt" |
| </li> |
| <li>Or, if you are using Internet Explorer, you can import your bookmarks by going |
| to "C:\Documents and Settings\Will Sargent\Favorites" and importing the favorites from there.</li> |
| <li>You can also export to Netscape if you want to get bookmarks out of the server.</li> |
| <li>That's it!</li> |
| </ul> |
| </p> |
|
|
|
<p> |
|
There is an example bookmark server at |
|
<a href="http://tersesystems.com">http://tersesystems.com</a>. To connect |
|
to the test server, please enter |
|
<code>http://tersesystems.com:9000/</code> |
|
as your URL. <strong>Please do not use a normal password</strong>: |
|
most of Bookie's traffic is not encrypted, and you may be vulnerable to |
|
packet sniffing. Also note that there is no expectation of privacy on this |
|
server. Although I intend to keep all bookmark information private, I reserve |
|
the right to look at any and all data on the server for debugging purposes. |
|
</p> |
|
|
|
<p> |
|
Suggestions and comments are welcome. If you have any problems with the |
|
above instructions, please e-mail me at the address below. |
|
</p> |
|
|
|
<p>Will Sargent <<a href="mailto:will_sargent@yahoo.com">will_sargent@yahoo.com</a>> |
|
</p> |
|
<br> |