[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PrayerTime Library
- To: Development Discussions <developer at arabeyes dot org>
- Subject: Re: PrayerTime Library
- From: "Ahmad Twaijry" <msx at hush dot com>
- Date: Thu, 4 Dec 2003 19:48:20 -0800
- Cc: Thamer Mahmoud <neokuwait at hotmail dot com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I agree with you Nadim
We need a command-line program (prayert)
because right now 'prayert' is just a small example in how to use the
library
I hope if Thamer have the time to do it
On Thu, 04 Dec 2003 15:13:51 -0800 Nadim Shaikli <shaikli at yahoo dot com>
wrote:
>Salam all - I wanted to commend and congratulate Thamer and Ahmad.T
>for a job well done. Your PrayerTime code works very well - I tried
>it for a couple of places and was VERY impressed.
>
> http://cvs.arabeyes.org/viewcvs/projects/itl/libs/PrayerTime/
>
>I have a couple of notes with regard to its command-line user interface
>(this would be mostly directed to you Thamer),
>
> 1. Currently to enter one's location one has to modify the prayert.c
> file and recompile.
>
> It would be best if 'prayert',
>
> A. Allowed for command-line options
> -city "strings here"
> -lat "number"
> -lon "number"
> -UTCdiff "number" (if not presented use `date`)
> -date "number" (if not presented use `date`)
> ...others...
>
> You could also offer a preselected list of cities and
>then
> simply allow the user to enter just -city.
>
> B. Allowed a user to define a file for inclusion (or even
>a
> ~/.prayerc file) which would contain all those settings.
>
> C. Allow the user to pick between military time (ie. 14:00
>vs.
> 2pm) among various minor options
>
> D. Offer a man page which explains all the above and details
> the format of the .prayerc file
>
> 2. The code as it stands now is not really a library. The API
>and
> the variable passing and access needs a bit more tightening
>(such
> as access to n1/n2/n3, etc). In other words, be more explicit
> with your what is passed-in and what is passed-back. I'm no
> expert on library creation, but thought I'd point it out in
>case
> there was agreement to seek some help on how to best package
> the library.
>
>Hope this makes sense and GREAT work BTW, keep it up !!!
>
>Salam.
>
> - Nadim
>
>
>__________________________________
>Do you Yahoo!?
>Protect your identity with Yahoo! Mail AddressGuard
>http://antispam.yahoo.com/whatsnewfree
>_______________________________________________
>Developer mailing list
>Developer at arabeyes dot org
>http://lists.arabeyes.org/mailman/listinfo/developer
>
>
- --------------------
http://eShop.4-SMS.Com
http://Mozilla.4-SMS.Com
- -*- If Linux doesn't have the solution, you have the wrong problem -*-
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.3
wkYEARECAAYFAj/P/dgACgkQIIFs5Sdd9ZhgcgCfRmq/N7wBPS4hLVz6TfUTCa83S3AA
n2rLHJOhcgGiI7ZIJNeuT2794hEW
=WyjA
-----END PGP SIGNATURE-----