Use your own prayer time data set

Started by Xhanch Studio, June 27, 2011, 08:24:31 PM

previous topic - next topic
Go Down

Xhanch Studio

June 27, 2011, 08:24:31 PM Last Edit: February 28, 2012, 06:37:58 PM by Xhanch Studio
A question from JazakAllah Khair via email:

QuoteSalaam Alaykum,

I was wondering if you could look into making a prayer time plugin for wordpress that would be capable of displaying prayer time data provided by the user, for example (the monthly prayer timetable which we calculate according to our location.

I'd like users to log on to the website to see a small sidebar widget displaying the prayer time for that day. From what I understand it needs a csv file or something.

I would appriciate it if you could look into this.

JazakAllah Khair
Wasalaam


You will need to provide the prayer time data set in a format like this
http://xhanch.com/api/islamic-get-prayer-time.php?lng=126&lat=90&yy=2010&mm=3&gmt=2&m=json
Then, change the url of $api_url in xhanch_my_prayer_time.class.php to your URL
Best Regards,
Susanto B.Sc
----------------------------------------------------------------------------
Web development services, WordPress plugin and theme development, PSD to XHTML conversion - http://xhanch.com
Read free manga online - http://authrone.com

salama

February 27, 2012, 06:06:58 PM #1 Last Edit: February 28, 2012, 06:37:42 PM by Xhanch Studio
Salaam Alaykum!

Thank you for your useful plugin! I'm a newbie and not good with coding, could please explain more about this part:
QuoteYou will need to provide the prayer time data set in a format like this
http://xhanch.com/api/islamic-get-prayer-time.php?lng=126&lat=90&yy=2010&mm=3&gmt=2&m=json


Thanks in advance

Xhanch Studio

February 28, 2012, 06:40:30 PM #2 Last Edit: February 29, 2012, 06:02:17 AM by Xhanch Studio
Quote from: salama on February 27, 2012, 06:06:58 PM
Salaam Alaykum!
Thank you for your useful plugin! I'm a newbie and not good with coding, could please explain more about this part.
Thanks in advance


I've updated the sample link since the data set is empty.
Here''s a new one:
http://xhanch.com/api/islamic-get-prayer-time.php?lng=126&lat=90&yy=2010&mm=3&gmt=2&m=json
So, you will need to create a PHP script that displays prayer time data set like that based on the query strings
Best Regards,
Susanto B.Sc
----------------------------------------------------------------------------
Web development services, WordPress plugin and theme development, PSD to XHTML conversion - http://xhanch.com
Read free manga online - http://authrone.com

salama


blogmuse

Salam

I would also like to customize the WP Prayer plugin for our website which runs on WP, I get sent a timetable every month and would like to export and customize that using your plugin.

I have tried the sample php link but it no longer works. Can you please provide a revised sample link for me to customize for our own timetable?

Many thanks,
Khalid

Go Up