<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4284377048633026062</atom:id><lastBuildDate>Thu, 05 Sep 2024 09:33:42 +0000</lastBuildDate><category>Rapidshare</category><category>Computer Windows</category><category>Orkut</category><category>Mobile</category><category>Software tutorials</category><category>Animation Graphics</category><category>Games consoles</category><category>Blog traffic</category><category>Internet websites</category><category>Make money</category><category>Softwares</category><category>Yahoo</category><category>sms</category><category>Free Internet Calls</category><category>Free movies</category><category>Google Adsense</category><category>Media player</category><category>Virus codes</category><title>100 % working tricks</title><description>Get all the tricks and tutorials on softwares and windows for fee.All tricks are 100 % working and tested</description><link>http://infinitytricks.blogspot.com/</link><managingEditor>noreply@blogger.com (Lovana das)</managingEditor><generator>Blogger</generator><openSearch:totalResults>114</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-4623583126461816901</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:11.242-07:00</atom:updated><title>How to solve Internet Explorer cache issue in Ajax</title><description>This is a frequent asked question which can be solved simply with a line of code with javascript.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The problem&lt;/strong&gt;&lt;br /&gt;If you use Internet Explorer you can find an annoying problem when you send multiple requests using Ajax. All new requests after the first request (using &lt;em&gt;&lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;http&lt;/span&gt;.open&lt;/em&gt; method),  mantain the same value of the first request. This problem is caused by Internet Explorer use of cache.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When you call the method:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;http&lt;/span&gt;.open&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;add a random variable using &lt;em&gt;Math&lt;/em&gt; object and add it in the method&#39;s URL argument, for example:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;nocache = &lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;Math&lt;/span&gt;.random&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;()&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;http&lt;/span&gt;.open(&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&#39;get&#39;&lt;/span&gt;,&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt; &#39;page.php?url_parameter=&#39;&lt;/span&gt;+parameter+&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&#39;&amp;amp;nocache = &#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;+nocache&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In this way all the new request will have an URL parameter (&lt;em&gt;&amp;amp;nocache&lt;/em&gt;) which force the browser to &quot;refresh&quot; the old value with the new value.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-solve-internet-explorer-cache.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-234930010270260216</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:10.253-07:00</atom:updated><title>How to design a sexy header for your site using CSS</title><description>&lt;div class=&quot;bigInt&quot;&gt;Step by step tutorial to implement a typographic style header using Photoshop and CSS.&lt;/div&gt;&lt;br /&gt;Yesterday I received a lot of positive messages about the new template of my site. Expecially for the new &lt;em&gt;header&lt;/em&gt; (in particular the green bar on top of the page). Some of my readers asked to me to dedicate a post about how to realize a similar &quot;graphic composition&quot;, so I decided to publish a post with the &quot;process&quot; I use in general to design graphical sections for my web sites.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;First approach: be simple.&lt;/strong&gt;&lt;br /&gt;The most important rule is: &lt;em&gt;be simple&lt;/em&gt;. Avoid complex CSS structure beacuse in most cases it is not necessary. Woork header is composed from three DIV elements:&lt;br /&gt;&lt;br /&gt;- Logo layer&lt;br /&gt;- Navigation bar&lt;br /&gt;- Green site introduction section&lt;br /&gt;&lt;br /&gt;Each element has a fixed width but how  &lt;em&gt;navigation bar&lt;/em&gt; and site &lt;em&gt;introduction section&lt;/em&gt; fit the page size. So you need other two liquid layer (width=100%) which will contain your &lt;em&gt;navigation bar&lt;/em&gt; and &lt;em&gt;introduction section&lt;/em&gt;. You can schematize this layout in this way:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_TqPdHmAEwTM/R9PUkthRQ8I/AAAAAAAABMY/B3hJDP0QZ20/s1600-h/section-structure.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;http://1.bp.blogspot.com/_TqPdHmAEwTM/R9PUkthRQ8I/AAAAAAAABMY/B3hJDP0QZ20/s400/section-structure.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5175714123938350018&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Another solution to avoid container layers is applying a background picture to the &lt;em&gt;&amp;lt;body&amp;gt;&lt;/em&gt; section using css, but I prefer working with pure layer instead of images to have more control on the design. In fact if you use a background image for the body, if you decide to change for example &lt;em&gt;height&lt;/em&gt; or &lt;em&gt;color&lt;/em&gt; of the &lt;em&gt;navigation bar&lt;/em&gt; you have every time also changing the background image.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Design the header with Photoshop&lt;/strong&gt;&lt;br /&gt;A good practice is trying to design first your header in Photoshop to have an idea about how it will look. Replicate with Photoshop the header structure and choose some colors for its elements until you are not satisfied for the result:&lt;br /&gt;&lt;br /&gt;&lt;img style=&quot;border: 1px solid rgb(222, 222, 222); margin: 0px auto 10px; padding: 10px; display: block; text-align: center;&quot; src=&quot;http://4.bp.blogspot.com/_TqPdHmAEwTM/R9PQsdhRQ7I/AAAAAAAABMQ/QjNrHdc4KiY/s400/photohop1.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5175709859035825074&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;When you think your header is ok you can start to convert the picture into HTML and CSS code. Before you leave Photoshop, create an image to apply to  &lt;em&gt;site introduction section&lt;/em&gt; background. This is a small image like this:&lt;br /&gt;&lt;img style=&quot;border: 1px solid rgb(222, 222, 222); margin: 0px auto 10px; padding: 10px; display: block; text-align: center;&quot; src=&quot;http://1.bp.blogspot.com/_TqPdHmAEwTM/R9Pp4thRQ9I/AAAAAAAABMg/kC1x3fx9vgY/s400/bg-nav-image.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5175737557279917010&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;strong&gt;HTML and CSS code&lt;/strong&gt;&lt;br /&gt;HTML code for your header is very simple:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;logo&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;navbar-container&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;    &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;navbar&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;&amp;lt;a href=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;&amp;gt;&lt;/span&gt;Home&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;&amp;lt;a href=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;&amp;gt;&lt;/span&gt;About&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&amp;lt;!-- Other links here...--&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;    &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;int-site-container&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;    &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&quot;int-site&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;... and CSS code is:&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;/* Reset Body Property */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;body{&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;#navbar-container{&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;background&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;#000000&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;#int-site-container{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;background&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;url(img/int-bg.png) left top repeat-x&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;166px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;#logo, #navbar, #int-site{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;800px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;0 auto&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;/*------------------*/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;/* LOGO             */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;#logo{&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;54px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;/*------------------*/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;/* Nav Bar             */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;#navbar{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;26px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;line-height&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;26px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;    #navbar a:link, #navbar a:visited, #navbar a:hover{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt; color&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;#FFFFFF&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;font-weight&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;bold&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;margin-right&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;20px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;text-decoration&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;none&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;Create Rays of Light for introduction section  background&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;To improve the look of my header I choose to add a background with a simple graphical element: some &lt;em&gt;rays of light&lt;/em&gt;. To create this effect, create a triangle using Photoshop &lt;em&gt;Pen Tool&lt;/em&gt;. Copy this object and rotate the new object of 20 degrees (set the rotation point to left-bottom):&lt;br /&gt;&lt;br /&gt;&lt;img style=&quot;border: 1px solid rgb(222, 222, 222); margin: 0px auto 10px; padding: 10px; display: block; text-align: center;&quot; src=&quot;http://2.bp.blogspot.com/_TqPdHmAEwTM/R9PuX9hRQ_I/AAAAAAAABMw/5EBY3MDzWzI/s400/ray-of-light.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5175742492197340146&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;Repeat this action until you designed a semi-circle. Select all element and create a &lt;em&gt;smart object&lt;/em&gt; (selecting all &quot;ray of light&quot; layers and clicking on right mouse button -&gt; create smart object). Then create a selection on the orange background and paste into the selection the smart object with your &quot;rays of light&quot;. Set the &lt;em&gt;Fill&lt;/em&gt; percentage to 19% and apply &lt;em&gt;Color Burn&lt;/em&gt; filter to &quot;rays of light&quot; layer. The result is like this:&lt;br /&gt;&lt;br /&gt;&lt;img style=&quot;border: 1px solid rgb(222, 222, 222); margin: 0px auto 10px; padding: 10px; display: block;&quot; src=&quot;http://4.bp.blogspot.com/_TqPdHmAEwTM/R9P0ndhRRAI/AAAAAAAABM4/4CA5UkfkZU8/s400/rayoflight-2.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5175749355555079170&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;...and now free your creativity adding graphical element to your &lt;em&gt;site introduction section&lt;/em&gt;. On my site I chose a simple typographic style adding a tag cloud of the main topics which my readers can find on woork.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;display: block;&quot; id=&quot;formatbar_Buttons&quot;&gt;&lt;span class=&quot;on down&quot; style=&quot;display: block;&quot; id=&quot;formatbar_CreateLink&quot; title=&quot;Link&quot; onmouseover=&quot;ButtonHoverOn(this);&quot; onmouseout=&quot;ButtonHoverOff(this);&quot; onmouseup=&quot;&quot; onmousedown=&quot;CheckFormatting(event);FormatbarButton(&#39;richeditorframe&#39;, this, 8);ButtonMouseDown(this);&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;http://2.bp.blogspot.com/_TqPdHmAEwTM/R9P5f9hRRBI/AAAAAAAABNA/sBGpjHIOK4s/s400/Immagine+22.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5175754724264199186&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;If you are looking for nice fonts to download for free, I suggest to try on &lt;a href=&quot;http://www.dafont.com/&quot;&gt;dafont.com&lt;/a&gt;, a great resource to find inspiration and all fonts you need.&lt;br /&gt;Now, last step, add the image background you created into your CSS code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;#int-site{&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;background&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;url(img/site-intro.png) left top no-repeat&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 255);&quot;&gt;166px&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;It&#39;s all!&lt;br /&gt;&lt;br /&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5124626767371640482&quot; style=&quot;cursor: pointer;&quot; alt=&quot;&quot; src=&quot;http://2.bp.blogspot.com/_TqPdHmAEwTM/Rx5U5LulHqI/AAAAAAAAAbo/NpIXE-ezOuU/s400/page_white_code_red.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;  &lt;a href=&quot;http://www.box.net/shared/j58fpxn480&quot;&gt;Download to see the result&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;I hope this post can help you to find inspiration from &quot;simplicity&quot; to design your site.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-design-sexy-header-for-your-site.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_TqPdHmAEwTM/R9PUkthRQ8I/AAAAAAAABMY/B3hJDP0QZ20/s72-c/section-structure.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-1017599043573354054</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:09.164-07:00</atom:updated><title>One shot, one kill: how to become popular with (almost) each post you write on your blog</title><description>&lt;div class=&quot;bigInt&quot;&gt;Do you need traffic for your website? Take a look at these simple tips...&lt;/div&gt;&lt;br /&gt;This post is dedicated to every people who wrote me asking to me how I made popular a lot of my posts on &lt;a href=&quot;http://del.icious.com/&quot;&gt;delicious&lt;/a&gt; in the past weeks. There is a &quot;simple&quot; way to make popular your post and assure a costant high traffic on your site for a medium period conquering a place on &lt;a href=&quot;http://del.icious.com/&quot;&gt;delicious&lt;/a&gt; home page... and this is what you have to do.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.google.it/antonio.lupetti/R-5dYexYFdI/AAAAAAAABcU/nnyLlXDPuZM/oneshot1.png&quot; style=&quot;border: 1px solid rgb(222, 222, 222); padding: 10px;&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Step 1: Write something interesting&lt;/strong&gt;&lt;br /&gt;...otherwise it&#39;s all useless.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2: your link on delicious/popular page&lt;/strong&gt;&lt;br /&gt;If you want to conquer delicious home page with your new post, the first step is do appear your new post/link on &lt;a href=&quot;http://del.icio.us/popular&quot;&gt;del.icio.us/popular&lt;/a&gt;  page:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh5.google.it/antonio.lupetti/R_AB-OxYFgI/AAAAAAAABc0/AodanyZ_Aew/delicious.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;How can you do it? It&#39;s not so difficult if you have a medium daily traffic and a god number of feeds subscribers. I noticed in average 10-12 votes on delicious (users who save your link to their bookmars) in 30 minutes are enough to do appear your link on  &lt;a href=&quot;http://del.icio.us/popular&quot;&gt;delicious/popular&lt;/a&gt; page and - this is the good news - immediatly you&#39;ll receive a high number of new visits from this page.&lt;br /&gt;&lt;br /&gt;The &quot;bad&quot; news is: if you want to remain for a long time on   &lt;a href=&quot;http://del.icio.us/popular&quot;&gt;delicious/popular&lt;/a&gt; page page (and in this way have a possibility to conquer delicious home page) you have to mantain an increasing votes trend for your link. And how can you do it? The faster way is using social network to promote your new post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 3: Publish it and promote it on social networks&lt;/strong&gt;&lt;br /&gt;In general I use this simple... let me say... &quot;rule&quot; which works very well: when I publish a post on &lt;em&gt;Woork&lt;/em&gt; the first thing I do is add it to some &lt;em&gt;general news sites&lt;/em&gt; (I use only &lt;a href=&quot;http://www.digg.com/&quot;&gt;digg&lt;/a&gt;, &lt;a href=&quot;http://www.mixx.com/&quot;&gt;mixx&lt;/a&gt;, &lt;a href=&quot;http://www.reddit.com/&quot;&gt;reddit&lt;/a&gt;) and other &lt;em&gt;niche websites&lt;/em&gt; related to the topics about which I write on my blog (&lt;a href=&quot;http://dzone.com/&quot;&gt;Dzone&lt;/a&gt;, &lt;a href=&quot;http://designfloat.com/&quot;&gt;Design Float&lt;/a&gt; and &lt;a href=&quot;http://cssglobe.com/&quot;&gt;CSS Globe&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh5.google.it/antonio.lupetti/R-5cauxYFcI/AAAAAAAABcM/fl_KYnV8Onc/oneshot.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Combined effect in terms of visits from these websites produces in general the hoped result and the number of people who save your link on delicious will increase quickly. In this way after one / two hours your link on delicious will catch up 100 votes, enough to appears on &lt;a href=&quot;http://del.icious.com/&quot;&gt;delicious&lt;/a&gt; home page!</description><link>http://infinitytricks.blogspot.com/2009/07/one-shot-one-kill-how-to-become-popular.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-775471019500267845</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:07.945-07:00</atom:updated><title>How to create an awesome eBook Template using Word or Apple Pages</title><description>&lt;div class=&quot;bigInt&quot;&gt;Today I received some requests about &lt;a href=&quot;http://woork.blogspot.com/2009/01/woork-handbook.html&quot;&gt;The Woork Handbook&lt;/a&gt; template I published yesterday. Some readers asked to me to distribute that template for their eBooks. So in this post I want to illustrate some guidelines to create an awesome eBook template, quickly and in few steps.&lt;/div&gt;&lt;br /&gt;I prepared the template which you can download (for Apple Pages and  Microsoft Word) and reuse it for your eBooks (I used Apple pages to write the eBook!).&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://1.bp.blogspot.com/_TqPdHmAEwTM/R6Ds89u3tkI/AAAAAAAAA0U/biqUma6R5w4/s400/tag_orange.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt; &lt;a href=&quot;http://www.box.net/shared/fekhotnsva&quot;&gt;Download Apple Pages template&lt;/a&gt;    &lt;img src=&quot;http://1.bp.blogspot.com/_TqPdHmAEwTM/R6Ds89u3tkI/AAAAAAAAA0U/biqUma6R5w4/s400/tag_orange.png&quot; style=&quot;margin-left: 14px;&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt; &lt;a href=&quot;http://www.box.net/shared/fkd8iy50p1&quot;&gt;Download Microsoft Word template&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;eBook Format&lt;br /&gt;&lt;/h5&gt;You can print the eBook on A4 format page (2 pages for each facade). This is the screenshot:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_TqPdHmAEwTM/SV_xyj6TWJI/AAAAAAAADP4/gJy5ZUS4zZA/whp1.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;h5&gt;Document structure&lt;/h5&gt;The document is divided in &lt;em&gt;sections&lt;/em&gt;. Each section is a chapter. Use &quot;section break&quot; to separate each chapter in this way:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/SWDQ9kEbL_I/AAAAAAAADQc/V2Yxj4Ys7uQ/templ1.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Adding a section break:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;- Apple Pages:&lt;/strong&gt; &lt;em&gt;Insert &gt; Section Break&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;- Microsoft Word:&lt;/strong&gt; &lt;em&gt;Insert &gt; Break &gt; Section break (next page)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;Page header&lt;/h5&gt;This is a not necessary element but i like have a short description in the header of the my pages. It&#39;s a simple text on top of your page with above a line which separete the header from the rest of the page:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/SWDb_CQnK2I/AAAAAAAADQs/Y4mMMo4m0vI/pageheader.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;In general &quot;page header&quot; isn&#39;t placed on the first page of the chapter:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;- Apple Pages&lt;/strong&gt;: select &lt;em&gt;layout&lt;/em&gt; button on the inspector and flag the option: &lt;em&gt;First Page is different&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/SWDc0a0UPMI/AAAAAAAADQ0/d7ggYdzDUyU/layot.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;- Microsoft Word&lt;/strong&gt;: double click on the page header and select &lt;em&gt;different first page&lt;/em&gt; from the header/footer toolbar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;Chapter structure using document styles&lt;/h5&gt;When you work with a text document (using Word, Apple Pages, OpenOffice...), a very good practice  is to define your &lt;em&gt;custom styles&lt;/em&gt; for the elements of your pages. In this way, every time you decide to modify the look of an element (for example &quot;chapter title&quot;), it will be update automatically in all elements of your document which use that style. For example take a look at the following picture which represents a generic chapter structure:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_TqPdHmAEwTM/SWDW0-Kd4bI/AAAAAAAADQk/PBgBOCf3WSM/whtempl.png&quot; /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;We have the following elements with related styles:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Chapter title&lt;/em&gt; -&gt; Heading 1&lt;br /&gt;&lt;em&gt;Article title&lt;/em&gt; -&gt; Heading 2&lt;br /&gt;&lt;em&gt;Paragraph header&lt;/em&gt; -&gt; Sub header paragraph&lt;br /&gt;&lt;em&gt;Normal text&lt;/em&gt; -&gt; Body&lt;br /&gt;&lt;em&gt;Code box&lt;/em&gt; -&gt; Code&lt;br /&gt;&lt;em&gt;Footnotes&lt;/em&gt; -&gt; Notes&lt;br /&gt;&lt;em&gt;Article footer&lt;/em&gt; -&gt; Small header + small body&lt;br /&gt;&lt;br /&gt;You can define your custom style in this way:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;- Apple Pages:&lt;/strong&gt; &lt;em&gt;View &gt; Show Style Draver&lt;/em&gt; and then selecting a style and modifying style properties, or creating a new style.&lt;br /&gt;&lt;strong&gt;- Microsoft Word:&lt;/strong&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;Format&lt;/span&gt;&lt;em&gt; &gt; Style &lt;/em&gt;and then selecting a style and modifying style properties, or creating a new style.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; I used &lt;em&gt;Qlassik&lt;/em&gt; font for the title of chapters and articles. You can &lt;a href=&quot;http://woork.blogspot.com/2008/09/10-fonts-to-design-original-logos.html&quot;&gt;download it here&lt;/a&gt;. In this version of template I used Arial in case you don&#39;t have Qlassik font.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;h5&gt;Table of  contents&lt;br /&gt;&lt;/h5&gt;Adding a TOC it&#39;s very simple:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;- Apple Pages:&lt;/strong&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;Insert&lt;/span&gt;&lt;em&gt; &gt; Table of content&lt;/em&gt;.&lt;br /&gt;&lt;strong&gt;- Microsoft Word:&lt;/strong&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;Insert &gt; Document element &gt; Table of content&lt;/span&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Your TOC will be updated automatically every time you add a new content in your document but (this is really important!) you have to use style elements created for the chapter title and article title (&lt;em&gt;Heading 1&lt;/em&gt; and &lt;em&gt;Heading 2&lt;/em&gt;).&lt;br /&gt;&lt;br /&gt;It&#39;s all! I hope this template can help you to prepare quickly your eBook.&lt;br /&gt;&lt;br /&gt;Every suggestion is appreciated :)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; I used Apple Pages to create my eBook, and I simply converted Pages template for Word. I experienced there are some litte problems with formatting which you convert a document in Word from Apple Pages... tell me if you have them!</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-create-awesome-ebook-template.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_TqPdHmAEwTM/R6Ds89u3tkI/AAAAAAAAA0U/biqUma6R5w4/s72-c/tag_orange.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-6504470365862671739</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:06.966-07:00</atom:updated><title>How to skin HTML form elements in seconds</title><description>&lt;div class=&quot;bigInt&quot;&gt;In the past weeks I received some requests from my readers which asked to me to suggest a simple way to skin HTML form elements. There are a lot of ways to do that and a lot of posts  with interesting resources about this topic. But if you want to save time and obtain a nice result I suggest you to use jqTransform or NiceForms.&lt;/div&gt;&lt;br /&gt;Both scripts are very useful and simple to use. If you want to use a &quot;native&quot; script which doesn&#39;t use an external JS framework (such as jQuery or MooTools) I think a good choice is NiceForms otwerwise, if you use jQuery, a good alternative is jqTransform. Take a look how they work.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. jqTransform&lt;/strong&gt;&lt;br /&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/SfR6tvmd1UI/AAAAAAAAD_A/VPNFpx_dErY/form1.png&quot; style=&quot;border: 1px solid rgb(222, 222, 222); padding: 4px; float: right; margin-left: 14px;&quot; /&gt;&lt;a href=&quot;http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/&quot;&gt;jqTransform&lt;/a&gt; is a jQuery styling plugin wich allows you to skin quickly form elements in a very easy way. The only thing you have to do is to add a javascript inclusion to this plugin in the header section of your web page, create your form and add two lines of JS code to apply the transformation to your form.&lt;br /&gt;&lt;br /&gt;Use this code to add a javascript inclusion to jqTransform:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;jquery.jqtransform.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...now create a form with class property equal to &lt;span style=&quot;font-weight: bold;&quot;&gt;jqTransform&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form class=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;jqTransform&lt;/span&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 102);&quot;&gt;&amp;lt;!-- Add form elements here... --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...then add this JS code to apply the transformation:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;$&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;() {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;$&lt;span style=&quot;font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;form.jqtransform&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;).&lt;/span&gt;jqTransform&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;});&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. NiceForms&lt;/strong&gt;&lt;br /&gt;&lt;img src=&quot;http://lh5.ggpht.com/_TqPdHmAEwTM/SfR8mA7U3hI/AAAAAAAAD_I/bOs8Daxd0Qs/form2.png&quot; style=&quot;border: 1px solid rgb(222, 222, 222); padding: 4px; float: right; margin-left: 14px;&quot; /&gt;&lt;a href=&quot;http://www.emblematiq.com/projects/niceforms/&quot;&gt;Niceforms&lt;/a&gt; is a script that will replace the most commonly used form elements with custom designed ones. You can either use the default theme that is provided or you can even develop your own look with minimal effort.&lt;br /&gt;&lt;br /&gt;To implement form style transformation you have to add a javascript inclusion to NiceForms in your web page using this code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;niceforms.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...then create a form with class property equal to &lt;span style=&quot;font-weight: bold;&quot;&gt;niceform&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form class=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;niceform&lt;/span&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(102, 102, 102);&quot;&gt;&amp;lt;!-- Add form elements here... --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;It&#39;s all. Really simple and fast!&lt;br /&gt;&lt;br /&gt;Any suggestion? Please leave a comment.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-skin-html-form-elements-in.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_TqPdHmAEwTM/SfR6tvmd1UI/AAAAAAAAD_A/VPNFpx_dErY/s72-c/form1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-939037511244282110</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:05.934-07:00</atom:updated><title>How to implement a Post-to-Wall Facebook-like using PHP and jQuery</title><description>&lt;div class=&quot;bigInt&quot;&gt;In the past months I received a lot of request to write a tutorial for beginners in order to explain how to implement a Post-to-Wall Facebook-like. So, I prepared this very simple example which helps everyone understand how to implement this feature in a website using just some lines of PHP and JavaScript code.&lt;/div&gt;&lt;br /&gt;Take a mind, every post in the Facebook Wall contains a lot of information (user, sender, message content, date, number of comments, ...):&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/SgNHu4at28I/AAAAAAAAEB4/h8roJ7qGOCU/wall.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;But how I said, this tutorial is for Ajax/jQuery/PHP beginners. So I decided to simplify the original Wall using just a single information: the message content.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/pskmjcsiqa&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this tutorial we have these files:&lt;br /&gt;&lt;blockquote&gt;- confing.php (database connection parameters)&lt;br /&gt;- index.php&lt;br /&gt;- insert.php&lt;br /&gt;- jquery.js&lt;/blockquote&gt;How the Wall works?&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/SgM5jtVc5EI/AAAAAAAAEB0/TaLnf-88Q-c/facebook-jquery.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;index.php &lt;/span&gt;contains a form with id &lt;em&gt;&quot;submit_form&quot;&lt;/em&gt; with an input text with id &lt;em&gt;&quot;message_wall&quot;&lt;/em&gt;. When an user submits a new message. Then the new message is appends to top of the ul list with id &lt;em&gt;&quot;wall&quot;&lt;/em&gt; with a nice fade-in effect (with jQuery). Ok, now take a look at the code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. index.php&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;index.php&lt;/em&gt;  is very simple and contains just simple HTML code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;submit_wall&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;amp;gt&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;label for=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;message_wall&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;Share your message on the Wall&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;input type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;message_wall&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;button type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;Post to wall&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;ul id=&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;wall&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The &amp;lt;ul&amp;gt; list with id &lt;span style=&quot;font-weight: bold;&quot;&gt;&quot;wall&quot;&lt;/span&gt; is the &quot;container&quot; of messages which are posted into the wall.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. JavaScript Code&lt;/strong&gt;&lt;br /&gt;Open &lt;em&gt;index.php&lt;/em&gt; and include jQuery in the &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;head&amp;gt;&lt;/span&gt; tag of the page:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;jquery/jquery.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...then add this simple function to enable Ajax functionalities to insert the message posted from the user into a  database table without reload the page:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;$&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;document&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.ready&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;function&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt; $&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;form#submit_wall&quot;&lt;/span&gt;).submit&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;function&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;() {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; message_wall &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;#message_wall&#39;&lt;/span&gt;).attr&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;value&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$.ajax&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;({&lt;/span&gt;&lt;br /&gt;type&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;POST&quot;&lt;/span&gt;,&lt;br /&gt;url&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;insert.php&quot;&lt;/span&gt;,&lt;br /&gt;data&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;message_wall=&quot;+&lt;/span&gt; message_wall,&lt;br /&gt;success&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;$(&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;ul#wall&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.prepend&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;&amp;lt;li style=&quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;display: none&lt;/span&gt;;&quot;&amp;gt;&quot;+&lt;/span&gt;message_wall&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;+&quot;&amp;lt;/li&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;$(&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;ul#wall li:first&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.fadeIn&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;  });&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;return false;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt; });&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;});&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;.prepend(...)&lt;/span&gt; is a jQuery function to insert elements inside, at the beginning, of a specific  element (in this case UL list with id wall --&gt;$(&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;ul#wall&quot;&lt;/span&gt;)). When the new message is added into the list is hidden (&lt;span style=&quot;font-weight: bold;&quot;&gt;display:none&lt;/span&gt;). Then it appears with a fade-in effect:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;ul#wall li&lt;span style=&quot;font-weight: bold;&quot;&gt;:first&lt;/span&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.fadeIn&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;ul#wall:first&lt;/span&gt;: gets the first &lt;em&gt;li&lt;/em&gt; element (the last added) into the ul list with id &quot;#wall&quot;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. insert.php&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;insert.php&lt;/em&gt; contains some lines of PHP code to insert the new message into a database table. In this example I created a table &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;WALL&lt;/span&gt; with just one attribute &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&quot;message&quot;&lt;/span&gt;. PHP code is very simple:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;isset&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;message_wall&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;])){&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/* Connection to Database */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;include&lt;/span&gt;(&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;config.php&#39;&lt;/span&gt;)&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/* Remove HTML tag to prevent query injection */&lt;/span&gt;&lt;br /&gt;$message &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; strip_tags&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;message_wall&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;])&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$sql &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;INSERT INTO WALL (message) VALUES(&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;    &quot;&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$message&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&quot;)&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;mysql_query&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$sql&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; $message;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;{&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;0&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;That&#39;s all! Download the source code ready to use in your web projects.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/pskmjcsiqa&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add a comment for questions or suggestions, thanks!</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-implement-post-to-wall-facebook.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_TqPdHmAEwTM/SgNHu4at28I/AAAAAAAAEB4/h8roJ7qGOCU/s72-c/wall.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-9096275034122707551</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:04.719-07:00</atom:updated><title>How to manage a small web project: a simple approach</title><description>Some times ago I wrote a post about a &lt;a href=&quot;http://woork.blogspot.com/2009/01/structured-process-you-must-know-to.html&quot;&gt;structured process you must know to develop a web application&lt;/a&gt; and many readers asked to me to write something simpler about how to manage a small web project. I think there are not general rules for that but, without doubt, a correct approach can help you manage your projects more efficently and achieve quickly the final result.&lt;br /&gt;&lt;br /&gt;I prepared this picture that illustrates a simple process with 3 main phases you can use as reference to manage a small web project:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_TqPdHmAEwTM/ShW1PmGPj9I/AAAAAAAAEGY/gRdxzxw-jMI/proj12.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;strong style=&quot;font-size: 15px;&quot;&gt;1. Planning &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Plan what you have to do, how you have to do it and in which time.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.1 Define project scope&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;First step: Identify &lt;em&gt;4-5 high-level points&lt;/em&gt; which define the scope of your project. Don&#39;t underrate the importance of this step because if you are able to describe your project in a nutshell, it means you have a clear idea about what you have to do. So it will be simpler to realize it.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.2. Identify main features to implement&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Second step: Identify main features of your web project and add, for each of them, some details such as relationships, general notes, ecc. For example image to have a simple project with only two main features: &lt;em&gt;user login&lt;/em&gt; and &lt;em&gt;profile management&lt;/em&gt;. You can represent them in this way:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_TqPdHmAEwTM/ShRq8CRm-aI/AAAAAAAAEFs/gHrJm3Ud9Is/mf1.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;That&#39;s a simplified example only to give you an idea.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.3. Define sitemap&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Next step: define a &lt;em&gt;sitemap&lt;/em&gt; of your project with files and folder. Be accurate in identifying all files to implement (HTML/PHP page, JavaScript files,...) because they are final deliverables to implement.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/ShWpJI-ETMI/AAAAAAAAEGQ/wgJBb-NaY3c/sitemap.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.4. Plan a daily to-do list&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Set &lt;em&gt;daily milestones&lt;/em&gt; using a simple to-do list. So everyday you&#39;ll know exactly what you have to do. In this way, you can easy monitor your progress measuring what you did a certain day and what had to do.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_TqPdHmAEwTM/ShW9fC_r0AI/AAAAAAAAEGc/mqlU6dx2Jig/prog3.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong style=&quot;font-size: 15px;&quot;&gt;2. Developing and testing&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In this phase: write HTML, CSS, PHP, JavaScript... code and test small portions of code during developing (preliminary test). So it wil be simpler find bugs and errors. When your web application is ready, stress it with a &lt;em&gt;final test&lt;/em&gt; to catch errors you didn&#39;t find during preliminary test which cause unexpected behaviors .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong style=&quot;font-size: 15px;&quot;&gt;3. Publishing&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now you are ready to publish your project on-line. When your website or web application is on-line do a last test on what you published to assure you that it&#39;s all ok. That&#39;s all!&lt;br /&gt;&lt;br /&gt;If you have some suggestion please leave a comment, thanks!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;External links&lt;/h5&gt;Take also a look at these links:&lt;br /&gt;&lt;br /&gt;- &lt;a href=&quot;http://en.wikipedia.org/wiki/Software_development_methodologies&quot;&gt;Software development methodology&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://en.wikipedia.org/wiki/Agile_software_development&quot;&gt;Agile software development - Wikipedia, the free encyclopedia&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://agilemanifesto.org/&quot;&gt;Manifesto for Agile Software Development&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;Related posts&lt;/h5&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/01/structured-process-you-must-know-to.html&quot;&gt;Structured process you must know to develop a web application&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/02/simple-process-to-estimate-time-and.html&quot;&gt;Simple process to estimate times and costs in a web project&lt;/a&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-manage-small-web-project-simple.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_TqPdHmAEwTM/ShW1PmGPj9I/AAAAAAAAEGY/gRdxzxw-jMI/s72-c/proj12.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-8183664269414881445</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:03.638-07:00</atom:updated><title>How to implement a news ticker with jQuery and ten lines of code</title><description>After my &lt;a href=&quot;http://woork.blogspot.com/2008/07/fantastic-news-ticker-newsvine-like.html&quot;&gt;previous posts&lt;/a&gt; about how to implement a &lt;em&gt;news ticker&lt;/em&gt; with MooTools I received a lot of emails from my readers that asked to me to implement a similar feature with jQuery, including fade in and fade out effects, in the simpler possible way. So in this post I want to illustrate you how to implement a nice news ticker using jQuery and just ten lines of Javascript code. The result is something like this:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/ShxEgKHJBLI/AAAAAAAAEHQ/CPtCEIThrqI/slider.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I suggest you to &lt;a href=&quot;http://woorktuts.110mb.com/newstickerjq/index.html&quot;&gt;take a look at this live preview&lt;/a&gt; and download the source code to understand how it works. In the source code I added a file called &lt;em&gt;base.html&lt;/em&gt; that contains the basic structure of this ticker you can quickly reuse and customize in your web project.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/qt1g82jkgc&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;A little introduction&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Step 1&lt;/em&gt;: image to have a &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;ul&amp;gt;&lt;/span&gt; list with ID = &lt;em&gt;listticker&lt;/em&gt;. This list contains some list elements &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;li&amp;gt;&lt;/span&gt; (in this case: My News 1, My News 2, ...). First step is: get the first element of the list, save its content into a var and remove it using a fade out effect.&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/ShxEgIfnShI/AAAAAAAAEHM/vjAdTtpMmQU/slider1.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can get the HTML code contained into the first element of the list (&lt;em&gt;#listticker&lt;/em&gt;) and assign it to a var (&lt;em&gt;first&lt;/em&gt;) using this simple code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;first &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;ul#listticker li:first&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.html&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;()&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To use fade out effect and remove the element you can use this code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;.fadeOut&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;slow&#39;&lt;/span&gt;, function&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;() {&lt;/span&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;this&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.remove&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();});&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Step 2&lt;/em&gt;: now you have to add the content saved into the var &lt;em&gt;first&lt;/em&gt; to the end of the list:&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh5.ggpht.com/_TqPdHmAEwTM/ShxGTcQ3oII/AAAAAAAAEHY/VBr4KQnCTnM/slider2.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You can use this simple code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;ul#listticker&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.append&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;first&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;...where &lt;span style=&quot;color: rgb(0, 153, 0); font-weight: bold;font-family:courier new;&quot; &gt;first&lt;/span&gt; is the var you used to save the content of the first element in the step 1.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;Step 3&lt;/em&gt;: Now you have to move up the content of the list (My News 2 is now the first element of the list) and repeat the entire process from the step 1.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/ShxOY__SReI/AAAAAAAAEHc/55XdP-I2Lro/slider4.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;In Javascript code section of this tutorial I used &lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;setInterval&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;()&lt;/span&gt;&lt;/span&gt; to repeat the process every 3 seconds (3.000 milliseconds). Ok, now take a look at HTML and Javascript code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HTML Code&lt;/strong&gt;&lt;br /&gt;HTML code is really simple. The only thing you have to do is adding an &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;ul&amp;gt;&lt;/span&gt; list with ID = &lt;em&gt;listticker&lt;/em&gt; and some list elements:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;ul id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;listticker&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;li&amp;gt;&lt;/span&gt;My News 1&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;li&amp;gt;&lt;/span&gt;My News 2&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;li&amp;gt;&lt;/span&gt;My News 3&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;li&amp;gt;&lt;/span&gt;My News 4&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;li&amp;gt;&lt;/span&gt;My News 5&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Remeber to add into the tag &amp;lt;head&amp;gt; of the page where you want to implement this ticker a link to jQuery:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;jquery.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Javascript Code&lt;/strong&gt;&lt;br /&gt;Take a look at the follow code. I implement 2 functions &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;removeFirst()&lt;/span&gt; and &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;addLast()&lt;/span&gt;. Each function contains five lines of code. Total lines for &quot;conceptual&quot; code: 10 lines! I promised! :)&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;document&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.ready&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;function&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; first &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; speed &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;700&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; pause &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;3000&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;        &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;function&lt;/span&gt; removeFirst&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 24px;&quot;&gt;            first &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;ul#listticker li:first&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;)&lt;/span&gt;.html&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;br /&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;ul#listticker li:first&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;br /&gt; .animate&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;({&lt;/span&gt;opacity&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt; 0&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;}&lt;/span&gt;, speed&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;br /&gt; .fadeOut(&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;slow&#39;&lt;/span&gt;, function&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;() {&lt;/span&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;)&lt;/span&gt;.remove&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();});&lt;/span&gt;&lt;br /&gt; addLast&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;first&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;/div&gt;        &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;function&lt;/span&gt; addLast&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;first&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 24px;&quot;&gt;            last &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;&lt;li style=&quot;display: none;&quot;&gt;&#39;+&lt;/li&gt;&lt;/span&gt;first+&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;;&lt;/span&gt;&lt;br /&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;ul#listticker&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.append&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;last&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;br /&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;ul#listticker li:last&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;br /&gt; .animate&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;({&lt;/span&gt;opacity&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt; 1&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;}&lt;/span&gt;, speed&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;br /&gt; .fadeIn&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;slow&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;/div&gt;        &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;interval &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;setInterval&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;removeFirst, pause&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;});&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In the last line I used:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;interval &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;setInterval&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;removeFirst, pause&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;...it calls the function &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;removeFirst()&lt;/span&gt;every 3 seconds (&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;3000&lt;/span&gt; milliseconds) and in this way I create ad infinite loop.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/qt1g82jkgc&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you have suggestions to improve the code please leave a comment. Thanks!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;Related Posts&lt;/h5&gt;If you are interested on other about this topic take a look at the following posts:&lt;br /&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2008/07/news-ticker-with-horizontal-scroller.html&quot;&gt;News ticker with horizontal scrolling&lt;br /&gt;&lt;/a&gt;- &lt;a href=&quot;http://woork.blogspot.com/2008/07/fantastic-news-ticker-newsvine-like.html&quot;&gt;Fantastic News Ticker Newsvine-like&lt;br /&gt;&lt;/a&gt;- &lt;a href=&quot;http://woork.blogspot.com/2008/10/automatic-news-ticker-with-vertical.html&quot;&gt;Automatic news ticker with vertical scrolling and Start/Resume options&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2008/10/joomla-extension-news-ticker-vine.html&quot;&gt;Joomla! extension: super news ticker&lt;/a&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-implement-news-ticker-with.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/_TqPdHmAEwTM/ShxEgKHJBLI/AAAAAAAAEHQ/CPtCEIThrqI/s72-c/slider.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-158978601546306521</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:01.916-07:00</atom:updated><title>Simple PHP Twitter Search ready to use in your web projects</title><description>After my previous tutorial that illustrated how to implement a &lt;a href=&quot;http://woork.blogspot.com/2009/06/super-simple-way-to-work-with-twitter.html&quot;&gt;super simple way to work with Twitter API (PHP + CSS)&lt;/a&gt; I received a lot of emails from my readers that asked to me to write a post about how to implement a &lt;em&gt;simple Twitter search&lt;/em&gt; and display search results in a web page with a custom format. So in this tutorial I want to illustrate how you can implement that using a very useful Twitter Search API for PHP developed by &lt;a href=&quot;http://davidbillingham.name/&quot;&gt;David Billingham&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Using this simple method you can obtain, just in some lines of PHP and CSS code, awesome results like this:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_TqPdHmAEwTM/SkZ-nDCE1xI/AAAAAAAAEsI/c1IGyxqI10I/tweet1.png&quot; style=&quot;border: 1px solid rgb(222, 222, 222); padding: 6px;&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You can download the source code at the &lt;a href=&quot;http://www.box.net/shared/8h6usxihi2&quot;&gt;following link&lt;/a&gt; and reuse it for free in your web projects just in some seconds!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/8h6usxihi2&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. A little introduction&lt;/strong&gt;&lt;br /&gt;In this package you&#39;ll find two PHP file:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_TqPdHmAEwTM/SkaMX1RpZmI/AAAAAAAAEsk/YQB5lLMvezM/twwwe4.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;- &lt;em&gt;&lt;strong&gt;index.php&lt;/strong&gt;&lt;/em&gt;: the search page (search form + search results)&lt;br /&gt;- &lt;em&gt;&lt;strong&gt;search.php&lt;/strong&gt;&lt;/em&gt;: Twitter Search API for PHP&lt;br /&gt;&lt;br /&gt;You have to customize only &lt;em&gt;&lt;strong&gt;index.php&lt;/strong&gt;&lt;/em&gt; and your Twitter Search will be ready to be integrated into yor web projects in one minute!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Index.php&lt;/strong&gt;&lt;br /&gt;Take a look at &lt;em&gt;index.php&lt;/em&gt;. This page contains a simple search form:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form action&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;index.php&quot; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;method&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;input name&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&quot;twitterq&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twitterq&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;input name&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&quot;Search&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&quot;Search&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...and some lines of PHP code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;include&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;search.php&#39;&lt;/span&gt;);&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_GET&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;twitterq&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;]&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;   $twitter_query &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_GET&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;twitterq&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;$search &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;new&lt;/span&gt; TwitterSearch&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$twitter_query&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;$results&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $search&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;results&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;()&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$results &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;as&lt;/span&gt; $result&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;           &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;div class=&quot;twitter_status&quot;&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;img src=&quot;&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;profile_image_url.&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&quot; class=&quot;twitter_image&quot;&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;$text_n &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; toLink($result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;text);&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; $text_n;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;div class=&quot;twitter_small&quot;&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;strong&amp;gt;From:&amp;lt;/strong&amp;gt; &amp;lt;a href=&quot;http://www.twitter.com/&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;from_user&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&quot;&amp;gt;&#39;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;from_user.&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;/a&gt;: &#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;strong&amp;gt;at:&amp;lt;/strong&amp;gt; &#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;created_at;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt; &#39;&amp;lt;/div&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;/div&amp;gt;&#39;&lt;/span&gt;;&lt;/div&gt;   &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;font-family:courier new;&quot;&gt;$result &lt;/span&gt;is the array that contains search results. To display all elements of the array (search results) I used this simple loop:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$results &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;as&lt;/span&gt; $result&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;... and to get a specific attribute of the array I used this simple code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;name_of_element&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The structure of a tweet contains the following attributes (take a look at the &lt;a href=&quot;http://apiwiki.twitter.com/&quot;&gt;Twitter API home page&lt;/a&gt; for a full list):&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;[text]&lt;/span&gt;: Text of the current tweet&lt;br /&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt; [to_user_id]&lt;/span&gt;: User Id&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;    [from_user]&lt;/span&gt;: User name&lt;br /&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt; [id]&lt;/span&gt;: Tweet Id&lt;br /&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;[from_user_id]&lt;/span&gt;: User id&lt;br /&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt; [source]&lt;/span&gt;: Source of the current tweet&lt;br /&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt; [profile_image_url]&lt;/span&gt;: User profile image URL&lt;br /&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;[created_at]&lt;/span&gt;: Date of the current tweet&lt;/div&gt;&lt;br /&gt;...so, if you want to display the text of a tweet you can use this code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 0);&quot;&gt;text&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 0);&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The following line of code get the text of the current tweet and convert a textual link into a clickable link:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;$text_n &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; toLink($result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;text);&lt;/div&gt;&lt;br /&gt;That&#39;s all! Now download the source code, open and upload all files in your test server, open &lt;span style=&quot;font-weight: bold;&quot;&gt;index.php&lt;/span&gt; and try to search for something!&lt;br /&gt;If you have some suggestion, please add a comment!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/8h6usxihi2&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Related posts&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/06/super-simple-way-to-work-with-twitter.html&quot;&gt;Super simple way to work with Twitter API (PHP + CSS)&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html&quot;&gt;Send messages from a PHP page using Twitter API&lt;/a&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/simple-php-twitter-search-ready-to-use.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_TqPdHmAEwTM/SkZ-nDCE1xI/AAAAAAAAEsI/c1IGyxqI10I/s72-c/tweet1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-6300420301875771550</guid><pubDate>Wed, 29 Jul 2009 03:11:00 +0000</pubDate><atom:updated>2009-07-28T20:11:00.559-07:00</atom:updated><title>How to implement a launching soon page with PHP and jQuery</title><description>In this tutorial I want to explain how to implement a simple &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;launching soon page&lt;/span&gt;&lt;/em&gt; using PHP and jQuery. What&#39;s a launching soon page? In general it&#39;s a page that informs the visitors of a website under construction about when the website is going to be online and allows them to leave their emails in order to be updated when the website is on-line. A typical launching soon page contains a countdown and a form that collects emails from interested visitors. In this tutorial I implemented a launching soon page like this:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/Skj68E0n1II/AAAAAAAAE0w/fzKp0pt9GxA/launchsoon2.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Take a look at the &lt;a href=&quot;http://woorktuts.110mb.com/launchingsoonpage/&quot;&gt;live preview here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This page is very simple to modify and customize using just some lines of CSS code. You can also add the logo of your company and all elements you want with some lines of HTML code. &lt;a href=&quot;http://www.box.net/shared/i6fr5xqy79&quot;&gt;Download the source code&lt;/a&gt; of this tutorial you can customize and reuse in your web project for free!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/i6fr5xqy79&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;A little introduction&lt;/strong&gt;&lt;br /&gt;How I said this package is ready to use and contains these files:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_TqPdHmAEwTM/SkkS0-JWlmI/AAAAAAAAE08/iWOcaHH1_sk/launchsoon6.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;index.php&lt;/span&gt;&lt;/em&gt;: the launching soon page final interface (countdow + form)&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;config.php&lt;/span&gt;&lt;/em&gt;: enables database connection&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;insert.php&lt;/span&gt;&lt;/em&gt;: PHP code to add emails into a database table&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;js/jquery-1.3.2.min.js&lt;/span&gt;&lt;/em&gt;: jQuery framework&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;js/countdown.js&lt;/span&gt;&lt;/em&gt;: the countdown script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. index.php&lt;/strong&gt;&lt;br /&gt;index.php is the final interface of your launching soon page. How I said it contains a countdown and a form to allow users to leave their emails.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The countdown script&lt;/strong&gt;&lt;br /&gt;In order to implement the countdown I used this &lt;a href=&quot;http://www.dynamicdrive.com/dynamicindex6/dhtmlcount.htm&quot;&gt;dynamic countdown script&lt;/a&gt; that lets you count down to relative events of a future date/time. This future date, while the same for everyone, occurs differently depending on the time zone they&#39;re in. The result is here and it&#39;s fully customizable changing some lines of CSS code:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/SkkAcMyqi2I/AAAAAAAAE00/AQMLtH1geKc/launchsoon3.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The only thing you have to do is to add this line of code in the &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;head&amp;gt;&lt;/span&gt; tag of the page:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;js/countdown.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Then, in the tag &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;body&amp;gt;&lt;/span&gt; add the following lines of code to display the countdown:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;count_down_container&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; currentyear &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;Date&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;().&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;getFullYear&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; target_date &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;new&lt;/span&gt; cdtime&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;count_down_container&quot;, &quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;July 6&lt;/span&gt;, &quot;+&lt;/span&gt;currentyear&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;+&quot; 0:0:00&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;target_date&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;.&lt;/span&gt;displaycountdown&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;days&quot;&lt;/span&gt;, displayCountDown&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To set a target date you have to change this line modifying &lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;July 6&lt;/span&gt; and the hour &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;0:0:00 &lt;/span&gt;&lt;/span&gt;with your target date (for example 25 december)&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;&lt;/span&gt;&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;new&lt;/span&gt; cdtime&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;count_down_container&quot;, &quot;&lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;July 6&lt;/span&gt;, &quot;+&lt;/span&gt;currentyear&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;+&quot; &lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;0:0:00&lt;/span&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;...if your target date is &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;25 December&lt;/span&gt;&lt;/em&gt; the previous line becomes:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;new&lt;/span&gt; cdtime&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;count_down_container&quot;, &quot;&lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;December 25&lt;/span&gt;, &quot;+&lt;/span&gt;currentyear&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;+&quot; &lt;span style=&quot;font-weight: bold; color: rgb(153, 0, 0);&quot;&gt;0:0:00&lt;/span&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;If you want to change the style of the countdown you have to modify the following CSS classes:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;.count_down{&lt;/span&gt;...&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;.count_down sup{&lt;/span&gt;...&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In particular &lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;.count_down{}&lt;/span&gt; changes the format of the numbers and &lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;.count_down sup{}&lt;/span&gt; changes the style of the text &quot;days&quot;, &quot;hours&quot;, &quot;minutes&quot;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;jQuery and the input form&lt;/strong&gt;&lt;br /&gt;Ok, the countdown is ready! Next step: add this line of code to include jQuery in the &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;head&amp;gt;&lt;/span&gt; tag of the page:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;js/jquery-1.3.2.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Now, in the tag &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;body&amp;gt;&lt;/span&gt; add a simple form with an input field:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;submit_leave_email&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt; &amp;lt;input id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;input_leave_email&quot; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;class=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;input_bg&quot; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;value=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;Add your e-mail address&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt; &amp;lt;button type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt; class=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;input_button&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;Update me&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;...and add this layer to display a custom message when an user submit the form:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;update_success&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;E-mail added!&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...the result after the submission is here:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/SkkL_VRtNqI/AAAAAAAAE04/XcX13rmblSs/launchsoon4.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The form with the input field disappears with a nice fade-out effect and a success message appears in its place. Now, in the&lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt; &amp;lt;head&amp;gt;&lt;/span&gt; tag, after the line of code that includes jQuery, add this script to enable ajax functionalities to insert emails added from users into a  database table without reload the page:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;$&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;document&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.ready&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;function&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt; $&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;form#submit_leave_email&quot;&lt;/span&gt;).submit&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;function&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;() {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; input_leave_email &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;#input_leave_email&#39;&lt;/span&gt;).attr&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;value&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;$.ajax&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;({&lt;/span&gt;&lt;br /&gt;type&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;POST&quot;&lt;/span&gt;,&lt;br /&gt;url&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;insert.php&quot;&lt;/span&gt;,&lt;br /&gt;data&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;input_leave_email=&quot;+&lt;/span&gt; input_leave_email,&lt;br /&gt;success&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;$(&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;#submit_leave_email&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.fadeOut&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;br /&gt;$(&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;#update_success&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.fadeIn&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;  });&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;return false;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt; });&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;});&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. insert.php&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;insert.php&lt;/em&gt; contains some lines of PHP code to insert an email address into a database table. In this example I created a table &lt;span style=&quot;color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;EMAIL&lt;/span&gt; with just one attribute &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&quot;email&quot;&lt;/span&gt;. PHP code is very simple:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;isset&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 51, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;input_leave_email&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;])){&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/* Connection to Database */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;include&lt;/span&gt;(&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;config.php&#39;&lt;/span&gt;)&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/* Remove HTML tag to prevent query injection */&lt;/span&gt;&lt;br /&gt;$email &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; strip_tags&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;input_leave_email&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;])&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$sql &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;INSERT INTO WALL (email) VALUES(&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;    &quot;&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$email&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&quot;)&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;mysql_query&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$sql&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; $email;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;{&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;0&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now, remember to modify your database connection parameters in &lt;span style=&quot;font-weight: bold;&quot;&gt;config.php&lt;/span&gt; and upload all files on your testing server. Than load&lt;span style=&quot;font-weight: bold;&quot;&gt; index.php&lt;/span&gt; and see the result!&lt;br /&gt;&lt;br /&gt;Take a look at the &lt;a href=&quot;http://woorktuts.110mb.com/launchingsoonpage/&quot;&gt;live preview here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;That&#39;s all! &lt;a href=&quot;http://www.box.net/shared/i6fr5xqy79&quot;&gt;Download the source code&lt;/a&gt;  of this tutorial you can customize and reuse in your web project for free! Leave a comment for your suggestions, thanks!</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-implement-launching-soon-page.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/_TqPdHmAEwTM/Skj68E0n1II/AAAAAAAAE0w/fzKp0pt9GxA/s72-c/launchsoon2.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-7557802152456107923</guid><pubDate>Wed, 29 Jul 2009 03:10:00 +0000</pubDate><atom:updated>2009-07-28T20:10:58.925-07:00</atom:updated><title>Twitter API: How to create a stream of messages Monitter-like with PHP and jQuery</title><description>This tutorial illustrates a very simple way to work with the Twitter API in order to implement a search in the Twitter public timeline and display search results with an animated stream of messages (tweets) similar to &lt;a href=&quot;http://monitter.com/&quot;&gt;Monitter&lt;/a&gt;. In this example I used PHP, jQuery and a very useful Twitter Search API for PHP based on the work of &lt;a href=&quot;http://davidbillingham.name/&quot;&gt;David Billingham&lt;/a&gt; and actually developed by &lt;a href=&quot;http://twitter.com/ryanfaerman&quot;&gt;Ryan Faerman&lt;/a&gt;. This implementation is very simple to customize and integrate on your project. The result is something linke this:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_TqPdHmAEwTM/Slm_l9eKfxI/AAAAAAAAFVo/FzPykgQs5YA/stream3.jpg&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You can &lt;a href=&quot;http://www.box.net/shared/vpjkvo4oe1&quot;&gt;download the full code here&lt;/a&gt; and reuse it for free on your projects.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/vpjkvo4oe1&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I suggest you to take also a look at these posts:&lt;br /&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/06/simple-php-twitter-search-ready-to-use.html&quot;&gt;Simple PHP Twitter Search ready to use in your web projects&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/06/super-simple-way-to-work-with-twitter.html&quot;&gt;Super simple way to work with Twitter API (PHP + CSS)&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html&quot;&gt;Send messages from a PHP page using Twitter API&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. A little introduction&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This package contains the following files:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/SlnE7Q1jbQI/AAAAAAAAFVs/KWUJ_jHCsmk/stream4.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;index.php&lt;/span&gt;&lt;/em&gt;: page with the search form + search results&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;search.php&lt;/span&gt;&lt;/em&gt;: PHP search&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;twitterapi.php&lt;/span&gt;&lt;/em&gt;: Twitter Search API for PHP&lt;br /&gt;- &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;jquery/jquery-1.3.2.min.js&lt;/span&gt;&lt;/em&gt;: jQuery framework&lt;br /&gt;&lt;br /&gt;How it works? After submission the search form calls an ajax request to the page &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;search.php&lt;/span&gt;&lt;/em&gt; that returns search results into an array. Each element of the array (every single tweet) appears into the div &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;twitter-results&lt;/span&gt;&lt;/em&gt; with a nice fade-in effect. I set a delay between each tweet equal 2 seconds (2000 ms).&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/Slm5qWTBhYI/AAAAAAAAFVY/TNiEaxgkZoA/stream1.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I suggest  you to take a look at &lt;a href=&quot;http://monitter.com/&quot;&gt;Monitter&lt;/a&gt;, and &lt;a href=&quot;http://www.box.net/shared/vpjkvo4oe1&quot;&gt;download the full code&lt;/a&gt; to try this tutorial on your local host. Now, take a look at the code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. index.php: HTML code&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;HTML code is very simple. Copy the following code in the tag &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;body&amp;gt;&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div class=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twitter_container&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;form id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twittersearch&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;method=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;action=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;input name=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twitterq&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text&quot; &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twitterq&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;button type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;submit&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&lt;/span&gt;Search&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 102, 0);&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;div id=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twitter-results&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;...and add into the tag &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);font-family:courier new;&quot; &gt;&amp;lt;head&amp;gt;&lt;/span&gt; of the page a link to jQuery:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;src=&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;jquery.js&quot;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The result is a simple search form:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://lh4.ggpht.com/_TqPdHmAEwTM/Slm9VrbEzyI/AAAAAAAAFVg/BaTUtjVsiGs/stream2.png&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. search.php&lt;/strong&gt;&lt;br /&gt;Now copy and paste the following code into &lt;em&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;search.php&lt;/span&gt;&lt;/em&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;&amp;lt;?php &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;include&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;search.php&#39;&lt;/span&gt;);&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_POST&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;twitterq&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;]&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;   $twitter_query &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;$_POST&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;twitterq&#39;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;]&lt;/span&gt;;&lt;br /&gt;$search &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;new&lt;/span&gt; TwitterSearch&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$twitter_query&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;$results&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $search&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;results&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;()&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$results &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;as&lt;/span&gt; $result&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;           &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;div class=&quot;twitter_status&quot;&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;img src=&quot;&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;profile_image_url.&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&quot; class=&quot;twitter_image&quot;&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;$text_n &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; toLink($result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;text);&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; $text_n;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;div class=&quot;twitter_small&quot;&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;strong&amp;gt;From:&amp;lt;/strong&amp;gt; &amp;lt;a href=&quot;http://www.twitter.com/&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;from_user&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&quot;&amp;gt;&#39;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;from_user.&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;/a&gt;: &#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;strong&amp;gt;at:&amp;lt;/strong&amp;gt; &#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;.&lt;/span&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;created_at;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt; &#39;&amp;lt;/div&amp;gt;&#39;&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&#39;&amp;lt;/div&amp;gt;&#39;&lt;/span&gt;;&lt;/div&gt;   &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;font-family:courier new;&quot; &gt;$result &lt;/span&gt;is the array that contains search results. To display all elements of the array (search results) I used this simple loop:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;foreach&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;$results &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;as&lt;/span&gt; $result&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;... and to get a specific attribute of the array I used this simple code:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;$result&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;-&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;name_of_element&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Take a look at &lt;a href=&quot;http://woork.blogspot.com/2009/06/simple-php-twitter-search-ready-to-use.html&quot;&gt;this post&lt;/a&gt; for info about the search on Twitter.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. index.php: JavaScript Code&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now take a look at the following JavaScript code that enables an ajax request for the search and display results into the page index.php with a fade in effect and a delay between each tweet equal to 2 seconds:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;code&quot;&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;script type=&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;text/javascript&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;$(&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;document&lt;/span&gt;).ready&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 0);&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; twitterq = &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;function&lt;/span&gt; displayTweet&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(){&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; i &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; limit &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;#twitter-results &gt; div&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.size&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; myInterval &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;window&lt;/span&gt;.&lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;setInterval&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;function &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;() {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;var&lt;/span&gt; element &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt;  $&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;#twitter-results div:last-child&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;#twitter-results&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.prepend&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;element&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;element.fadeIn&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;slow&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;++&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;if(&lt;/span&gt;i&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;==&lt;/span&gt;limit&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;window&lt;/span&gt;.&lt;span style=&quot;color: rgb(51, 153, 153);&quot;&gt;setTimeout&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;function&lt;/span&gt; &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;() {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 51, 204);&quot;&gt;clearInterval&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;myInterval&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;        });&lt;/span&gt;&lt;/div&gt;       &lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;   }&lt;/span&gt;,&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;2000&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;form#twittersearch&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.submit&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;function&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;twitterq &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;#twitterq&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.attr&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&#39;value&#39;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;$.ajax&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;({&lt;/span&gt;&lt;div style=&quot;margin-left: 14px;&quot;&gt;type&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;POST&quot;&lt;/span&gt;,&lt;br /&gt;url&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;search.php&quot;&lt;/span&gt;,&lt;br /&gt;cache&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;false&lt;/span&gt;,&lt;br /&gt;data&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;twitterq=&quot;+&lt;/span&gt; twitterq,&lt;br /&gt;success&lt;span style=&quot;font-weight: bold; color: rgb(51, 102, 255);&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 0);&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;html&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;){&lt;/span&gt;&lt;br /&gt;$&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&quot;#twitter-results&quot;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;)&lt;/span&gt;.html&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;(&lt;/span&gt;html&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;);&lt;/span&gt;&lt;br /&gt;displayTweet&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;           }&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;       });&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;return false;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;});&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;});&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;This is a very basic implementation you can modify to get a real-time stream of messages for example calling a new ajax request (to search.php) every time the current array with the search results is totally displayed in the page.&lt;br /&gt;&lt;br /&gt;That&#39;s all. If you have some suggestion please add a comment. Thanks!&lt;br /&gt;You can &lt;a href=&quot;http://www.box.net/shared/vpjkvo4oe1&quot;&gt;download the full code of this tutorial here&lt;/a&gt; and reuse it on your projects.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.box.net/shared/vpjkvo4oe1&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_TqPdHmAEwTM/Sg_-cg8AxKI/AAAAAAAAEEA/xKmP9-LvnEQ/download.png&quot; align=&quot;absmiddle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;Related posts&lt;/h5&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/06/simple-php-twitter-search-ready-to-use.html&quot;&gt;Simple PHP Twitter Search ready to use in your web projects&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2009/06/super-simple-way-to-work-with-twitter.html&quot;&gt;Super simple way to work with Twitter API (PHP + CSS)&lt;/a&gt;&lt;br /&gt;- &lt;a href=&quot;http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html&quot;&gt;Send messages from a PHP page using Twitter API&lt;/a&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/twitter-api-how-to-create-stream-of.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/_TqPdHmAEwTM/Slm_l9eKfxI/AAAAAAAAFVo/FzPykgQs5YA/s72-c/stream3.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-1457407591677292018</guid><pubDate>Tue, 28 Jul 2009 07:46:00 +0000</pubDate><atom:updated>2009-07-28T00:46:01.449-07:00</atom:updated><title>Link Exchange</title><description>Hi, you all must be knowing the importance of backlinks and its impact on your blog&#39;s traffic. Here I start the link exchange programme for this blog.&lt;br /&gt;&lt;br /&gt;If you want to display your link here, just place link to my blog and comment here with your blog rul, I&#39;ll check whether my link is place or not, and if placed , will immediately place your link here.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://tech-hutblog.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Tech Hut&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.4all2all.net/&quot; target=&quot;_blank&quot;&gt;for ALL to ALL&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://quotes-book.blogspot.com/&quot;&gt;Quotes-Book&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://ourezone.blogspot.com/&quot;&gt;Entertainment Zone&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.onlyfreestuffhereblogs.blogspot.com/&quot;&gt;Blog Giveaways&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://nurazri.com/&quot;&gt;Nurazri&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://makemoneybloggingconcepts.blogspot.com/&quot;&gt;Make Money Blogging &lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://tech-feast.blogspot.com/&quot;&gt;TechFeast&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/link-exchange.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-3839067422691182978</guid><pubDate>Tue, 28 Jul 2009 07:46:00 +0000</pubDate><atom:updated>2009-07-28T00:46:00.375-07:00</atom:updated><title>The complete list Free Blogging Platforms.</title><description>Now-a-days,blogging has been sought a great source of earning some good online income.But still many people wonder from where to start.So,here I am providing the complete list of free blogging platform available over the internet -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;     Aeonity.com&lt;/li&gt;&lt;li&gt;     blog.com&lt;/li&gt;&lt;li&gt;     blogates.com&lt;/li&gt;&lt;li&gt;     blogetery.com&lt;/li&gt;&lt;li&gt;     blogger.com&lt;/li&gt;&lt;li&gt;     blogr.com&lt;/li&gt;&lt;li&gt;     blogsome.com&lt;/li&gt;&lt;li&gt;     blogster.com&lt;/li&gt;&lt;li&gt;     bravenet.com/webtools/journal/&lt;/li&gt;&lt;li&gt;     clearblogs.com&lt;/li&gt;&lt;li&gt;     ehow.com&lt;/li&gt;&lt;li&gt;     googlepages.com&lt;/li&gt;&lt;li&gt;     hubpages.com&lt;/li&gt;&lt;li&gt;     iseekblog.com&lt;/li&gt;&lt;li&gt;     myspace.com&lt;/li&gt;&lt;li&gt;     pbwiki.com&lt;/li&gt;&lt;li&gt;     quazen.com&lt;/li&gt;&lt;li&gt;     rticlz.com&lt;/li&gt;&lt;li&gt;     sampa.com&lt;/li&gt;&lt;li&gt;     squarespace.com&lt;/li&gt;&lt;li&gt;     squidoo.com&lt;/li&gt;&lt;li&gt;     stikipad.com&lt;/li&gt;&lt;li&gt;     thoughts.com&lt;/li&gt;&lt;li&gt;     tumblr.com&lt;/li&gt;&lt;li&gt;     wikispaces.com&lt;/li&gt;&lt;li&gt;     wordpress.com&lt;/li&gt;&lt;/ol&gt;As per the &lt;a href=&quot;http://www.pcworld.com/article/id,128620-page,1/article.html&quot;&gt;PCWorld.com&lt;/a&gt;,top 5 among the are -&lt;br /&gt;&lt;ol style=&quot;list-style-type: decimal;&quot;&gt;&lt;li&gt;Blogger.com&lt;/li&gt;&lt;li&gt;Wordpress.com&lt;/li&gt;&lt;li&gt;Typepad.com&lt;/li&gt;&lt;li&gt;Tripod.com&lt;/li&gt;&lt;li&gt;Squarespace.com&lt;/li&gt;&lt;/ol&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/complete-list-free-blogging-platforms.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-6611662113576557024</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:59.455-07:00</atom:updated><title>Got Error while uploading Template - bX-2nuf8g</title><description>After making the first post here,I thought of changing the Blogger template.I never liked the default templates provided here at Blogger.After finding a suitable template (after 2 hrs. of search), I just tried to upload it to my blog , but I got this error message from Blogger - bX-2nuf8g. I tried one more time but same message.I retried for 5 times more,but in vain.&lt;br /&gt;&lt;br /&gt;Then I just checked my other blog by uploading the template there, doubting if there is any problem in that specific blog, but still the same error message - bX-2nuf8g.&lt;br /&gt;&lt;br /&gt;Then I searched blogger help for this error message.There I got to know that this message ( and every message starting with &quot;bx-&quot; have no specific meaning.They adviced to delete your cookies and cache and retry. But this also didn&#39;t help ,then I used 2nd option available there - Report your Error Message to Blogger.&lt;br /&gt;&lt;br /&gt;here&#39;s the link for that -&lt;br /&gt;http://groups.google.com/group/blogger-help/web/report-your-bx-code-bug-here&lt;br /&gt;&lt;br /&gt;Well let&#39;s see what Blogger can help me with.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;UPDATE:&lt;br /&gt;&lt;/span&gt;Solution - Just change your browser,I tried with Apple Safari and got my work done.&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/got-error-while-uploading-template-bx.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-4122876742133064104</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:58.601-07:00</atom:updated><title>At last added a Custom Domain from GoDaddy.com to Blogger!!!</title><description>As I am blogging since last 1 year I know the importance of having your own domain.&lt;br /&gt;&lt;br /&gt;I changed to custom domain on the 2nd day of starting the blog at Blogger,because if I&#39;ve done that later,it would have resulted in a great drop in my traffic and low rankings on the search engine result pages.&lt;br /&gt;&lt;br /&gt;I choose Godaddy.com for registering a domain,because it&#39;s cheapest,  safe, and has partenered with Blogger for providing custom domains.But it costs $10/domain per year if you purchased it through Blogger.Thats why I purchased it directly from GoDaddy.com using some promo coupons and got the domain registered for 5 years for $35.75 only.&lt;br /&gt;&lt;br /&gt;So you have registered a domain with GoDaddy.com, next -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Login to your account at GoDaddy.com .&lt;/li&gt;&lt;li&gt;Click on &quot;Manage Domains&quot;.&lt;/li&gt;&lt;li&gt;Click on your domain where you want to host your Blogger blog.&lt;/li&gt;&lt;li&gt;There will be one option availabe - &quot;&lt;span id=&quot;fullpost&quot;&gt;Total DNS Control And MX Records&quot;.(Note- You will not get this option unless you click on your domain.)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;There will be a record prefixed - &quot;www&quot;,in front of it there will be edit option(image of a pencil), click it.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;In the option &quot;Point to Host&quot; - enter this - &quot;ghs.google.com&quot;.Please DO NOT change anything. Click ok.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;That&#39;s it you have added google&#39;s server to your domain.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;Now if you want to can check whether everything is fine or not,open Command Prompt(Start&gt;Run&gt;Command).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;Type - &quot;ping www.yourdomain.com&quot; and press enter.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;If everything is ok you will a response like this -&lt;blockquote&gt;Pinging ghs.1.google.com [72.14.207.121] with 32 bytes of data: Reply from 72.14.207.121: bytes=32 time=85ms TTL=247 Reply from 72.14.207.121: bytes=32 time=89ms TTL=247 Reply from 72.14.207.121: bytes=32 time=86ms TTL=247 Reply from 72.14.207.121: bytes=32 time=86ms TTL=247 Ping statistics for 72.14.207.121: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 85ms, Maximum = 89ms, Average = 86ms&lt;/blockquote&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span id=&quot;fullpost&quot;&gt;Now everything is done add your custom domain to your Blogger blog.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;This way I got my blog address changed from &quot;the-webmasters-blog.blogspot.com&quot; to &quot;webmasters-blog.com&quot;.(I must rather say &quot;www.webmasters-blog.com&quot;,because Blogger can add either &quot;www.webmasters-blog.com&quot; or &quot;webmasters-blog.com&quot; to my blog,and I preferred first.)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Update:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;I was completely unaware that with Godaddy domain I&#39;ve got a Free Godaddy Hosting Account,hence I added it to Blogger.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;But now I&#39;ve decided to Host another Wordpress Blog at the Godaddy Domain - www.webmasters-blog.com  and also have one Blogger blog =&gt; free-blogger-help.blogspot.com&lt;/span&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/at-last-added-custom-domain-from.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-6428579508801828988</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:57.424-07:00</atom:updated><title>How to add a horizontal navigation bar or menu to Blogger?</title><description>We have seen a horizontal menu or a navigation bar on many websites and blogs especially the wordpress blogs.But very few Blogger blogs have a horizontal navigation bar like we have here at our blog.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjww29D3LKGhOK5HBTm5smGzORbcf0oQMMjKg2MOWxkdtoHurtLvz78PR4BkUmcNAjuADRM3psRyDA6Rb3BUxv69i-qBK1_l7sfhbivaRO_ZlLb-uwiry-nJ8jw7kXCrxpOzGenmAhVLLok/s1600-h/menu.JPG&quot;&gt;&lt;img style=&quot;cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjww29D3LKGhOK5HBTm5smGzORbcf0oQMMjKg2MOWxkdtoHurtLvz78PR4BkUmcNAjuADRM3psRyDA6Rb3BUxv69i-qBK1_l7sfhbivaRO_ZlLb-uwiry-nJ8jw7kXCrxpOzGenmAhVLLok/s400/menu.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5221817698332511234&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here are some simple steps for setting up a Horizontal Navigation Bar -&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 1.-&lt;/span&gt;Dashboard &gt; Layout &gt; Edit HTML. Here find this -  &lt;span style=&quot;font-style: italic;&quot;&gt;/* Header */&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 2.- &lt;/span&gt;Add this code below that -&lt;br /&gt;&lt;blockquote&gt;#menu ul li{&lt;br /&gt;font-size:100%;&lt;br /&gt;list-style-type: none;&lt;br /&gt;display:inline;&lt;br /&gt;padding:0px;&lt;br /&gt;margin:10px;&lt;br /&gt;border:0px solid;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#menu li a{&lt;br /&gt;color:#dfffed;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#menu li a:visited {&lt;br /&gt;color: #57E964;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#menu li a:hover {&lt;br /&gt;color: #F88017;&lt;br /&gt;background: #ffff66;&lt;br /&gt;}&lt;/blockquote&gt;You should edit this code after step 6,so that you could know how does it looks like.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;(Edit margin values for placement,and various html color values below for respective colours.)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 3.- &lt;/span&gt;Find this -&lt;blockquote&gt;b:section class=&#39;header&#39; id=&#39;header&#39; &lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;maxwidgets=&#39;1&#39;&lt;/span&gt; &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;showaddelement=&#39;no&#39;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 4.- &lt;/span&gt;Change -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;showaddelement=&#39;&lt;/span&gt;no&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;  to showaddelement=&#39;&lt;span style=&quot;color: rgb(204, 0, 0);&quot;&gt;yes&lt;/span&gt;&#39;&lt;/li&gt;&lt;li&gt;            maxwidgets=&#39;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;1&lt;/span&gt;&#39; to maxwidgets=&#39;&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt;4&lt;/span&gt;&#39;&lt;/li&gt;&lt;/ol&gt;Save template and go to Page Elements.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 5.-&lt;/span&gt; In the Header , Add Page Element &gt; Add HTML .&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 6.-&lt;/span&gt; Leave the title &lt;span style=&quot;font-weight: bold;&quot;&gt;Blank &lt;/span&gt;and&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;add the following code in text field -&lt;br /&gt;&lt;blockquote&gt;&amp;lt;div id=&#39;menu&#39;&amp;gt;&lt;br /&gt;&amp;lt;ul&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Your URL&lt;/span&gt;&quot;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Your URL&lt;/span&gt;&quot;&amp;gt;Advertise&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Your URL&lt;/span&gt;&quot;&amp;gt;About Me&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;li&amp;gt;&amp;lt;a href=&quot;mailto:&lt;span style=&quot;color: rgb(255, 0, 0); font-weight: bold;&quot;&gt;YOUR EMAIL ADDRESS&lt;/span&gt;&quot;&amp;gt;Contact&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;/blockquote&gt;Add your desired values in above code marked red. Save it.&lt;br /&gt;&lt;br /&gt;Now you can edit the code in&lt;span style=&quot;font-weight: bold;&quot;&gt; Step 2.&lt;/span&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-add-horizontal-navigation-bar-or.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjww29D3LKGhOK5HBTm5smGzORbcf0oQMMjKg2MOWxkdtoHurtLvz78PR4BkUmcNAjuADRM3psRyDA6Rb3BUxv69i-qBK1_l7sfhbivaRO_ZlLb-uwiry-nJ8jw7kXCrxpOzGenmAhVLLok/s72-c/menu.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-230766206298508657</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:56.362-07:00</atom:updated><title>Submit your blog to High PageRank Directories.</title><description>As many of you know that submitting your blogs to different directories will help you in increasing traffic.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How does it help ?&lt;/span&gt;&lt;br /&gt;- By submitting your blog to directories and getting listed there will increase exposure of your blog to Search Engines. Also it increases your PageRank which determines your Search Engine Result Position (SERP),thus getting you more traffic.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Where to Submit your Blogs ?&lt;br /&gt;&lt;/span&gt;- Here is the complete list of oneway directories with high Pagerank.&lt;br /&gt;&lt;ol style=&quot;list-style-type: decimal;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;dmoz.org - PR9&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;2rss.com - PR7&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;kids.yahoo.com/submissions/suggest_site - PR7&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;ExactSeek.com - PR7&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Jayde.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;SuperPages.ca - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Patient.co.uk - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;BestCatalog.net - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Gimpsy.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Bizweb.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Haaba.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Canadopedia.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Web-Beacon.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;ClearLeadInc.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;aigam.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;BooksMusicVideo.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Chiff.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;WebWorldIndex.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;IllumiRate.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Americasbest.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;SoMuch.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Re-Quest.net - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;PsychNet-UK.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Clickey.com - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;ProudlyCanadian.net - PR6&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;turnpike.net/directory.html - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Earthstation9.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Re-quest.net - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;MavicaNet.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Greenstalk.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Smallerbizz.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Emfind.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Hoppa.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;prolinkdirectory.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;AllTheBizz.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Click4Choice.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Websavvy.cc - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;iMarvel.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;CyberWebSearch.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;DC2NET.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;cantufind.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Josh.nu - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;verajane.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;thewebsite***istant.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Webs-Best-Directory.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;MyAllFish.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Yeandi.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;Bontonic.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;AllFreeThings.comR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;fitnesspros.net - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;SmartLinks.org - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;charolabap.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;money-talk.org/directory - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;cgbee.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;findsome.info - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;wordforums.net - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;xoron.com - PR5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;csdir.org - PR4&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;findingblog.com - PR4&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;linkaddurl.com - PR4&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;It may take a long time before you can see the results (usually 2-3 months).&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/submit-your-blog-to-high-pagerank.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-8771598107406774272</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:55.303-07:00</atom:updated><title>How to add search form widget to Blogger ?</title><description>Many Bloggers do not like the default navbar at the top, and &lt;a href=&quot;http://free-blogger-help.blogspot.com/2008/08/how-to-remove-default-top-navbar-from.html&quot;&gt;remove it from their template&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;But in the process they lose the search form available with the navbar.It is very useful for a reader to  search whatever he wants in your blog.&lt;br /&gt;&lt;br /&gt;Now you can add the search form widget to your Blogger blog,by clicking on the following button.&lt;form method=&quot;post&quot; action=&quot;http://www.blogger.com/add-widget&quot;&gt;&lt;br /&gt;&lt;input name=&quot;widget.title&quot; value=&quot;Search&quot; type=&quot;hidden&quot;&gt;&lt;br /&gt;&lt;input name=&quot;widget.content&quot; value=&quot;&amp;lt;form id=&amp;quot;searchThis&amp;quot; action=&amp;quot;/search&amp;quot; style=&amp;quot;display:inline;&amp;quot; method=&amp;quot;get&amp;quot;&amp;gt;&amp;lt;input id=&amp;quot;searchBox&amp;quot; name=&amp;quot;q&amp;quot; type=&amp;quot;text&amp;quot;/&amp;gt; &amp;lt;input id=&amp;quot;searchButton&amp;quot; value=&amp;quot;Go&amp;quot; type=&amp;quot;submit&amp;quot;/&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&amp;lt;span style=&#39;font-size: 80%&#39;&amp;gt;Blogger Widget by &amp;lt;a href=&#39;http://free-blogger-help.blogspot.com/&#39;&amp;gt;Free Blogger Help &amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&quot; type=&quot;hidden&quot;&gt;&lt;br /&gt;&lt;input name=&quot;go&quot; value=&quot;Add Search Form Widget to Your Blog&quot; type=&quot;submit&quot;&gt;&lt;/form&gt;&lt;br /&gt;On clicking the above button you will be directed to Add Widget page.Just select the blog where you want to put this widget and click &#39;Add Widget&#39;.&lt;br /&gt;&lt;br /&gt;That&#39;s it you have successfully added a &#39;Search Form&#39; widget to your Blogger blog.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-add-search-form-widget-to.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-8990852254136763120</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:54.128-07:00</atom:updated><title>How to add a favicon to a Blogger blog ?</title><description>Favicon - it stands for &quot;favourite icon&quot;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is a favicon ?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;It is a small icon which appears next to the website address in the address bar of your browser.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://drraman007.googlepages.com/fav.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;I acts like an identification for your url.Users can easily find the tab with your site from this favicon if they have opened many tabs.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to add a Favicon to your Blogger blog?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Here is step-by-step guide for that -&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP I - &lt;/span&gt; First of all you need to have an icon which can be used as a favicon.You can create a favicon from any image of your choice &lt;a href=&quot;http://www.html-kit.com/favicon/&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;     At this site you can also create an animated favicon like the one I am having here for my blog.Just download the file after you have done.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP II - &lt;/span&gt; Now from downloaded zip file upload a .png file(or .gif for animated favicon) to your favourite photosharing site.You can also upload it at &lt;a href=&quot;http://pages.google.com/&quot;&gt;Googlepages&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP III -&lt;/span&gt;  Now copy the following code -&lt;br /&gt;&lt;blockquote&gt;&amp;lt;link href=&#39;&lt;b&gt;&lt;span style=&quot;color: rgb(61, 133, 198);&quot;&gt;URL of your favicon image&lt;/span&gt;&lt;/b&gt;&#39; rel=&#39;shortcut icon&#39;/&amp;gt;&lt;/blockquote&gt;Replace &lt;b&gt;&lt;span style=&quot;color: rgb(61, 133, 198);&quot;&gt;URL of your favicon image&lt;/span&gt; &lt;/b&gt;in the code with your favicon image url.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP IV - &lt;/span&gt;Now goto &amp;gt; Dashboard &amp;gt; Layout &amp;gt; Edit Html &amp;gt; Expand Widget Templates.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP V - &lt;/span&gt; Place the code below - &amp;lt;head&amp;gt;&lt;br /&gt;&lt;br /&gt;Save your template and you are done.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-add-favicon-to-blogger-blog.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-7091767832290776854</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:52.849-07:00</atom:updated><title>How to make money with your Blogger blog ?</title><description>Though some bloggers write blog just as a passion and not for money while many others are looking towards it as a profession and a good source of income. Many bloggers had quit their earlier jobs and took blogging as their full-time profession.&lt;br /&gt;&lt;br /&gt;After setting a blog and getting some good traffic now it&#39;s time to make some money from your Blogger blog.&lt;br /&gt;&lt;br /&gt;Here are some ways by which you can monetize your Blogger blog -&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;I. Showing Contextual Ads -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the most commonly used method of earning from a blog.Lots of bloggers are making thousands of dollars with this method.&lt;br /&gt;&lt;br /&gt;In a broad sense, contextual ads are , &#39;ads related to the text material on your blog&#39;. A contextual ads system scans the text of a wbpage for keywords and depending upon the keyword density displays ads on that pages.&lt;br /&gt;e.g. if your blog is about games, you will get ads like - free games, game reviews etc.&lt;br /&gt;&lt;br /&gt;Here you are paid for each click, hence also called as Pay Per Click i.e PPC ads.&lt;br /&gt;&lt;br /&gt;Their are many networks showing contextuals ads, but I&#39;ll list some important players only -&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.google.com/adsense/&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Google Adsense - &lt;/span&gt;&lt;/a&gt;Father of all contextual advertising networks, more than 90% of webstites dispays Google Adsense ads.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.kontera.com/&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Kontera - &lt;/span&gt;&lt;/a&gt;This can be used alongwith Gooogle Adsense on same site. This is a better option as an Adsense supplement. Being inline ads consumes no space on your blog.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;a href=&quot;http://www.adbrite.com/&quot;&gt;3. Adbrite -&lt;/a&gt; &lt;/span&gt;Most common alternative for those banned from Google, but earnings can be quite low when compared to Google Adsense.( you just can&#39;t risk getting banned from Adsense.)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;a href=&quot;http://www.bidvertiser.com/&quot;&gt;4. Bidvertiser -&lt;/a&gt; &lt;/span&gt;Again an alternative for those banned from Google Adsense, very less chances that your ads inventory will be full, again earnings not that good.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.widgetbucks.com/&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;5. WidgetBucks - &lt;/span&gt;&lt;/a&gt;Visually good ads but get very less clicks hence less revenue.Some bloggers (including me) consider it a scam.&lt;br /&gt;&lt;br /&gt;Others about which I&#39;ve heard only once or twice are - &lt;a href=&quot;http://www.blogger.com/www.clicksor.com&quot;&gt;Clicksor&lt;/a&gt;, &lt;a href=&quot;http://www.pepperjamnetwork.com/&quot;&gt;PepperjamNetwork&lt;/a&gt; , etc.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;II. Affiliate Marketing - &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If the blogger have required skills then he can earn a lot with Affiliate Marketing.Beacause I am myself not that successful with affiliate marketing i&#39;ll not talk much about it.&lt;br /&gt;&lt;br /&gt;But i&#39;ll give some basic idea about it. According to wikipedia, Affiliate marketing is -&lt;blockquote&gt;Affiliate marketing is an Internet-based marketing practice in which a business rewards one or more affiliates for each visitor or customer brought about by the affiliate&#39;s marketing efforts.&lt;/blockquote&gt;In simple words - you sell some products on your site and get some commission on each sale.&lt;br /&gt;&lt;br /&gt;Some important Affiliate Marketing networks are -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://www.cj.com/&quot;&gt;Commission Junction&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.clickbank.com/index.html&quot;&gt;ClickBank&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.azoogleads.com/corp/index.php&quot;&gt;Azoogle&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://affiliate-program.amazon.com/gp/associates/join&quot;&gt;Amazon&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://chitika.com/&quot;&gt;Chitika&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;III. Selling Text Links -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If your blog is having a good Google PageRank (&gt;3) and also some good traffic then you can earn good money for placing the text-links on your blog.&lt;br /&gt;&lt;br /&gt;But I would like to warn you that Google is strictly  against selling text-links on your blogs/sites.It may fine you by decrasing your PR or even removing your site from their search-engine results(biggest example is John Chow), if Google notices it or somebody informs Google about this.So think twice befor selling text links on your blog.&lt;br /&gt;&lt;br /&gt;Even though there is a risk, it can make some good add-on revenue for your adsense monetized blog, without taking much space on your blog&lt;br /&gt;&lt;br /&gt;If you would like to take some risk, here are some networks -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://www.text-link-ads.com/&quot;&gt;Text Link Ads&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.linkworth.com/&quot;&gt;LinkWorth&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://tnx.net/&quot;&gt;TNX&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.textlinkbrokers.com/&quot;&gt;Text Link Brokers&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.linkadage.com/&quot;&gt;Link Adage&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;IV.Writing Reviews about other blogs -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This also a common method not liked by Google and get you banned from Google Search Results.&lt;br /&gt;&lt;br /&gt;But if are adding a &quot;rel=nofollow&quot; attribute to your clients link, then Google have no problem with it.&lt;br /&gt;&lt;br /&gt;Here are some big players -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://payperpost.com/&quot;&gt;Pay Per Post&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.sponsoredreviews.com/&quot;&gt;Sponsored Review&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.reviewme.com/&quot;&gt;Review Me&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.bloggerwave.com/&quot;&gt;Bloggerwave&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;V. Showing CPM ads -&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here you need not require clicks for earning money, you are paid just for showing these cpm ads.&lt;br /&gt;&lt;br /&gt;But bad news is many leading cpm networks do not accept domains with *.blogspot.com , they want their own doamin.&lt;br /&gt;&lt;br /&gt;Hence if you are hosting your blog on custom domain, here list of top cpm ads networks -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://www.tribalfusion.com/&quot;&gt;Tribal Fusion&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.burstmedia.com/&quot;&gt;Burst Media&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://direct.rightmedia.com/&quot;&gt;Right Media&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.adsdaq.com/&quot;&gt;Adsdaq&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.casalemedia.com/&quot;&gt;Casale Media&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;(Get more information about top CPM ads network&lt;a href=&quot;http://webmasters-forum.org/showthread.php?t=22&quot;&gt; here.&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;If you want to add anything more just comment it and i&#39;ll update the post if required.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-make-money-with-your-blogger.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-1596887588264191550</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:51.780-07:00</atom:updated><title>How to add language translation flags script to Blogger blog ?</title><description>Though most of the blogs are written in English, it is not the sole language used over internet. Many people think Chinese is more commonly spoken than English.&lt;br /&gt;&lt;br /&gt;So if you want to get readers using different languages other than English , you will definitely like to add a Language translation script to your Blogger blog.&lt;br /&gt;&lt;br /&gt;Here&#39;s how you can add this -&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP I - &lt;/span&gt;Copy the foolowing code or get it from the &lt;a href=&quot;http://free.blogger.help.googlepages.com/translate.txt&quot;&gt;text file here&lt;/a&gt;.&lt;blockquote&gt;&amp;lt;form action=&quot;http://www.google.com/translate&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;document.write (&quot;&amp;lt;input name=u value=&quot;+location.href+&quot; type=hidden&amp;gt;&quot;)&lt;br /&gt;&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;noscript&amp;gt;&amp;lt;input value=&quot;&lt;span style=&quot;color: rgb(0, 102, 0); font-weight: bold;&quot;&gt;http://free-blogger-help.blogspot.com/&lt;/span&gt;&quot; name=&quot;u&quot; type=&quot;hidden&quot;/&amp;gt;&amp;lt;/noscript&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input value=&quot;en&quot; name=&quot;hl&quot; type=&quot;hidden&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input value=&quot;UTF8&quot; name=&quot;ie&quot; type=&quot;hidden&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input value=&quot;&quot; name=&quot;langpair&quot; type=&quot;hidden&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;Arabic&quot; value=&quot;en|ar&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/358406/gse_multipart12399.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;&amp;amp;#20013;&amp;amp;#25991;&amp;amp;#65288;&amp;amp;#31616;&amp;amp;#20307;&amp;amp;#65289;/Chinese (Simplified)&quot; value=&quot;en|zh-CN&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/546049/gse_multipart12397.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;&amp;amp;#20013;&amp;amp;#25991;&amp;amp;#65288;&amp;amp;#32321;&amp;amp;#20307;&amp;amp;#65289;/Chinese (Traditional)&quot; value=&quot;en|zh-TW&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/208681/gse_multipart12398.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;Fran&amp;amp;#231;ais/French&quot; value=&quot;en|fr&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/327620/gse_multipart12413.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;Deutsch/German&quot; value=&quot;en|de&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/734899/gse_multipart12400.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;Italiano/Italian&quot; value=&quot;en|it&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/306145/gse_multipart12401.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;&amp;amp;#26085;&amp;amp;#26412;&amp;amp;#35486;/Japanese&quot; value=&quot;en|ja&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/443122/gse_multipart12402.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;&amp;amp;#54620;&amp;amp;#44397;&amp;amp;#50612;/Korean&quot; value=&quot;en|ko&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/581031/gse_multipart12403.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;Portugu&amp;amp;#234;s/Portuguese&quot; value=&quot;en|pt&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/670301/gse_multipart12404.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;&amp;amp;#1056;&amp;amp;#1091;&amp;amp;#1089;&amp;amp;#1089;&amp;amp;#1082;&amp;amp;#1080;&amp;amp;#1081;/Russian&quot; value=&quot;en|ru&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/111692/gse_multipart12405.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input onclick=&quot;this.form.langpair.value=this.value&quot; title=&quot;Espa&amp;amp;#241;ol/Spanish&quot; value=&quot;en|es&quot; type=&quot;image&quot; height=&quot;30&quot; src=&quot;http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/998398/gse_multipart12407.png&quot; width=&quot;40&quot; name=&quot;langpair&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;/blockquote&gt;Replace the characters in bold green with your blog&#39;s url.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP II -&lt;/span&gt; Now Goto &gt; Dashboard &gt; Layout &gt; Add  Gadget &gt; HTML/Javascript.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;STEP III - &lt;/span&gt;Place the above code in text field and &#39;Save&#39;.&lt;br /&gt;&lt;br /&gt;Check your blog, it looks like as follows -&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://free.blogger.help.googlepages.com/traaaa.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;That&#39;s it you have successfully added the Language Translation Falgs and Script to your blog.&lt;br /&gt;&lt;br /&gt;Feel free to leave a comment if you have any difficulty.</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-add-language-translation-flags.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-6505784584914091133</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:50.837-07:00</atom:updated><title>Can I have two adsense account of same name and or address and or e mail ID ?</title><description>I am using Google adsense from nearly 9 months.  Now I wonder if can I have two adsense account of same name and or address and or e mail ID ? Then I done some search and research for this question.&lt;br /&gt;&lt;br /&gt;You can have two adsense accounts but in two different names. Your first name should be different and you can keep last name that is surname . You can use your wife or husbands name.&lt;br /&gt;e.g. John Clinton&lt;br /&gt;       Jane Clinton&lt;br /&gt;&lt;br /&gt;In this case you can keep same postal address but different e mail ID .&lt;br /&gt;&lt;br /&gt;What will happen when you use same first name and last name , address and same e mail ID  ... definitely you will be BANNED by Adsense .</description><link>http://infinitytricks.blogspot.com/2009/07/can-i-have-two-adsense-account-of-same.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-839858330884914994</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:49.816-07:00</atom:updated><title>What is CPM ads networks ?</title><description>Most probably your site or blog gets traffic from search engine like Google , Yahoo etc or direct referrals. Traffics from search engines can help in  CPC i.e. cost per click ads.  But visitors who visit your site regularly  like direct visitors  hardly clicks on these CPC ads. So what is the other way .To convert this type of traffics to revenue earning is by  using CPM ads .&lt;br /&gt;&lt;br /&gt;CPM ads means ads that can generate revenue  as Cost Per thousand Impressions . CPM ads are re how much one can earn when an ad gets 1000 impressions on the website. Some pays $3 or $4 per CPM.&lt;br /&gt;&lt;br /&gt;Say your site have 800 regular visitors and that generates 1100 impressions per day , in this case CPM ads are best over CPC ads.&lt;br /&gt;&lt;br /&gt;CPM ads networks can also offer Cost per Click or Cost per Action or other ads and also requires traffic requirements.&lt;br /&gt;&lt;br /&gt;Best CPM ad networks&lt;br /&gt;-TribalFusion has good cpm rates&lt;br /&gt;-BURST&lt;br /&gt;-Fastclick etc</description><link>http://infinitytricks.blogspot.com/2009/07/what-is-cpm-ads-networks.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-7400946602059335582</guid><pubDate>Tue, 28 Jul 2009 07:45:00 +0000</pubDate><atom:updated>2009-07-28T00:45:48.680-07:00</atom:updated><title>How to add Star Rating Widget to Blooger, Wordpress, Typepad, Drupal or any other blogging Platform</title><description>You can  know how much your  readers / visitors like your blog posts ?  You can add  rating button to your blogger, wordpress, typepad, or other blog platform or any other web page , so that you will get immediate feedback from your readers .&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://photogalaree.blogspot.com/&quot;&gt;Click here to view &lt;span style=&quot;font-weight: bold;&quot;&gt;DEMO&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;of blog post rating widget.&lt;br /&gt;&lt;br /&gt;You like it ?&lt;br /&gt;&lt;br /&gt;Then here is the easy method -&lt;br /&gt;&lt;br /&gt;1. Login to Blogger or other platform . Here I am explaining for Blogger.&lt;br /&gt;&lt;br /&gt;2. To get this widget &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.outbrain.com/get/ratings&quot;&gt;click here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;3. Select (click) &lt;span style=&quot;font-weight: bold;&quot;&gt;Blogger button&lt;/span&gt;. Now here are two steps . You can or cannot register . Second step is Click on &lt;span style=&quot;font-weight: bold;&quot;&gt;Get Widget Now button&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;4. You will be directed to Blogger . From the &lt;span style=&quot;font-weight: bold;&quot;&gt;Select a Blog list&lt;/span&gt; choose the blog you want to add 5 star rating.  You can give &lt;span style=&quot;font-weight: bold;&quot;&gt;Title&lt;/span&gt; like &lt;span style=&quot;font-style: italic;&quot;&gt;Rate this Post&lt;/span&gt;.  Now click on &lt;span style=&quot;font-weight: bold;&quot;&gt;Add widget Button&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;5. Click on &lt;span style=&quot;font-weight: bold;&quot;&gt;Save &lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDYmnULgwYB5_PQYf62ol4xqziOHMd5GsopiH_MukmdKoniA-GKxuoKwKo0tKgK416vQ61j31anQf0eV-CpSV3PrrsNOj5mEr_Nvz5HcA8Ap7jhzRh9oZq1SXPxNFzEVjQwLt5nFJLGHap/s1600-h/5+star+rating+of+blogs.JPG&quot;&gt;&lt;img style=&quot;cursor: pointer; width: 267px; height: 59px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDYmnULgwYB5_PQYf62ol4xqziOHMd5GsopiH_MukmdKoniA-GKxuoKwKo0tKgK416vQ61j31anQf0eV-CpSV3PrrsNOj5mEr_Nvz5HcA8Ap7jhzRh9oZq1SXPxNFzEVjQwLt5nFJLGHap/s320/5+star+rating+of+blogs.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5283280241098132386&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;View your blog .</description><link>http://infinitytricks.blogspot.com/2009/07/how-to-add-star-rating-widget-to.html</link><author>noreply@blogger.com (Lovana das)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDYmnULgwYB5_PQYf62ol4xqziOHMd5GsopiH_MukmdKoniA-GKxuoKwKo0tKgK416vQ61j31anQf0eV-CpSV3PrrsNOj5mEr_Nvz5HcA8Ap7jhzRh9oZq1SXPxNFzEVjQwLt5nFJLGHap/s72-c/5+star+rating+of+blogs.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4284377048633026062.post-9005119151353769671</guid><pubDate>Sun, 26 Jul 2009 17:16:00 +0000</pubDate><atom:updated>2009-07-26T10:16:18.206-07:00</atom:updated><title>10 free 2 Column Blogger Templates</title><description>Many of the bloggers using Blogger don&#39;t like the default templates provided.&lt;br /&gt;&lt;br /&gt;Hence here I am providing 10 free Blogger templates.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2 Column Blogger Templates&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://darkspark-btemplates.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;1. Darkspark&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/Darkspark.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Author &lt;/b&gt;- &lt;a href=&quot;http://www.aborregate.com/&quot; target=&quot;_blank&quot;&gt;Aborregate&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href=&quot;http://docs.google.com/View?docID=ac5m4dxmjw6b_271gn7v5kdc&amp;amp;hgd=1&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. MushBlue&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/musbluewp6.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://lifewg.googlepages.com/mushblue-blogger-template.xml&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;3. Blogy Natural&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/naturaljr9.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://plantillasblogyweb.googlepages.com/Blogy-Natural-blogyweb.blogspot.com.zip&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;4. Red &amp;amp; White&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/rednwhite.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.jackbook.com/2007/08/red-white-web-20-blogger-template.html#updates&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://www.jackbook.com/2007/08/red-white-web-20-blogger-template.html#updates&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt; 5. Jeans&lt;br /&gt;&lt;a href=&quot;http://jeans3c-btemplates.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/jeans.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Author - &lt;a href=&quot;http://www.infocreek.com/&quot; target=&quot;_blank&quot;&gt;Infocreek&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://docs.google.com/View?docID=ac5m4dxmjw6b_270c5f637f7&amp;amp;hgd=1&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;6. iPhone&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/iphoneem4.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://www.jackbook.com/download/iphone-blogger-template-1.zip&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;7. Integral&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/integralrf4.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://blogandweb.com/2007/05/13/plantilla-blogy-integral/&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;8. Minyx&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/minyxjs0.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://blogandweb.com/2007/06/03/plantilla-blogy-minyx/&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt; 9.Emire&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/emirend5.png&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://www.geckoandfly.com/2007/05/11/emire-blogger-xml-template/&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;a href=&quot;http://iblocktemplate.blogspot.com/&quot; target=&quot;_blank&quot;&gt;10. iBlock for iPhone&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://i198.photobucket.com/albums/aa309/drraman007/iblock.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;a href=&quot;http://docs.google.com/View?docID=ac5m4dxmjw6b_272ggczkwhr&amp;amp;hgd=1&quot; target=&quot;_blank&quot;&gt;Click To Download.&lt;/a&gt;&lt;/b&gt;</description><link>http://infinitytricks.blogspot.com/2009/07/10-free-2-column-blogger-templates.html</link><author>noreply@blogger.com (Lovana das)</author><thr:total>1</thr:total></item></channel></rss>