ahmedre / waqt.org

website for calculating muslim prayertimes.

This URL has Read+Write access

name age message
file .htaccess Wed Jul 15 00:00:57 -0700 2009 fix rss under safari, more mvc related cleanups [ahmedre]
file README Sun Aug 02 20:31:44 -0700 2009 added google analytics code [ahmedre]
file calculate.php Tue Jul 14 23:47:56 -0700 2009 forgot to check in some files [ahmedre]
directory imgs/ Mon Aug 24 12:08:32 -0700 2009 css changes, courtesy of bassem [ahmedre]
file index.php Tue Sep 01 02:17:06 -0700 2009 checkin to do a little bit of fail safety testi... [ahmedre]
file moo.ajax.js Fri Jul 10 02:15:08 -0700 2009 added waqt.org code to github [ahmedre]
file prayertimes.inc Sun Oct 18 02:44:57 -0700 2009 update dst handling code [ahmedre]
file prototype.lite.js Fri Jul 10 02:15:08 -0700 2009 added waqt.org code to github [ahmedre]
file style.css Mon Aug 24 12:08:32 -0700 2009 css changes, courtesy of bassem [ahmedre]
directory views/ Mon Aug 24 12:08:32 -0700 2009 css changes, courtesy of bassem [ahmedre]
README
# In the name of Allah, Most Gracious, Most Merciful
                   __ 
 _    _____ ____ _/ /_
| |/|/ / _ `/ _ `/ __/
|__,__/\_,_/\_, /\__/ 
             /_/  a muslim prayertimes calculator (http://waqt.org) 

this is the sourcecode to waqt.org, a muslim prayertimes calculation website.  it relies on open source tools and apis 
to do it's calculations.

dependencies:
- itl php extension - http://svn.arabeyes.org/viewvc/projects/itl/ports/php/
- yahoo geocoding api - http://developer.yahoo.com/maps/rest/V1/geocode.html
- geonames api - http://www.geonames.org/

requirements:
- setup and install libitl, which can be found at arabeyes.org or on sourceforge 
https://sourceforge.net/projects/arabeyes/files/ITL.
- setup and install the php extension (phpize, configure, make, make install).
- make a settings.inc file.  the contents of this file should be:
  <?php
  $appid = '';  // put your yahoo app id here
  $gaCode = ''; // put your google analytics code here

- for apache, you need to use the .htaccess file for cleaner links
- for lighttpd, something like this under the host should work:
  url.rewrite = ( "^/rss(.*)" => "/index.php$1&rss=1", 
                  "^/about(.*)" => "/index.php?about=1" )

i am providing this code to help those muslims who want to put prayertimes on their websites.