Export all contacts from a CAS Genesis World CRM database into static HTML files.
The Genesis World LDAP bridge does not export data like mobile phone numbers and cities, so this tool directly accesses the SQL server database.
- A HTML file for each contact and company in the address book
- Company file links all associated contacts (staff/employees)
- Index file for companies, people and all entries
- Custom index files
- Snom IP phone XML files (contacts, companies and custom indexes)
Dependencies:
$ composer install
PHP extension
dblib
required (Debian packagephp5_sybase
)Copy
data/config.php.dist
todata/config.php
and adjust itPoint your web server document root to
gw2html/www/
Setup a cronjob every night to run
genhtml.php --quiet
Direcly show an entry on your phone from your desktop browser:
http://ip-of-phone/minibrowser.htm?url=http://example.org/entry.xml
- http://wiki.snom.com/XML/Minibrowser
- http://wiki.snom.com/XML/Minibrowser/SnomIPPhoneMenu
- http://wiki.snom.com/XML/Minibrowser/SnomIPPhoneDirectory
- Image export. I don't know where the images are stored in the database. If you know, please tell me.
gw2html is licensed under the AGPL v3.