Foxmarks: Using Your Own Server
From Foxcloud Wiki
This article is a place where users can describe their experiences with or provide tips for using your own server.
| Contents | 
Microsoft IIS/WebDAV
Check out this article.
Microsoft IIS 5.0 ETag issues
When using your own Microsoft Windows 2000 IIS 5.0 server Foxmarks may seem to hang whilst displaying the "Status: Copying local file to remote..." message:
After several minutes the message will change to "Status: Connection reset":
At the beginning of a Synchronize session, when Foxmarks downloads the foxmarks.xml file with a HTTP GET command, IIS issues an ETag header that is effectively a Version Control Timestamp - the ETag value is guaranteed to remain the same so long as the file on the web server remains unmodified. Some IIS 5.0 installations have issues updating the foxmarks.xml file when using the corresponding ETag header is used later with a HTTP PUT command. Foxmarks does not recognize the "HTTP/412 Precondition failed" secondary status that gets returned by IIS after the "HTTP/100 Continue" initial status and so waits until IIS closes the connection - generating the Connection reset message.
You can disable Foxmarks' usage of the ETag header by creating a new Preference entry in Firefox's about:config section:
- Preference name: foxmarks.disableIfMatchOnPut
- Type: boolean
- Value: true
Caveat: Ignoring the ETag value means that changes made to the foxmarks.xml file on the IIS 5.0 server by other Firefox browsers concurrently running Foxmarks may be lost.
Apache 2.0/WebDAV
This article is a reasonable tutorial
on setting up WebDAV with Apache under Debian. However, for Foxmarks you don't want to allow WebDAV access
to the entire web tree, only to part of it, so omit the Alias directive. I also suggest putting
the AuthDigestFile inside the webdav subdirectory so it can't be read by any random browser.
When you try to make a second firefox sync its bookmarks you will
probably get the error Foxmarks: Error: Precondition Failed, due to a bug in Apache.
The workaround is to set foxmarks.disableIfMatchOnPut to true using about:config,
as detailed at the bottom of that page.
Sync with iDisk using dotMac account
- Firefox V2.0.0.1
- Foxmarks V0.84
- Backup your bookmarks first
Firefox Bookmarks > Organize Bookmarks from this window File > Export Saves your current bookmarks
1. Installed foxmarks on my Mac Mini at home
loaded add-on cancelled wizard opened foxmarks preferences Other - tab
Type: HTTP Sever: idisk.mac.com Path: /dotmacUserName/Documents/ (foxmarks will create a file: foxmarks.xml)
Setup - tab
Username: dotmacUserName Password: my dotmac password I left Enable Automatic Synchronization checked
I then went back to the Other tab and Uploaded my local bookmarks.
After a dotMac sync and refresh, the foxmarks.xml file was there
2. Installed foxmarks on my PB G4 laptop
first I sync'd my iDisk and made sure I could see the foxmarks.xml (Yes) Same install as I did for the Mac Mini Same configuration as well. I decide to do an upload from my laptop
3. Back at the Mac Mini
sync'd my iDisk verified that the foxmarks.xml was there an had the correc modification timestamp started Firefox foxmark asked about syncing - I said OK Seemed to work. I looked in Organize Bookmarks made sure the window displayed, for each link, last modification and visited timestamp and it appears that it worked!!
    
Good job Foxmark Team!
Using FTP server with Foxmarks
[LifeHacker] has an article up discussing setting up Foxmarks to use an FTP server. Lots of good info.




