Friday, December 26, 2014

Hijri Date Widget and JSON API

Here is a mini project I've been using for myself and thought it can be useful for someone out there. A simple SVG based date widget + a JSON API for Hijri date.

http://thaghra.com/hijri_date/

It has two interfaces: widget.php and api.php. With some features to make them a bit customizable.
  • Responsive widget to fit in different sizes.
  • Customizable color for widget.
  • A JSON API for services.
  • Ability to choose computer calculations or official date by Egyptian Dar-Aliftaa.
  • An offset for fine tuning errors.
  • Choise of month name or number.
To read more about the the Hijri widget and API, please refer to the docs: ---- (no longer hosted, please refer to the GitHub repository) ----