a quranic aim botAug 16, 2006 · 2 minute read · Comments
so i was a little bit bored today, and i wanted to write a simple quranic aim bot just for fun… so i took a look at Net::Oscar off cpan and at a sample bot, wrote a sample alpha api to allow searching over quranic realm, and the result:
(02:06:20) ahmed: 3:1
(02:06:21) chisaikaruma: match: ayah=“1” Transliteration: Alif-lam-meem Sahih International: Alif, Lam, Meem.
(02:06:23) ahmed: say if you love Allah
(02:06:24) chisaikaruma: match: sura=“3” ayah=“31” percent=“100” Transliteration: Say (O Muhammad SAW to mankind): “If you (really) love Allah then follow me (i.e. accept Islamic Monotheism, follow the Quran and the Sunnah), Allah will love you and forgive you of your sins. And Allah is Oft-Forgiving, Most Merciful.” English: Qul in kuntum tuhibboona AllahafattabiAAoonee yuhbibkumu Allahu wayaghfirlakum thunoobakum wallahu ghafoorun raheem
(02:06:42) ahmed: bismillah alrahman alraheem
(02:06:43) chisaikaruma: match: sura=“1” ayah=“1” percent=“84” Transliteration: Bismi Allahi arrahmani arraheem English: In the name of Allah, Most Gracious, Most Merciful. match: sura=“27” ayah=“30” percent=“84” Transliteration: Innahu min sulaymana wa-innahu bismiAllahi arrahmani arraheem English: “It is from Solomon, and is (as follows): ‘In the name of Allah, Most Gracious, Most Merciful:
i am not quite sure as to whether or not i can send utf8 strings over this or not… i couldn’t get arabic results to work from the tiny bit i tried. it still needs some work, but its just a for-fun prototype/proof of concept. i think the greatest benefit was being able to put together an alpha version of an quranic realm api for future use.
i’ve taken it down for now… and by the way, for those of you wondering about the name, “chisaikaruma” comes from “chisai karuma” (ちさい かるま) in japanese, which means “small car.”