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

<channel>
	<title>rtCafe</title>
	<atom:link href="http://cafe.rtcamp.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.rtcamp.com</link>
	<description>rtCamp Cafe</description>
	<lastBuildDate>Mon, 14 May 2012 19:26:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Open source icons.</title>
		<link>http://cafe.rtcamp.com/2012/05/14/open-source-icons/</link>
		<comments>http://cafe.rtcamp.com/2012/05/14/open-source-icons/#comments</comments>
		<pubDate>Mon, 14 May 2012 19:26:40 +0000</pubDate>
		<dc:creator>Prasad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[free-icons]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[open-source-icons]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/05/14/open-source-icons/</guid>
		<description><![CDATA[http://www.greepit.com/open-source-icons-gcons/]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.greepit.com/open-source-icons-gcons/" rel="nofollow">http://www.greepit.com/open-source-icons-gcons/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/14/open-source-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 Slider</title>
		<link>http://cafe.rtcamp.com/2012/05/14/css3-slider/</link>
		<comments>http://cafe.rtcamp.com/2012/05/14/css3-slider/#comments</comments>
		<pubDate>Mon, 14 May 2012 13:49:32 +0000</pubDate>
		<dc:creator>Pradeep</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=850</guid>
		<description><![CDATA[http://coding.smashingmagazine.com/2012/04/25/pure-css3-cycling-slideshow/]]></description>
			<content:encoded><![CDATA[<p><a href="http://coding.smashingmagazine.com/2012/04/25/pure-css3-cycling-slideshow/">http://coding.smashingmagazine.com/2012/04/25/pure-css3-cycling-slideshow/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/14/css3-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gravity Forms PDF</title>
		<link>http://cafe.rtcamp.com/2012/05/08/gravity-forms-pdf/</link>
		<comments>http://cafe.rtcamp.com/2012/05/08/gravity-forms-pdf/#comments</comments>
		<pubDate>Tue, 08 May 2012 04:02:53 +0000</pubDate>
		<dc:creator>Rakshit Thakker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gravity Form]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/05/08/gravity-forms-pdf/</guid>
		<description><![CDATA[Adds PDF rendering to the Gravity Forms Admin Page. More @ http://wordpress.org/extend/plugins/gravity-forms-pdf/]]></description>
			<content:encoded><![CDATA[<p>Adds PDF rendering to the Gravity Forms Admin Page.</p>
<p>More @ <a href="http://wordpress.org/extend/plugins/gravity-forms-pdf/" rel="nofollow">http://wordpress.org/extend/plugins/gravity-forms-pdf/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/08/gravity-forms-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My amazing wordpress widget with google search shopping API</title>
		<link>http://cafe.rtcamp.com/2012/05/04/my-amazing-wordpress-widget-with-google-search-shopping-api/</link>
		<comments>http://cafe.rtcamp.com/2012/05/04/my-amazing-wordpress-widget-with-google-search-shopping-api/#comments</comments>
		<pubDate>Fri, 04 May 2012 16:11:04 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google api]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/05/04/my-amazing-wordpress-widget-with-google-search-shopping-api/</guid>
		<description><![CDATA[Hello guys, This time I got my hands wet with Google shopping Search API. I read about this api yesterday and thought that I should try to implement this API functionality in my wordpress widget. The Search API for Shopping is intended for developers who want to programmatically query data that has been uploaded to [...]]]></description>
			<content:encoded><![CDATA[<p>Hello guys,<br />
This time I got my hands wet with Google shopping Search API. <img src='http://cafe.rtcamp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I read about this api yesterday and thought that I  should try to implement this API functionality in my wordpress widget.</p>
<p>The Search API for Shopping is intended for developers who want to programmatically query data that has been uploaded to Google via the Google Merchant Center.</p>
<p>The Search API for Shopping targets the following use cases:</p>
<p>    1) Developers can build applications that query product offers across merchants.<br />
    2) Merchants can use the API to query their own data by becoming a Commerce Search user.<br />
    3) Publishers in the Google Affiliate Network can use the API to access product offers from their advertisers of choice.</p>
<p>In fact this API is too much extensive to it&#8217;s scope and can be very useful to the sites which are mainly intended towards the product search for consumers, also it can be very useful to more revenue generation because with the help of this API you can programatically display any offers and products from a perticular publisher.</p>
<p>All the above mentioned stuff was intro (or you can also call it a speech if you wish so.. <img src='http://cafe.rtcamp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) about the Search API for shopping.</p>
<p>now it&#8217;s time to get practical:-&gt;<br />
You can copy and paste the following code to create custom widget implementing google shopping api.</p>
<p>/********************  Code Starts Here *************************************/<br />
  function widget($args, $instance){<br />
    extract($args, EXTR_SKIP);</p>
<p>    echo $before_widget;<br />
    $title = empty($instance['title']) ? &#8216; &#8216; : apply_filters(&#8216;widget_title&#8217;, $instance['title']);<br />
    $api_key = $instance['api_key'];<br />
    $search_q = $instance['search_q'];<br />
    $by_brand = $instance['by_brand'];<br />
    $results_to_show = $instance['results_to_show'];</p>
<p>    if(empty($results_to_show)){<br />
        $results_to_show = 6; /* Default results to show is 6 */<br />
    }</p>
<p>    $get_search_q = explode(&#8216; &#8216;, $search_q);</p>
<p>    if(count($get_search_q)&gt;1){<br />
        $more_term = 1;<br />
    }<br />
    //$product_url = &#8216;<a href="https://www.googleapis.com/shopping/search/v1/public/products?key=&#038;#8217" rel="nofollow">https://www.googleapis.com/shopping/search/v1/public/products?key=&#038;#8217</a>;.trim($api_key).&#8217;&amp;country=US&amp;q=netbook&#8217;;</p>
<p>    $product_url = &#8216;<a href="https://www.googleapis.com/shopping/search/v1/public/products?key=&#038;#8217" rel="nofollow">https://www.googleapis.com/shopping/search/v1/public/products?key=&#038;#8217</a>;;<br />
    if($api_key &amp;&amp; $search_q){<br />
        $product_url .= trim($api_key).&#8217;&amp;country=US&amp;q=&#8217;;</p>
<p>        if(isset($more_term)){</p>
<p>            for($p=0;$p1){<br />
                $more_brands = 1;<br />
            }<br />
        }</p>
<p>        /* If brands are present and more than one */<br />
        if(isset($more_brands)){</p>
<p>            for($p=0;$pitems as $key=&gt;$val){<br />
            array_push($img_arr,$val-&gt;product-&gt;images[0]);<br />
            array_push($title_arr,$val-&gt;product-&gt;title);<br />
            array_push($inventory_arr,$val-&gt;product-&gt;inventories[0]);<br />
        }<br />
        //print_r($img_arr[0]-&gt;link);<br />
        //exit;<br />
        if (!empty($title))<br />
          echo $before_title . $title . $after_title;</p>
<p>        if(count($title_arr)){<br />
            if(count($title_arr)&gt;$results_to_show){<br />
                $result_to_display = $results_to_show;<br />
            }else<br />
                $result_to_display = count($title_arr);<br />
            ?&gt;</p>
<div class="g-shop-container">
              &lt;?php for($i=0; $i </p>
<div class="g-img-container">
                       &lt;img alt=&quot;img-&#8221; title=&#8221;" src=&#8221;link; ?&gt;&#8221;/&gt;
                  </div>
</p></div>
<p>            &lt;?php }<br />
        }<br />
            echo $after_widget;<br />
    }</p>
<p>}</p>
<p>function rtp_child_register_widgets() {<br />
    register_widget( &#039;google_shop_widget&#039; );<br />
}<br />
add_action( &#039;widgets_init&#039;, &#039;rtp_child_register_widgets&#039;, 11 );</p>
<p>/********************  Code Ends Here *************************************/</p>
<p>you can make your widget as much extensible as you wish it to be.</p>
<p>Currently it will ask you title for widget, what products (one or more) to search, which brands to search (optional) and number of results to display on widget.</p>
<p>there is one more option for API key it&#039;s because u hav to register urself for using google API&#039;s for getting access to API through API key.</p>
<p>You can also watch out my working example at <a href="http://ankit.rtcamp.info" rel="nofollow">http://ankit.rtcamp.info</a></p>
<p>Hope this will be helpful to you all any point of time.<br />
( Do not forget to vote if you like it <img src='http://cafe.rtcamp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )<br />
Thanks <img src='http://cafe.rtcamp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/04/my-amazing-wordpress-widget-with-google-search-shopping-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello Everyone everyone of us know about built&#8230;</title>
		<link>http://cafe.rtcamp.com/2012/05/03/hello-everyone-everyone-of-us-know-about-built/</link>
		<comments>http://cafe.rtcamp.com/2012/05/03/hello-everyone-everyone-of-us-know-about-built/#comments</comments>
		<pubDate>Thu, 03 May 2012 13:51:23 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/05/03/hello-everyone-everyone-of-us-know-about-built/</guid>
		<description><![CDATA[Hello Everyone, everyone of us know about built-in and custom widget, but there may condition arise that you may want to display same form or any other data as that of widget on a page or any other custom template. For sake of this we require to get $instance of that widget (which is nothing [...]]]></description>
			<content:encoded><![CDATA[<p>Hello Everyone,<br />
everyone of us know about built-in and custom widget, but there may condition arise that you may want to display same form or any other data as that of widget on a page or any other custom template.<br />
For sake of this we require to get $instance of that widget (which is nothing but the settings data of widget), so there is simple solution for this as follow:</p>
<p>Everything in wordpress is stored in database, so as widget settings will also be there we just have to retrieve it from wp_option table with help of get_option function.</p>
<p>Example:<br />
step1. get all settings data.<br />
$instincts = get_option(&#8220;your_widget_name_here&#8221;);</p>
<p>step2. now $instincts contain all settings data in array as follows.<br />
    Array<br />
(<br />
    [2] =&gt; Array<br />
        (<br />
            [title] =&gt; SEARCH LUXURY PROPERTIES<br />
            [min_price] =&gt; 10000<br />
            [c_min_price] =&gt; 10<br />
            [o_min_price] =&gt; 10000<br />
            [max_price] =&gt; 60000<br />
            [c_max_price] =&gt; 7<br />
            [o_max_price] =&gt; 10000<br />
        )</p>
<p>    [_multiwidget] =&gt; 1<br />
)</p>
<p>step 3. take all settings data in your single array variable.<br />
          foreach($instincts as $key=&gt;$val){<br />
              if(is_array($val)){<br />
                  $instances['c_min_price'] = trim($val['c_min_price']);<br />
                  $instances['o_min_price']=trim($val['o_min_price']);<br />
                  $instances['max_price'] = $val['max_price'];<br />
                  $instances['c_max_price'] = $val['c_max_price'];<br />
                  $instances['o_max_price']=$val['o_max_price'];<br />
              }<br />
          }<br />
(Above is merely a random example <img src='http://cafe.rtcamp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  so donn worry :p )</p>
<p>at this point u will have all widget setting data in $instances variable, so now u can play with it however you want even out of sidebar&#8217;s ground.</p>
<p>Hope this will be useful to you.<br />
Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/03/hello-everyone-everyone-of-us-know-about-built/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gMaps &#8211; Google maps jQuery plugin</title>
		<link>http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/</link>
		<comments>http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/#comments</comments>
		<pubDate>Thu, 03 May 2012 12:19:45 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google map]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/</guid>
		<description><![CDATA[A nice jQuery plugin worth trying. http://gmap.nurtext.de/examples.html]]></description>
			<content:encoded><![CDATA[<p>A nice jQuery plugin worth trying.</p>
<p><a href="http://gmap.nurtext.de/examples.html" rel="nofollow">http://gmap.nurtext.de/examples.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/03/gmaps-google-maps-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gravity Wiz</title>
		<link>http://cafe.rtcamp.com/2012/05/03/gravity-wiz/</link>
		<comments>http://cafe.rtcamp.com/2012/05/03/gravity-wiz/#comments</comments>
		<pubDate>Thu, 03 May 2012 11:20:11 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[Gravity Form]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=842</guid>
		<description><![CDATA[Dedicated blog for GravityForm plugin tutorials. Please check&#8230; Gravity Wiz]]></description>
			<content:encoded><![CDATA[<p>Dedicated blog for GravityForm plugin tutorials. Please check&#8230; <a href="http://gravitywiz.com/">Gravity Wiz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/03/gravity-wiz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Font Previewer for Chrome</title>
		<link>http://cafe.rtcamp.com/2012/05/03/google-font-previewer-chrome/</link>
		<comments>http://cafe.rtcamp.com/2012/05/03/google-font-previewer-chrome/#comments</comments>
		<pubDate>Thu, 03 May 2012 07:11:18 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[google fonts]]></category>
		<category><![CDATA[preview]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=840</guid>
		<description><![CDATA[Must use Google Chrome Add-on for Developers/Designers. https://chrome.google.com/webstore/detail/engndlnldodigdjamndkplafgmkkencc]]></description>
			<content:encoded><![CDATA[<p>Must use Google Chrome Add-on for Developers/Designers.</p>
<p><a href="https://chrome.google.com/webstore/detail/engndlnldodigdjamndkplafgmkkencc">https://chrome.google.com/webstore/detail/engndlnldodigdjamndkplafgmkkencc</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/05/03/google-font-previewer-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supereb CSS3 scroll effects.</title>
		<link>http://cafe.rtcamp.com/2012/04/28/supereb-css3-scroll-effects/</link>
		<comments>http://cafe.rtcamp.com/2012/04/28/supereb-css3-scroll-effects/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 10:51:33 +0000</pubDate>
		<dc:creator>Tapan Bojja</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=835</guid>
		<description><![CDATA[Hey friends, go through the below link. It has different nice css3 scroll effect with stroll.js Link &#8211; http://lab.hakim.se/scroll-effects/]]></description>
			<content:encoded><![CDATA[<p>Hey friends, go through the below link. It has different nice css3 scroll effect with stroll.js</p>
<p>Link &#8211; <a href="http://lab.hakim.se/scroll-effects/" rel="nofollow">http://lab.hakim.se/scroll-effects/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/04/28/supereb-css3-scroll-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why wordPress comments feed returns &#8220;404 Page not found&#8221; error?</title>
		<link>http://cafe.rtcamp.com/2012/04/24/why-wordpress-comments-feed-returns-404-page-not-found-error/</link>
		<comments>http://cafe.rtcamp.com/2012/04/24/why-wordpress-comments-feed-returns-404-page-not-found-error/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 17:30:32 +0000</pubDate>
		<dc:creator>Abhimanyu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/04/24/why-wordpress-comments-feed-returns-404-page-not-found-error/</guid>
		<description><![CDATA[Refer @ http://jonathanpolansky.com/2009/03/wordpress-comments-feed-returns-404-page-not-found/]]></description>
			<content:encoded><![CDATA[<p>Refer @ <a href="http://jonathanpolansky.com/2009/03/wordpress-comments-feed-returns-404-page-not-found/" rel="nofollow">http://jonathanpolansky.com/2009/03/wordpress-comments-feed-returns-404-page-not-found/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/04/24/why-wordpress-comments-feed-returns-404-page-not-found-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

