+It can also generate ASCII tables on your console, iCalendar files
+and normal HTML pages.
+
+.. contents::
+
+========
+Features
+========
+
+Data sources
+============
+- Any SQL database.
+
+ - Multiple date fields per record supported.
+- An LDAP server
+- `Birthday reminder <http://cweiske.de/birthday3.htm>`_ files (``.bdf``)
+
+Output formats
+==============
+- ASCII table
+- HTML
+- Email (text + HTML parts)
+- iCalendar
+
+
+=====
+Usage
+=====
+
+Command line
+============
+After configuration_, you can test and use *bdrem* via command line::
+
+ $ bdrem
+ -----------------------------------------------------------
+ Days Age Name Event Date Day
+ -----------------------------------------------------------
+ 0 32 Foo Bar Birthday 20.03.1982 Do
+ 1 33 Andrea Milestone Birthday 21.03.1981 Fr
+ 7 32 Hugh Success Birthday 27.03.1982 Do
+ 12 Welt Scherztag 01.04.???? Di
+
+Help
+----
+To find out about all supported command line options, use ``--help``::
+
+ Usage:
+ ./bin/bdrem.php [options]
+ ./bin/bdrem.php [options] <command> [options]
+
+ Options:
+ -n NUM, --next=NUM Show NUM days after date
+ -p NUM, --prev=NUM Show NUM days before date
+ -r renderer, --renderer=renderer Output mode
+ --list-renderer lists valid choices for option renderer
+ -e, --stoponempty Output nothing when list is empty
+ -d date, --date=date Date to show events for
+ -c FILE, --config=FILE Path to configuration file
+ -h, --help show this help message and exit
+ -v, --version show the program version and exit
+
+ Commands:
+ readme Show README.rst file
+ config Extract configuration file
+
+
+E-Mail
+======
+To send birthday reminder e-mails, use the ``mail`` renderer::
+
+ $ bdrem --renderer=mail
+
+If you only want an email if there is a birthday, use ``--stoponempty``::
+
+ $ bdrem --renderer=mail --stoponempty
+
+Make sure your config file contains ``$mail_from`` and ``$mail_to`` settings.
+
+
+iCalendar
+=========
+Exporting birthday events into an ``.ics`` file is easy::
+
+ $ bdrem --renderer=ical > birthdays.ics
+
+It is possible to access the calendar via HTTP, too::
+
+ http://example.org/bdrem/?renderer=ical
+
+You can subscribe to it in your calendar or email application.
+Integration has been tested with Thunderbird's Lightning__ and Claws Mail's
+vCalendar__ plugin.
+
+__ https://addons.mozilla.org/en-US/thunderbird/addon/lightning/
+__ http://www.claws-mail.org/plugin.php?plugin=vcalendar
+
+
+HTML page
+=========
+Simply point your web browser to the ``.phar`` file, or ``index.php``.
+You will get a colorful HTML table:
+
+.. image:: docs/html.png