mlextract is a PHP CGI program that extracts data from a SyncML database. It's designed to work with the open source syncml software written by Nicolas Bougues. MLExtract is copyright under the
GNU General Public License.
Download it here (v0.2) or view the changelog.
To install and use:
This has been tested under Apache with mod-php. The ICS format has been tested with Mozilla iCalendar and phpicalendar. Please let me know if you get it to work with something else.
- Install and get syncml running.
- Copy the file into the same location as your syncml is installed. Make sure it's executable by the web server user.
- Surf to the syncml location in a browser, substituting mlextract.php with sync.php, and login with your syncml password.
/list to get a list of accounts
/self.ics to get your vcalendar in ICS format. Configure Mozilla Sunbird/Calendar with this URL.
/fred.ics to access the vcalendar details for the "fred" account.
/self.csv to view your appointments in comma-separated format
/self.ics?subject=^meet to view appointments that start with the word "meet" (this is a case-insensitive match against a perl-compatible regular expression)
Comments, submissions welcome: firstname.lastname@example.org