<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>whats the plot &#187; islam</title>
	<atom:link href="http://whatstheplot.com/blog/category/islam/feed/" rel="self" type="application/rss+xml" />
	<link>http://whatstheplot.com/blog</link>
	<description>a plotting plotter plotted a plot at whatstheplot.com</description>
	<lastBuildDate>Mon, 19 Jul 2010 11:34:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>salam, android!</title>
		<link>http://whatstheplot.com/blog/2010/01/22/salam-android/</link>
		<comments>http://whatstheplot.com/blog/2010/01/22/salam-android/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 11:01:23 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[islam]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[quran]]></category>
		<category><![CDATA[screenshots]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=439</guid>
		<description><![CDATA[after the nexus one came out, i became a little more interested in android. while i had written a simple &#8216;salam world&#8217; app some time ago, i figure it would be nice to delve a little deeper and try to write something remotely useful. so without further adieu, introducing a (very simple) quran for android: [...]]]></description>
			<content:encoded><![CDATA[<p>after the nexus one came out, i became a little more interested in android.  while i had written a simple &#8216;salam world&#8217; app some time ago, i figure it would be nice to delve a little deeper and try to write something remotely useful.</p>
<p>so without further adieu, introducing a (very simple) quran for android:</p>
<p><img alt="" src="http://whatstheplot.com/images/android_quranview-01.21.2010.png" title="android quran screenshot" class="aligncenter" width="247" height="407" /></p>
<p>source code on <a href="http://github.com/ahmedre/quran_android">github</a></p>
<p>for the most part, android is fairly fun and easy to develop for.  however, one of the most frustrating parts is the extremely limited memory for apps.  since apps can&#8217;t be on the sd card (due to some security issues), you are limited to the very small amount of memory on the device.  consequently, in order to display the images for the quran in this app, the app must download the data to the user&#8217;s sd card.</p>
<p><b>note</b> &#8211; try it at your own risk, i only tested it on the emulator&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2010/01/22/salam-android/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>a little rhyme about makkah</title>
		<link>http://whatstheplot.com/blog/2009/12/15/a-little-rhyme-about-makkah/</link>
		<comments>http://whatstheplot.com/blog/2009/12/15/a-little-rhyme-about-makkah/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 17:19:35 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[islam]]></category>
		<category><![CDATA[rhymes]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=416</guid>
		<description><![CDATA[mok and i were chatting about makkah on im and we brought back a very old habit of ours from the days of highschool and college &#8211; rhyming about any and everything. so without further adieu, here&#8217;s a snippet from our im conversation: omer: makkah makkah, i love u like i love my motha you [...]]]></description>
			<content:encoded><![CDATA[<p>mok and i were chatting about makkah on im and we brought back a very old habit of ours from the days of highschool and college &#8211; rhyming about any and everything.  so without further adieu, here&#8217;s a snippet from our im conversation:</p>
<blockquote><p>
<strong>omer</strong>: makkah makkah, i love u like i love my motha<br />
you are a city like which there is no otha<br />
above u the angels do hover<br />
<strong>me</strong>: in you i am a little more pious<br />
i drop my prejudice and all my bias<br />
the times of salah set my pace, before the adhan to the haram i&#8217;d race<br />
<strong>omer</strong>: as i see the nur coming off them hujjaj&#8217;s face<br />
<strong>me</strong>: first floor, second floor, or even third<br />
watching the tawaf made by humans and birds<br />
<strong>omer and i</strong>: seein people doing tawaf around the clock<br />
all types of people &#8211; doctors, engineers, nerds and jocks<br />
<strong>omer</strong>: and as the clock, goes tick and the tock<br />
u listening to the rhyme by mok and ak
</p></blockquote>
<p>by the way, you can see a few of the pictures i took at the haram <a href="http://www.flickr.com/photos/ahmedre/sets/72157622977594204/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/12/15/a-little-rhyme-about-makkah/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>quran jetpack script</title>
		<link>http://whatstheplot.com/blog/2009/11/16/quran-jetpack-script/</link>
		<comments>http://whatstheplot.com/blog/2009/11/16/quran-jetpack-script/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 08:21:13 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[islam]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[jetpack]]></category>
		<category><![CDATA[quran]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=401</guid>
		<description><![CDATA[so i had a little bit of time before i depart on my journey for hajj, so i wanted to play around with the firefox jetpack extension a little bit. so without further adieu, this post is here to introduce a simple quran plugin for jetpack what is it this is a quran script for [...]]]></description>
			<content:encoded><![CDATA[<p>so i had a little bit of time before i depart on my journey for hajj, so i wanted to play around with the firefox jetpack extension a little bit.  so without further adieu, this post is here to introduce a simple quran plugin for jetpack <img src='http://whatstheplot.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>what is it</b><br />
this is a quran script for <a href="https://jetpack.mozillalabs.com">jetpack</a>, a plugin for firefox which allows customizing the browser just through javascript.</p>
<p>when you are typing in a textarea (in wordpress, gmail, google talk, etc), if you highlight any text in the format of sura:ayah (ex 1:1) and right click on it, you will be given a menu that allows you to replace that with the actual verse (in arabic, transliteration, or translation).</p>
<p>this is very nifty for taking notes, chatting, sending emails, etc.</p>
<p><b>how does it look like?</b><br />
here is a screenshot:<br />
<img src="http://whatstheplot.com/misc/quran.jetpack/screenshot.jpg" alt="quran jetpack script screenshot" /></p>
<p><b>known issues</b><br />
- sometimes, the server appears to take long to reply so it doesn&#8217;t return and you are forced to try again.<br />
- the plugin doesn&#8217;t work on google docs and other sites that overwrite right click functionality.<br />
- the plugin also doesn&#8217;t seem to be working on gmail when rich formatting is on.</p>
<p><b>how to install it</b><br />
- install <a href="https://jetpack.mozillalabs.com">jetpack</a> for firefox.<br />
- go to <a href="/misc/quran.jetpack/">this page</a>.  on the top right corner of the webpage, you will find a button that says, &#8220;Install&#8230;&#8221;.  click it.<br />
- scroll to the very bottom, click the &#8220;auto-update this feature&#8221; checkbox, and then click on &#8220;i know what i am doing, install it!&#8221;</p>
<p><b>source code</b><br />
the source is also available as on github in <a href="http://gist.github.com/235821">this gist</a>.</p>
<p><b>changelog</b><br />
<i>november 16th, 2009</i><br />
- fixed a bug in which the appended (sura:ayah) to the text was put at the end of the textarea rather than right after the ayah.<br />
- added a little favicon for the menu.</p>
<p><img src="http://whatstheplot.com/misc/quran.jetpack/screenshot_1.jpg" alt="quran jetpack script screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/11/16/quran-jetpack-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>thoughts before hajj</title>
		<link>http://whatstheplot.com/blog/2009/11/14/thoughts-before-hajj/</link>
		<comments>http://whatstheplot.com/blog/2009/11/14/thoughts-before-hajj/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 22:16:30 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[islam]]></category>
		<category><![CDATA[hajj]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/2009/11/14/thoughts-before-hajj/</guid>
		<description><![CDATA[so i was sitting on a plane in san francisco awaiting the departure of my flight to atlanta, from where i will insha&#8217;Allah be leaving for hajj. the captain mentioned something about a leak that they have to fix, so i figured, &#8220;why not write a blog post on my phone in the meanwhile?&#8221; (the [...]]]></description>
			<content:encoded><![CDATA[<p>so i was sitting on a plane in san francisco awaiting the departure of my flight to atlanta, from where i will insha&#8217;Allah be leaving for hajj.  the captain mentioned something about a leak that they have to fix, so i figured, &#8220;why not write a blog post on my phone in the meanwhile?&#8221; (the plane took off and i realized i had more stuff to add and edit, so the in-airplane mobile blogging commenced on land and in the air).</p>
<p>anyhow, i wanted to write the pieces of advice and gems given to me by my shuyookh, elders, family and friends who have already went to hajj.</p>
<p><b>hajj &#8211; themes and similitudes</b><br />
when i went to ummrah before, i have always been told how i7ram makes all people equal &#8211; you could be the richest of people or the poorest of people, you could be from america, china, or burkina faso, but ultimately, it didn&#8217;t matter &#8211; you were wearing the same simple non-embellished two pieces of cloth while doing your ummrah (or hajj).</p>
<p>however, the parallel i recently learned is that between hajj and the day of judgment.  there is a plethora of people (millions), all moving towards the same place, each to themselves and not worrying about those around them. the rich and the poor, the arab and the non-arab, the powerful and the weak, the healthy and the sick all gather from all parts of the land for this journey.  on this day, all are dressed in i7ram &#8211; similar to the burial shrouding one is wrapped in &#8211; and as though all are just being resurrected and walking towards &#8220;ard al ma7shar&#8221; to await reckoning &#8211; may Allah make that day easy upon us!</p>
<p>it is thus not surprising that surat al hajj would start with these verses (<a href="http://quran.com/22/1-2">22:1-2</a>).</p>
<p><b>hajj tips</b><br />
0.  first and foremost, the importance of time during hajj.  so many people advised me, &#8220;don&#8217;t waste your time, maximize your time of worship.&#8221;  others told me, &#8220;american crowds go to hajj in luxury, with constant buffets of the best of foods and so on &#8211; so eat minimally, especially from once you go to makkah until after the day of 3arafah!&#8221; (to stay light and avoid down time).  another common advice was &#8220;watch who your company is on the trip and beware of bad company!&#8221;  another tip was &#8220;lose the watch, you don&#8217;t need it!&#8221; </p>
<p>1.  almost everyone advised &#8220;do not get angry!&#8221; i was told &#8220;forget logical reasoning, don&#8217;t resist or try to convince anyone of anything, you don&#8217;t want to lose your hajj.&#8221;  i was also told &#8220;everyone will be on edge there, you will be pushed, shoved, and tested a lot there, so stay on your toes and whatever you do, don&#8217;t lose your cool!&#8221;  may Allah make it easy!  i think ayah <a href="http://quran.com/2/197">2:197</a> is very relevant.</p>
<p>2.  the most important request people always make is for du3a2 &#8211; du3a2, du3a2, and more du3a2 &#8211; du3a2 for ones family, friends, shuyookh, those who have rights upon us, those who passed away before us, the ummah, and for ourselves &#8211; du3a2 for this world and for the next.  may Allah make it easy and accept!  </p>
<p>3.  writing the waseya (islamic will) before leaving &#8211; this action in and of itself reminds a person that death can come at anytime, and thus reminds us of the importance of being prepared.  may Allah grant us حسن الخاتمه &#8211; ameen.</p>
<p>4.  on a related note, calling family, friends, and people with whom you may have had trouble in the past to ask them for forgiveness highlights the importance of brotherhood, good character, and making sure one is on good terms with all people.</p>
<p><b>hajj &#8211; aspirations/what to aim for</b><br />
0.  first and foremost, that Allah accepts it and makes it a hajj mabroor &#8211; this is absolutely critical, because without this, the trip would arguably be wasted.</p>
<p>speaking of mabroor, brother Ihab gave an awesome khutbah on hajj, in which he cited a hadith in which the Prophet (saw) said that there is no other reward for a hajj mabroor except for jannah.  the sa7aba asked the Prophet (saw), &#8220;wa ma biruhu?&#8221; &#8211; and what causes a hajj to be mabroor?  and he (saw) answered with &#8220;it3am alta3am&#8221; (feeding food) and &#8220;ifsha2 al salam&#8221; (spreading salam).</p>
<p>[note - i had forgotten the second item and found it in <a href="http://asqfish.wordpress.com/2009/10/21/some-practical-tips-for-hajj-mabroor/">this blog post</a>].</p>
<p>1.  that Allah returns one home completely free of sin, and helps one to improve upon themselves and to become a better person (and ultimately, to grant them حسن الخاتمه and jannah).</p>
<p>2.  that Allah accepts one&#8217;s du3a2s while there.</p>
<p>3.  that Allah allows hajj to be a positive turning point in one&#8217;s life.</p>
<p><b>ayat/verses</b></p>
<ul>
<li>surat al-Baqarah <a href="http://quran.com/2/196-202">verses 196-202</a></li>
<li>surat al-Hajj <a href="http://quran.com/22/26-30">verses 26-30</a></li>
</ul>
<p><b>credits</b><br />
may Allah reward sheikh Mohamed, brother Ihab, and all of those who gave me hajj training, advice and shared their experiences with me in any way, shape, or form (the names are too many to mention here and i would undoubtedly forget someone, so i will suffice by saying, &#8220;may Allah reward you all&#8221;).</p>
<p><b>and finally&#8230;</b><br />
<i>some last (and mostly unrelated notes):</i></p>
<ul>
<li>this is most probably the longest piece i have ever written on my phone (and on a plane).  for the record, writing long articles on an iphone is a painful experience!</li>
<li>that having been said, while i plan on taking my iphone with me, i am hoping not to use it &#8211; otherwise, knowing me, i&#8217;ll get distracted and start live blogging my hajj &#8211; (&#8220;i am now at mina!  check out this picture/video!&#8221; &#8211; and, of course, &#8220;i am now on 3arafah!  send your du3a2 requests via twitter before maghrib and i will pray for you!&#8221;)</li>
<li>and yes, in case you are wondering, i felt strongly obliged to start my lists at 0.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/11/14/thoughts-before-hajj/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>quran plugin updated for ubiquity 0.5</title>
		<link>http://whatstheplot.com/blog/2009/08/10/quran-plugin-updated-for-ubiquity-0-5/</link>
		<comments>http://whatstheplot.com/blog/2009/08/10/quran-plugin-updated-for-ubiquity-0-5/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 08:55:08 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[islam]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[quran]]></category>
		<category><![CDATA[ubiquity]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=350</guid>
		<description><![CDATA[i&#8217;ve done a quick port of the quran ubiquity plugin to work under the new version of ubiquity (0.5). as you may know, ubiquity 0.5 and beyond use a new parser (parser 2) that isn&#8217;t compatible with the old parser (parser 1 for 0.1.x versions of ubiquity). you can get it here. make sure to [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve done a quick port of the quran ubiquity plugin to work under the new version of ubiquity (0.5).  as you may know, ubiquity 0.5 and beyond use a new parser (parser 2) that isn&#8217;t compatible with the old parser (parser 1 for 0.1.x versions of ubiquity).</p>
<p>you can get it <a href="http://gist.github.com/165091">here</a>.  make sure to select &#8220;automatically update this feed&#8221; so that you get any updates i may get around to making. </p>
<p>this version is pretty much identical to the older one, except that now, you can use &#8220;get-ayah,&#8221; &#8220;get ayah,&#8221; or &#8220;ayah&#8221; to get an ayah, and &#8220;search-quran&#8221; or &#8220;search quran&#8221; to do a search.  i hope to support some of the new stuff from the pre-alpha version of the quran api soon insha&#8217;Allah (other translations, etc).</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/08/10/quran-plugin-updated-for-ubiquity-0-5/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>introducing waqt.org</title>
		<link>http://whatstheplot.com/blog/2009/07/10/introducing-waqt-org/</link>
		<comments>http://whatstheplot.com/blog/2009/07/10/introducing-waqt-org/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 10:01:06 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[islam]]></category>
		<category><![CDATA[prayertimes]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=337</guid>
		<description><![CDATA[today, i took the arabeyes php extension of itl, the yahoo geocoding api, and the geonames api and put together waqt.org. it&#8217;s a fairly minimalistic prayertimes site. the code is available on github. note that the calculation method is currently hardcoded to use the isna method, but this is fairly easy to change.]]></description>
			<content:encoded><![CDATA[<p>today, i took the arabeyes <a href="http://svn.arabeyes.org/viewvc/projects/itl/ports/php/">php extension of itl</a>, the <a href="http://developer.yahoo.com/maps/rest/V1/geocode.html">yahoo geocoding api</a>, and the <a href="http://www.geonames.org/">geonames api</a> and put together <a href="http://waqt.org">waqt.org</a>.</p>
<p>it&#8217;s a fairly minimalistic prayertimes site.  the code is available on <a href="http://github.com/ahmedre/waqt.org">github</a>.  note that the calculation method is currently hardcoded to use the isna method, but this is fairly easy to change.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/07/10/introducing-waqt-org/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>amazing quran marketing</title>
		<link>http://whatstheplot.com/blog/2009/06/02/amazing-quran-marketing/</link>
		<comments>http://whatstheplot.com/blog/2009/06/02/amazing-quran-marketing/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 08:07:07 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[islam]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[quran]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=332</guid>
		<description><![CDATA[about two years ago, i posted about sheikh mohamed&#8217;s amazing fajr marketing tshirt. today, i am posting about the latest tshirt in the collection &#8211; read, understand, and practice quran. sheikh is currently in egypt visiting his family and will go and make 3umrah insha&#8217;Allah&#8230; the bay area really isn&#8217;t the same without him. may [...]]]></description>
			<content:encoded><![CDATA[<p>about two years ago, i posted about sheikh mohamed&#8217;s <a href="http://whatstheplot.com/blog/2007/03/28/amazing-fajr-marketing/">amazing fajr marketing</a> tshirt.  today, i am posting about the latest tshirt in the collection &#8211; read, understand, and practice quran.</p>
<p><img src="http://whatstheplot.com/images/read_quran.jpg" alt="read and practice quran" /></p>
<p>sheikh is currently in egypt visiting his family and will go and make 3umrah insha&#8217;Allah&#8230;  the bay area really isn&#8217;t the same without him.  may Allah accept from them and grant him and his family the very best and bring them back safely &#8211; ameen.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/06/02/amazing-quran-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quran ubiquity plugin</title>
		<link>http://whatstheplot.com/blog/2009/05/19/quran-ubiquity-plugin/</link>
		<comments>http://whatstheplot.com/blog/2009/05/19/quran-ubiquity-plugin/#comments</comments>
		<pubDate>Tue, 19 May 2009 08:29:12 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[islam]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[quran]]></category>
		<category><![CDATA[ubiquity]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=324</guid>
		<description><![CDATA[updated and released the first version of the quran ubiquity plugin! you can go here to install it. essentially, it contains two commands - 1. search-quran &#8211; takes a parameter of what to search for and will show the results that match that particular query. hitting enter will bring up the search results page. 2. [...]]]></description>
			<content:encoded><![CDATA[<p>updated and released the first version of the quran ubiquity plugin!  you can go <a href="http://gist.github.com/113971">here</a> to install it.</p>
<p>essentially, it contains two commands -<br />
1.  <strong>search-quran</strong> &#8211; takes a parameter of what to search for and will show the results that match that particular query.  hitting enter will bring up the search results page.<br />
2.  <strong>get-ayah</strong> &#8211; takes a parameter of which ayah (ex 2:2) and an optional parameter of the language/translation you want the ayah in (in english &#8211; muhsin khan, for example &#8211; note that ubiquity will provide suggestions for these).  hitting enter will insert the text into the selection space.</p>
<p>this is uber-useful for muslims imho :p  perhaps i will try to provide a screencast later on that shows how to use this for those who are still afraid to try it <img src='http://whatstheplot.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>*update*</strong> &#8211; rather than make my own screencast, i&#8217;ve decided to record a set of audio instructions on how to use it.</p>
<p>by the way &#8211; if you haven&#8217;t used ubiquity before, i highly recommend that you watch <a href="http://vimeo.com/1561578">this video</a> first.  it explains what ubiquity is and gives you an idea of what it is useful for.  to put it quite simply, ubiquity is amazing.  it&#8217;s an indispensable tool for your firefox.  watch the video <img src='http://whatstheplot.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>and here is the audio tutorial on the quran plugin for ubiquity.</p>
<p>enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/05/19/quran-ubiquity-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://whatstheplot.com/misc/ubiquity_quran-05.19.2009.mp3" length="1235405" type="audio/mpeg" />
		</item>
		<item>
		<title>reading quran on the iphone</title>
		<link>http://whatstheplot.com/blog/2009/03/08/reading-quran-on-the-iphone/</link>
		<comments>http://whatstheplot.com/blog/2009/03/08/reading-quran-on-the-iphone/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 07:43:50 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[islam]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[quran]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=269</guid>
		<description><![CDATA[a long time ago, when i got my iphone, i realized that it would be nice to be able to read the quran on my phone. what i wanted was a way to read the arabic text on the phone (page by page, not ayah by ayah). anyhow, i&#8217;ll outline the solutions i&#8217;ve found here [...]]]></description>
			<content:encoded><![CDATA[<p>a long time ago, when i got my iphone, i realized that it would be nice to be able to read the quran on my phone.  what i wanted was a way to read the arabic text on the phone (page by page, not ayah by ayah).  anyhow, i&#8217;ll outline the solutions i&#8217;ve found here along with my preferred solution and how to set it up.</p>
<p><strong>options</strong></p>
<ul>
<li>quran applications in the app store &#8211; there are a few in the app store, but only one version of iQuran is free.  it shows you the text (ayah by ayah, however), has translations, and audio.</li>
<li>images &#8211; copy a set of 604 images to your iphone, with each image representing one page of the Quran.  then, when you want to read Quran, you load up the photo viewer and read the pages there.  you can find these images in many places. <a href="http://www.hackint0sh.org/forum/f127/10088.htm">here</a> is one example.  this is the best solution for reading the Quran in Arabic if you don&#8217;t want to jailbreak your phone.</li>
<li>pdfs &#8211; in my opinion, the best way to read quran on the iphone (if you have a good pdf viewer).  you don&#8217;t have to hassle with syncing images, nor do you have to deal with 604 files on your phone that you must go through in order to read Quran.  also, pdfs tend to be of higher quality than images.  this is the solution i recommend if you have or are willing to jailbreak your phone.</li>
</ul>
<p>since the first solution is straight forward and instructions for the second solution are available on the link above, i will here outline instructions on how to use pdfs.</p>
<p>first, i need to point something out &#8211; you technically don&#8217;t need to jailbreak your phone to view the quran pdfs on it &#8211; you could download one of the apps in the appstore that views pdfs and use it.  however, i&#8217;ve tried several of the free ones, and was never satisfied with the speed and performance of any of them.  the best pdf viewer i found for the iphone is safari itself.  so in order to be able to access these pdfs without a connection, you need to have a webserver running on your phone&#8230; and that is why you need to jailbreak your phone <img src='http://whatstheplot.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>preview</strong><br />
here are three screenshots of how it looks like:<br />
<a href="/images/iphonepdfs/pdf_quran_menu-03.07.2009.png">menu</a><br />
<a href="/images/iphonepdfs/pdf_quran.03.07.2009.png">quran text</a><br />
<a href="/images/iphonepdfs/pdf_quran_w-03.07.2009.png">quran text (wide)</a>.</p>
<p><strong>instructions</strong></p>
<ol>
<li>jailbreak your phone.  on an older iphone, this is easy (install the newest firmware via itunes, then install and run <a href="http://www.quickpwn.com/">quickpwn</a>).  for the 3g iphone, carefully read the instructions on <a href="http://www.quickpwn.com/">quickpwn</a>&#8216;s website, especially if you want your phone to be unlocked and/or are already using it unlocked.</li>
<li>once the phone is jail broken, run cydia.  install openssh.  then install lighttpd.</li>
<li>when you&#8217;re on a wifi network, go to your phone&#8217;s settings (from the main screen), click on wifi, and choose the network that you are currently connected to by pressing the blue arrow &#8211; note down the value of the ip address</li>
<li>ssh into your iphone as root &#8211; in linux or osx, just open a terminal and run &#8220;ssh root@[your phone's ip address]&#8220;.  on windows, you can do this by downloading <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">putty</a>.  the default password is alpine.  keep this terminal open for the next step (recommendation &#8211; once you&#8217;re in, change your password.  type passwd and choose something else besides the default.  this is for security purposes).</li>
<li>now you can set up lighttpd.  download <a href="/misc/iphone_pdfs/com.http.lighttpd.plist">com.http.lighttpd.plist</a> and scp it to /Library/LaunchDaemons (using mac/linux, just do scp com.http.lighttpd.plist root@[iphone's ip]:/Library/LaunchDaemons).  on windows, download <a href="http://winscp.net">winscp</a>, log in (user name root, password is &#8216;alpine&#8217; unless you&#8217;ve changed it in the above step), navigate to /Library/LaunchDaemons, and copy the file over).  this file is what will set up lighttpd to start every time the phone is started, and to read the lighttpd.conf from the path below.</li>
<li>download <a href="/misc/iphone_pdfs/lighttpd.conf">lighttpd.conf</a> and scp it to /etc.  this is the configuration file for the webserver.</li>
<li>download the <a href="/misc/iphone_pdfs/iphone_web.zip">pdfs and web files</a>.  unzip them (you&#8217;ll get a web directory), and scp this directory to /var/root/Media (so that the files will be in /var/root/Media/web/*).  note that if you change this path, you have to edit lighttpd.conf to reflect wherever you put this.</li>
<li>finally, in the terminal you opened in the earlier step, type the following command (this command is what ultimately makes lighttpd start everytime the phone is started):<br />
<code>launchctl load -w /Library/LaunchDaemons/com.http.lighttpd.plist</code>.</li>
</ol>
<p>and that&#8217;s it&#8230; you should be good to go!  open up safari and navigate to http://localhost/index.html and enjoy!</p>
<p><strong>known issues</strong></p>
<ul>
<li>when transferring data to and from the phone (via ssh or scp), you want to make sure that you&#8217;re on wireless.  you may also want to make sure the iphone doesn&#8217;t &#8220;sleep&#8221; so that the connection doesn&#8217;t drop.</li>
<li>sometimes, when you choose a particular file to read, you get a &#8220;cannot connect to server&#8221; error &#8211; it usually disappears and loads the page before you have a chance to click &#8220;ok.&#8221;</li>
<li>if you turn the iphone off while reading a pdf (or go to the main screen, etc), when you come back to safari, sometimes, the page may appear malformed and not allow you to read.  to solve this problem, hit back to go to the index and choose a juz&#8217; to reload it.</li>
</ul>
<p>suggestions/additions/comments are welcome and appreciated.</p>
<p><strong>update</strong> &#8211; i&#8217;ve been using batoul apps&#8217; <a href="http://quranapp.com/iphone/">quranreader</a> at the recommendation of a friend.  it&#8217;s $1 in the app store, but well worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/03/08/reading-quran-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>ubiquity rocks!</title>
		<link>http://whatstheplot.com/blog/2009/02/18/ubiquity-rocks/</link>
		<comments>http://whatstheplot.com/blog/2009/02/18/ubiquity-rocks/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 10:23:05 +0000</pubDate>
		<dc:creator>ahmedre</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[islam]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[quran]]></category>
		<category><![CDATA[screenshots]]></category>
		<category><![CDATA[ubiquity]]></category>

		<guid isPermaLink="false">http://whatstheplot.com/blog/?p=257</guid>
		<description><![CDATA[today, i felt like playing some more with ubiquity, which i had installed for a while now but had not played around with sufficiently. i decided to try to write a simple plugin that will search the quran for a particular set of words. to do this, i felt obliged to expose an api for [...]]]></description>
			<content:encoded><![CDATA[<p>today, i felt like playing some more with <a href="http://labs.mozilla.com/projects/ubiquity/">ubiquity</a>, which i had installed for a while now but had not played around with sufficiently.  i decided to try to write a simple plugin that will search the quran for a particular set of words.  to do this, i felt obliged to expose an api for the alpha version of <a href="http://quranicrealm.com">quranicrealm</a> first, which was good because i needed to do it eventually anyway.</p>
<p>and here&#8217;s the mandatory screenshot:<br />
<img alt="ubiquity - quran search preview" src="/images/ubi.sq_pre.02.18.2009.png" title="ubiquity - quran search preview" /></p>
<p>it still needs a lot of work&#8230;  things i still want to do if i get around to it:</p>
<ul>
<li>add a favicon (for the site and for the plugin)</li>
<li>more options (ex, &#8220;search english,&#8221; or &#8220;search transliteration,&#8221; etc)</li>
<li>replace the current text with a link (or translation).  this would be useful in im conversations or while writing blog posts.</li>
<li>a &#8220;get-ayah&#8221; command (to say, &#8220;get ayah 1 of sura fatiha in arabic,&#8221; for example).</li>
</ul>
<p>anyway, i&#8217;ll post up the code when i&#8217;ve added some improvements insha&#8217;Allah.  if you want it before then, post a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatstheplot.com/blog/2009/02/18/ubiquity-rocks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
