Memperkenalkan the so-called #TopSecretProject lah. It’s actually a tweet alert which’ll send out tweets bila dah masuk waktu solat fardhu on daily basis. Data waktu solat fetched from JAKIM’s website http://www.e-solat.gov.my/.
It’s actually a simple PHP script connected to Twitter via OAuth, it’ll do a simple checking of current time against the data stored in MySQL database. In order to identify whether the current time is Subuh, Zuhur, etc, I did a checking based on range of time for each sets of solat fardhu using function CheckTime() written by Patrick H. (firstname.lastname@example.org). Function can be found at his personal blog.
The idea is to setup twitter alerts for major towns in Malaysia. For now, I’ve started creating 5 twitter accounts to cover Kuala Lumpur, Melaka, Ipoh, Pulau Pinang, & Kuantan. From time to time, I’ll be adding the other areas as well.
Below is the list of covered areas (striked-through) & to be covered.
Feedbacks are welcomed.
- WP Kuala Lumpur
- Pulau Pinang
- Kuala Terengganu
- Kota Kinabalu
- Johor Bahru
- Kota Bharu
- Alor Setar