Self discovering

Archive for April, 2006

Fetch Da Feed-AJAX based feed reader

Tuesday, April 18th, 2006

I am a very lazy person and I dont miss chance to prove it again and again.I am subscribed to many feeds as well as keep my own blogs as well.There is a links section on my blog which i normally visit or wish to visit.But its very tiring job for me to visit each link one by one to check updates.Blogrolling provided feature to append some text with the link as intimation of updation in that particular blog/site.Itis very cool but how sure you are that its intresting for you too and its kinda frustration when you find nothing intresting on that blog.

So for sake of people like me ,I have developed a little application which I would name as Fetch da feed(FdF) for time being.What it does that it fetches the 5 top feed(RSS/ATOM) of that blog/site link,parse and show on your website in HTML format,if there is something intresting you visit,or view on your own site.No need to open RSS client or visiting blog.See the following screen shot of my other blog. For demo go to main page of my blog

As you,it fetched the latest feed from blog and displayed in window ,on top it shows blog title then last modified date then posts with title .This window popedup when i clicked icon associated with links on right pane.



I have tried my best to make it presentable for both IE and FireFox but it was not an easy task,specially XML parsing which i have discussed here

I have just targetted RSS2.0 and Atom(0.3/1.0),atom parsing was not so difficult but yes there were issues with different versions of RSS ,specially date tag,since the the script is BETA so bear with me.It would set be up for public use soon along with instructions as i did for AJAX based feedback form. By the way this application is also another ajax based script.Here are insrtuctions to insall on your site/blog.

1)Add the following code between

<script language=”javascript” src=”http://adnansiddiqi.com/api/feeds/feeds.js”></script>

<script language=”javascript” src=”http://adnansiddiqi.com/api/feeds/xmlhttp.js”></script>

<link href=”http://adnansiddiqi.com/api/feeds/feeds.css” rel=”stylesheet” type=”text/css”>

2)Add following code within body tag

<!– DIV for RssFED Begins –>

<div id=”divFeeds” style=”position:absolute; width:297px; height:417px; z-index:1; left: 350px; top:581px; border-width:thin; border-style:solid; display:none; background-color:#FFFFFF;”></div>

<!– DIV for RssFED Ends –>

3) In order to invoke the popup window for any feed,call following javascript function:

<a href=”javascript:getFeed(’feedUrl’)”><br>

Click RSS</a>

example is given below:

<a href=”javascript:getFeed(’http://weblogs.com.pk/kadnan/rss.aspx’)” ><img src=”recent4.jpg” alt=”Check Recent Posts” width=”10″ height=”10″ border=”0″></a>

You can change div position which suits you better but nothing else like color,style content etc,this is something which is different than feedback form. Why is it like that?well no particular reason,its just I didn’t want to *shrug*.

There are few things which you should remember before installing it on your website.

1)Supports RSS2.0 and Atom only-I have tried my best to make it compatible with previous versions but there are many optional tags in both kind of feeds which i could not check alone.Apply it on your site,test it and let me know and I will make changes accordingly.

2)Tried my best to make it compatible with both IE and FF.There are few issues in XML parsing for FireFox so bear with it and if you know solution too then do mail me

3) It is Beta

Credits

Without help of these guys,it was not easy at all

1)Alex Serebryakov of ajaxextended -Cross domain AJAX library.

2)Martin Honnen of http://JavaScript.FAQTs.com/ -awesome function for getting innerText.

3)Vedanta Barooah-He helped to find out links to parse <dc:date> tag for FireFox browser.He himself has developed library to convert IMAP/POP mails to RSS .

Last but not least,use it and enjoy.It’s free and open source.Code will be up soon

Tagged:,,,,,,,,,
,


Fetch Da Feed-AJAX based feed reader

Tuesday, April 18th, 2006

I am a very lazy person and I dont miss chance to prove it again and again.I am subscribed to many feeds as well as keep my own blogs as well.There is a links section on my blog which i normally visit or wish to visit.But its very tiring job for me to visit each link one by one to check updates.Blogrolling provided feature to append some text with the link as intimation of updation in that particular blog/site.Itis very cool but how sure you are that its intresting for you too and its kinda frustration when you find nothing intresting on that blog.

So for sake of people like me ,I have developed a little application which I would name as Fetch da feed(FdF) for time being.What it does that it fetches the 5 top feed(RSS/ATOM) of that blog/site link,parse and show on your website in HTML format,if there is something intresting you visit,or view on your own site.No need to open RSS client or visiting blog.See the following screen shot of my other blog. For demo go to main page of my blog

As you,it fetched the latest feed from blog and displayed in window ,on top it shows blog title then last modified date then posts with title .This window popedup when i clicked icon associated with links on right pane.



I have tried my best to make it presentable for both IE and FireFox but it was not an easy task,specially XML parsing which i have discussed here

I have just targetted RSS2.0 and Atom(0.3/1.0),atom parsing was not so difficult but yes there were issues with different versions of RSS ,specially date tag,since the the script is BETA so bear with me.It would set be up for public use soon along with instructions as i did for AJAX based feedback form. By the way this application is also another ajax based script.Here are insrtuctions to insall on your site/blog.

1)Add the following code between

<script language=”javascript” src=”http://adnansiddiqi.com/api/feeds/feeds.js”></script>

<script language=”javascript” src=”http://adnansiddiqi.com/api/feeds/xmlhttp.js”></script>

<link href=”http://adnansiddiqi.com/api/feeds/feeds.css” rel=”stylesheet” type=”text/css”>

2)Add following code within body tag

<!– DIV for RssFED Begins –>

<div id=”divFeeds” style=”position:absolute; width:297px; height:417px; z-index:1; left: 350px; top:581px; border-width:thin; border-style:solid; display:none; background-color:#FFFFFF;”></div>

<!– DIV for RssFED Ends –>

3) In order to invoke the popup window for any feed,call following javascript function:

<a href=”javascript:getFeed(’feedUrl’)”><br>

Click RSS</a>

example is given below:

<a href=”javascript:getFeed(’http://weblogs.com.pk/kadnan/rss.aspx’)” ><img src=”recent4.jpg” alt=”Check Recent Posts” width=”10″ height=”10″ border=”0″></a>

You can change div position which suits you better but nothing else like color,style content etc,this is something which is different than feedback form. Why is it like that?well no particular reason,its just I didn’t want to *shrug*.

There are few things which you should remember before installing it on your website.

1)Supports RSS2.0 and Atom only-I have tried my best to make it compatible with previous versions but there are many optional tags in both kind of feeds which i could not check alone.Apply it on your site,test it and let me know and I will make changes accordingly.

2)Tried my best to make it compatible with both IE and FF.There are few issues in XML parsing for FireFox so bear with it and if you know solution too then do mail me

3) It is Beta

Credits

Without help of these guys,it was not easy at all

1)Alex Serebryakov of ajaxextended -Cross domain AJAX library.

2)Martin Honnen of http://JavaScript.FAQTs.com/ -awesome function for getting innerText.

3)Vedanta Barooah-He helped to find out links to parse <dc:date> tag for FireFox browser.He himself has developed library to convert IMAP/POP mails to RSS .

Last but not least,use it and enjoy.It’s free and open source.Code will be up soon

Tagged:,,,,,,,,,
,


Because they are muslims

Tuesday, April 18th, 2006

Recently i accidently got engaged with few non muslims from acorss the border who had been discussing things which been discussing since ages due to lack of knowledge and confusion.A friend of mine forwarded me this mail which i think is relevent and answer from my side to such people.


Why a Jew can grow his beard in order to practice his faith


But when Muslim does the same, he is an extremist and terrorist!


Why a nun can be covered from head to toe in order to devote herself to God


But when Muslimah does the same she oppressed

When a western women stays at home to look after her house and kids she is respected because of sacrificing herself and doing good for the household?

But when a Muslim woman does so by her will, they say, “she needs to be liberated”!

When a child dedicates himself to a subject he has potential.

But when he dedicates himself to Islam he is hopeless!

Any girl can go to university wearing what she wills and have her rights and freedom?

But when Muslimah wears a Hijab they prevent her from entering her university!

When someone drives a perfect car in a bad way no one blames the car.

But when any Muslim makes a mistake or treats people in a bad manner - people say “Islam is the reason”!

So a simple question from all insane non-muslims and called liberal muslims,why only Islam?why generalising things on basis of acts of individuals,will anyone raise finger on sikh who keeps beard too,will anyone refresh that how sikhs showed their extreemism at the time of partition?Just let me know.

Tagged: ,,,,,,


World’s Strongest Glue

Saturday, April 15th, 2006

Slashdot reporting about world’s strongest glue obtained from bacteria Caulobacter crescentus .Some poor guy at slashdot wished something like that:

Ill be impressed if…..It can keep my wife’s mouth shut for even just an hour….
:D
Tagged:


Quran in Excel Format

Thursday, April 13th, 2006

I usually don’t make posts on basis of forwarded mail but this is something which is really appreciable.

Asma Mirza has forwarded me Quran in excel format,for sake of others,i have uploaded it on my site,screen shot is giving below. Thanks Asma :)

Tagged:,,,


Reading

Monday, April 10th, 2006

Hello!I have been posting anything after a week or maybe more,don’t remember.Its not because I have nothing to say,it’s because I have things which are not worthy to say.

After a very long time,may be years,I bought few books,the non-technical books for reading.It’s not because I am miser or something.It’s just I was not able to seprate few moments of life for myself.Work-home-work,that’s all I’m about.

This saturday I left office earlier and went to old Urdu Bazar.Actually I had to buy a course book for my younger sister but unfortunately I coudn’t find the book but luckily I go idea to buy few urdu books for myself.I had no idea where to go so I asked the computer shop guy for guidance and he told me about Welcome Books. This shop ,as they claim,is really hub of standard urdu literature.Since I got tired enough after reading programming related books/materials,I had nice opportunity to go a bit off the track for sake of myself.I bought few books which are following.

1)Translations of Khalil Gibran’s work(The Prophet,Sand and Foam and Broken Wings)
2)Labaik by Mumtaz Mufti
3)Shahab Nama by Qudratullah Shahab
4)Shaitanian by Dr.Yunus Butt.
5)Maa ji by Qudratullah Shahab

I have finished Yunus butt and last night finished Labbaik in a single sitting.Labbaik is a very amazing writing about Hajj reportage by a person who was muslim by name only not by act.Mumtaz unleashes his experience to reader that how he discovered his creator-Allah.If you have got chance to visit Makkah and Madina you will really feel yourself restless to visit that place again.Even if you never visited those places,you would start struggling to visit those place once in life.

Alhamdolillah,Allah gave me chance to visit His place in 2003 when i went to perform Umrah alone.This was my first ever visit out of Pakistan,how I went there,I stil dont believe in it because i went in the condition which was really impossible to spend Rs.50,000 for such journey,but as its said that journey to Makkah and Madina is full with wonders,its not fake at all as Mumtaz explains in his book,I also experienced unexplainable things over there.

I won’t go into details at the moment but Inshallah I would sure share how I discovered a muslim in me.

Tagged:,,
,,


China buys Google

Saturday, April 1st, 2006

larry and sergey
Yes its true,China has taken over Google,you can see new look of Google founders who are busy in building new China.See below:

have fun and these guys write blog as well

Search

You are currently browsing the Adnan`s Crazy Blogging World weblog archives for April, 2006.

Must Visit

Quran Reference on MSN Messenger
Dars-e-Quran
Fetch da Feed::AJAX based feed reader
Customized contact form for blogger or any other website

What am I Upto?


follow kadnan at http://twitter.com

Namaz Timing


Send n Recieve Money online


My blog is worth $16,936.20.
How much is your blog worth?


I also write for:

Pakistani Cricket Blog
Adnan Siddiqi::Let's Get Technical

Old Is Gold

June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 March 2005 February 2005
  • Categories

  • Syndications

     Subscribe in a reader

    Subscribe in NewsGator Online

    Add to Google

    Add to My AOL

    Add to netomat Hub

    Add to netvibes

    Subscribe in Bloglines

    Enter your email address:

    Delivered by FeedBurner