Personal tools
You are here: Home Get Involved Teams Resource Library Team Publish your bookmarks to your Plone site
Navigation
Mailing list signup
Google Groups
Subscribe to Plone4Artists users
Email:
Visit this group.
Donate
The Plone4Artists project welcomes your donations to further fund development. You can contribute quickly and easily using PayPal.
PayPal is safe.
 
Document Actions

Publish your bookmarks to your Plone site

by Nate Aune last modified 2004-11-09 12:30 PM

After playing around with Sidnei's Calendaring product and Christian's ATBookmarks folder, I had an idea for facilitating seamless publication of your bookmarks to a Plone site.

There is a plugin for Firefox called Booksync, which has a cool auto-update feature so that when you start up Firefox, it will download an XBEL file from a remote (or local) FTP server and when you shutdown Firefox it will upload the XBEL file. Right now, it only supports FTP connections (no SCP/SFTP/WebDAV support yet).

For integrating with Plone, I was thinking that you could upload the XBEL file to Zope's FTP server. And then write some parsing methods similar to what Sidnei has done with .ics files for the Calendaring product.

Using Plone's content type registry, you could map all files that end with .xbel to the ATBookmarkFolder content type. And then build some sort of parser that would use the PUT_factory method to create a new ATBookmarkFolder sub-object for each folder item, and an ATLink object for each link item in the XBEL file.

It's really brilliant how Sidnei's Calendaring product does this for creating ATEvent objects from an uploaded .ics file, and I guess it would be even simpler with XBEL because you can use the pyXML libraries instead of having to write your own parser (as the SchoolTool developers had to do in order to parse the iCal .ics files).

I posted this idea to the plone.user mailing list, so you can go there to read the responses.
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: