Skip to content

CAS genesisWorld address book HTML export

License

Notifications You must be signed in to change notification settings

netresearch/gw2html

Repository files navigation

Genesis World address book HTML export

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.

Features

  • 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)

Setup

  • Dependencies:

    $ composer install
    
  • PHP extension dblib required (Debian package php5_sybase)

  • Copy data/config.php.dist to data/config.php and adjust it

  • Point your web server document root to gw2html/www/

  • Setup a cronjob every night to run genhtml.php --quiet

Snom IP phone usage

Direcly show an entry on your phone from your desktop browser:

http://ip-of-phone/minibrowser.htm?url=http://example.org/entry.xml

References

Snom XML

TODO

  • Image export. I don't know where the images are stored in the database. If you know, please tell me.

License

gw2html is licensed under the AGPL v3.

Author

Christian Weiske, Netresearch GmbH & Co. KG