Re: [osdcmy-public] Re: PHP API for JAKIM's e-solat

2010-01-04 Terurut Topik Harisfazillah Jamel
Yes. I do agree. They may not have the API. We may request sharing of
data to be used. Or we help them to build one.

On Tue, Jan 5, 2010 at 10:49 AM, E A Faisal  wrote:
> As far as I know, JAKIM is using a proper method to calculate. Based from a
> few articles by "ahlul falak", both within the country and abroad, the
> "ready-made" algorithm spread across the Internet is not "accurate" enough.
> There's another variable must be taken into consideration and included in
> the algorithm and these variable comes from annual astronomical almanac
> (these figures varies from month to month and are deduced by both
> observation and calculation as far as I know).
>
> IMHO, it's still best to use JAKIM's takwim (or from jabatan agama) since
> they have their own falak unit.
>

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
To post to this group, send email to osdcmy-list@googlegroups.com
To unsubscribe from this group, send email to
osdcmy-list+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en


Re: [osdcmy-public] Re: PHP API for JAKIM's e-solat

2010-01-04 Terurut Topik E A Faisal
As far as I know, JAKIM is using a proper method to calculate. Based from a
few articles by "ahlul falak", both within the country and abroad, the
"ready-made" algorithm spread across the Internet is not "accurate" enough.
There's another variable must be taken into consideration and included in
the algorithm and these variable comes from annual astronomical almanac
(these figures varies from month to month and are deduced by both
observation and calculation as far as I know).

IMHO, it's still best to use JAKIM's takwim (or from jabatan agama) since
they have their own falak unit.

On Mon, Jan 4, 2010 at 11:15 PM, Hasanuddin Abu Bakar
wrote:

> Waalaikumussalam
>
> Saya dah cuba tapi ada beberapa perbezaan
> umumnya ada 5 cara:
>
> 1)Muslim World League
> 2)Egyptian General Authority of Survey (Malaysia guna yang ni)
> 3)University Of Islamic Sciences, Karachi
> 4)Umm Al-Qura
> 5)ISNA
>
> dan untuk pengiraan waktu asar
> 1)standard method
> 2) mazhab hanafi method
>
> dan saya tak pasti JAKIM pakai yang mana. Sebab tu saya minta orang yang
> tahu/berhubung dengan JAKIM untuk mengesahkan algorithm yang tepat, dan jika
> pakai database, maka terpaksalah JAKIM sediakan API atau saya tarik pakai
> curl. API ni boleh dijadikan sebagai module drupal dan joomla.
>
>
>
> Hasanuddin Abu Bakar
> ---
> Ubuntu embedded developer/tester
> https://wiki.ubuntu.com/bizkut
>
> Get FireGPG for your Firefox! http://getfiregpg.org
>
> PGP Public Key
> http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xC5A1B11965D43C5C
>
>
>
> On Mon, Jan 4, 2010 at 11:02 PM, linuxmalaysia 
> wrote:
> >
> > Assalamualaikum,
> >
> > The data maybe load to database like MySQL, prepare earlier by manual
> > calculation. This isonly my assumption.
> >
> > You may love this article.
> >
> > http://www.directionsmag.com/article.php?article_id=2956
> >
> > Using Google MAPS Api or any map api to calculate prayer time. You may
> > not using it, but formula for calculation is discuss in the article.
> >
> > 4. Prayer times equations are calculated based on Astronomical
> > Algorithms by Jean Meeus.
> > For example, to calculate the Fajr prayer time, we use the following
> > equation:
> > TF = ACOS ((SIN(-18)-SIN(ASIN(SIN(23.439-0.004*D)*SIN(L +1.915*SIN
> > (M)+0.02*SIN(2*M)))*SIN(Lat))/(COS(ASIN(SIN(23.439-0.004*D)
> > *SIN(L+1.915*SIN(M)+0.02*SIN(2*M)))*COS(Lat)))
> > Where,
> > D = ((367*Y)-(INT((7/4)*(Y+INT((M+9)/12+INT(275*(M/9))+d-730531.5)
> > M = 357.528+0.9856003*D
> >
> >
> > On 3 Jan, 23:08, Hasanuddin Abu Bakar  wrote:
> > > Anyone got contact with e-solat developers athttp://
> www.e-solat.gov.my/MainWS.php?
> > > I like to ask them for PHP API, if any. I can get it done with php-curl
> but
> > > it's better to have an official API for it. I tried to email them but
> don't
> > > get any reply, yet.
> > >
> > > Hasanuddin Abu Bakar
> > > ---
> > > Ubuntu embedded developer/testerhttps://wiki.ubuntu.com/bizkut
> > >
> > > Get FireGPG for your Firefox!http://getfiregpg.org
> > >
> > > PGP Public Keyhttp://
> keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xC5A1B119...
> >
> > --
> > Join Open Source Developers Club Malaysia http://www.osdc.my/
> >
> > Facebook Fan page
> >
> > http://www.facebook.com/group.php?gid=98685301577
> >
> > http://www.facebook.com/OSDC.my
> >
> > You received this message because you are subscribed to the Google
> >
> > Groups "OSDC.my Mailing List" group.
> > To post to this group, send email to osdcmy-list@googlegroups.com
> > To unsubscribe from this group, send email to
> > osdcmy-list+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/osdcmy-list?hl=en
>
> --
> Join Open Source Developers Club Malaysia http://www.osdc.my/
>
> Facebook Fan page
>
> http://www.facebook.com/group.php?gid=98685301577
>
> http://www.facebook.com/OSDC.my
>
> You received this message because you are subscribed to the Google
>
> Groups "OSDC.my Mailing List" group.
> To post to this group, send email to osdcmy-list@googlegroups.com
> To unsubscribe from this group, send email to
> osdcmy-list+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/osdcmy-list?hl=en
>

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
To post to this group, send email to osdcmy-list@googlegroups.com
To unsubscribe from this group, send email to
osdcmy-list+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en

Re: [osdcmy-public] Re: PHP API for JAKIM's e-solat

2010-01-04 Terurut Topik Hasanuddin Abu Bakar
Waalaikumussalam

Saya dah cuba tapi ada beberapa perbezaan
umumnya ada 5 cara:

1)Muslim World League
2)Egyptian General Authority of Survey (Malaysia guna yang ni)
3)University Of Islamic Sciences, Karachi
4)Umm Al-Qura
5)ISNA

dan untuk pengiraan waktu asar
1)standard method
2) mazhab hanafi method

dan saya tak pasti JAKIM pakai yang mana. Sebab tu saya minta orang yang
tahu/berhubung dengan JAKIM untuk mengesahkan algorithm yang tepat, dan jika
pakai database, maka terpaksalah JAKIM sediakan API atau saya tarik pakai
curl. API ni boleh dijadikan sebagai module drupal dan joomla.



Hasanuddin Abu Bakar
---
Ubuntu embedded developer/tester
https://wiki.ubuntu.com/bizkut

Get FireGPG for your Firefox! http://getfiregpg.org

PGP Public Key
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xC5A1B11965D43C5C


On Mon, Jan 4, 2010 at 11:02 PM, linuxmalaysia 
wrote:
>
> Assalamualaikum,
>
> The data maybe load to database like MySQL, prepare earlier by manual
> calculation. This isonly my assumption.
>
> You may love this article.
>
> http://www.directionsmag.com/article.php?article_id=2956
>
> Using Google MAPS Api or any map api to calculate prayer time. You may
> not using it, but formula for calculation is discuss in the article.
>
> 4. Prayer times equations are calculated based on Astronomical
> Algorithms by Jean Meeus.
> For example, to calculate the Fajr prayer time, we use the following
> equation:
> TF = ACOS ((SIN(-18)-SIN(ASIN(SIN(23.439-0.004*D)*SIN(L +1.915*SIN
> (M)+0.02*SIN(2*M)))*SIN(Lat))/(COS(ASIN(SIN(23.439-0.004*D)
> *SIN(L+1.915*SIN(M)+0.02*SIN(2*M)))*COS(Lat)))
> Where,
> D = ((367*Y)-(INT((7/4)*(Y+INT((M+9)/12+INT(275*(M/9))+d-730531.5)
> M = 357.528+0.9856003*D
>
>
> On 3 Jan, 23:08, Hasanuddin Abu Bakar  wrote:
> > Anyone got contact with e-solat developers athttp://
www.e-solat.gov.my/MainWS.php?
> > I like to ask them for PHP API, if any. I can get it done with php-curl
but
> > it's better to have an official API for it. I tried to email them but
don't
> > get any reply, yet.
> >
> > Hasanuddin Abu Bakar
> > ---
> > Ubuntu embedded developer/testerhttps://wiki.ubuntu.com/bizkut
> >
> > Get FireGPG for your Firefox!http://getfiregpg.org
> >
> > PGP Public Keyhttp://
keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xC5A1B119...
>
> --
> Join Open Source Developers Club Malaysia http://www.osdc.my/
>
> Facebook Fan page
>
> http://www.facebook.com/group.php?gid=98685301577
>
> http://www.facebook.com/OSDC.my
>
> You received this message because you are subscribed to the Google
>
> Groups "OSDC.my Mailing List" group.
> To post to this group, send email to osdcmy-list@googlegroups.com
> To unsubscribe from this group, send email to
> osdcmy-list+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/osdcmy-list?hl=en

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
To post to this group, send email to osdcmy-list@googlegroups.com
To unsubscribe from this group, send email to
osdcmy-list+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en

[osdcmy-public] Re: PHP API for JAKIM's e-solat

2010-01-04 Terurut Topik linuxmalaysia
Assalamualaikum,

The data maybe load to database like MySQL, prepare earlier by manual
calculation. This isonly my assumption.

You may love this article.

http://www.directionsmag.com/article.php?article_id=2956

Using Google MAPS Api or any map api to calculate prayer time. You may
not using it, but formula for calculation is discuss in the article.

4. Prayer times equations are calculated based on Astronomical
Algorithms by Jean Meeus.
For example, to calculate the Fajr prayer time, we use the following
equation:
TF = ACOS ((SIN(-18)-SIN(ASIN(SIN(23.439-0.004*D)*SIN(L +1.915*SIN
(M)+0.02*SIN(2*M)))*SIN(Lat))/(COS(ASIN(SIN(23.439-0.004*D)
*SIN(L+1.915*SIN(M)+0.02*SIN(2*M)))*COS(Lat)))
Where,
D = ((367*Y)-(INT((7/4)*(Y+INT((M+9)/12+INT(275*(M/9))+d-730531.5)
M = 357.528+0.9856003*D


On 3 Jan, 23:08, Hasanuddin Abu Bakar  wrote:
> Anyone got contact with e-solat developers 
> athttp://www.e-solat.gov.my/MainWS.php?
> I like to ask them for PHP API, if any. I can get it done with php-curl but
> it's better to have an official API for it. I tried to email them but don't
> get any reply, yet.
>
> Hasanuddin Abu Bakar
> ---
> Ubuntu embedded developer/testerhttps://wiki.ubuntu.com/bizkut
>
> Get FireGPG for your Firefox!http://getfiregpg.org
>
> PGP Public 
> Keyhttp://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xC5A1B119...

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
To post to this group, send email to osdcmy-list@googlegroups.com
To unsubscribe from this group, send email to
osdcmy-list+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en