<?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>RonakPatel.Net &#187; widget</title>
	<atom:link href="http://www.ronakpatel.net/tag/widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ronakpatel.net</link>
	<description>(Web) Developer and Technology Enthusiast</description>
	<lastBuildDate>Mon, 23 Aug 2010 03:49:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Twitter Widget 1.2.3</title>
		<link>http://www.ronakpatel.net/2010/01/18/twitter-widget-1-2-3/</link>
		<comments>http://www.ronakpatel.net/2010/01/18/twitter-widget-1-2-3/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 04:36:06 +0000</pubDate>
		<dc:creator>Ronak</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.ronakpatel.net/?p=415</guid>
		<description><![CDATA[A minor change in 1.2.3: Fixed issue with special characters. http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/]]></description>
			<content:encoded><![CDATA[<p>A minor change in 1.2.3:</p>
<ul>
<li>Fixed issue with special characters.</li>
</ul>
<p><a href="http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/">http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronakpatel.net/2010/01/18/twitter-widget-1-2-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Widget 1.2.2</title>
		<link>http://www.ronakpatel.net/2010/01/11/twitter-widget-1-2-2/</link>
		<comments>http://www.ronakpatel.net/2010/01/11/twitter-widget-1-2-2/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 03:27:58 +0000</pubDate>
		<dc:creator>Ronak</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.ronakpatel.net/?p=395</guid>
		<description><![CDATA[The widget has gone through a lot of under the hood changes in 1.2.2: Completely rewritten. Should make the widget load faster. Handle errors more gracefully. Filter by multiple hashtags. As of this version the widget is under the LGPL v3 License. http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/]]></description>
			<content:encoded><![CDATA[<p>The widget has gone through a lot of under the hood changes in 1.2.2:</p>
<ul>
<li>Completely rewritten. Should make the widget load faster.</li>
<li>Handle errors more gracefully.</li>
<li>Filter by multiple hashtags.</li>
<li>As of this version the widget is under the <a href="http://www.gnu.org/copyleft/lesser.html">LGPL v3 License</a>.</li>
</ul>
<p><a href="http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/">http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronakpatel.net/2010/01/11/twitter-widget-1-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Widget 1.2.1</title>
		<link>http://www.ronakpatel.net/2009/11/12/twitter-widget-1-2-1/</link>
		<comments>http://www.ronakpatel.net/2009/11/12/twitter-widget-1-2-1/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 05:08:52 +0000</pubDate>
		<dc:creator>Ronak</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.ronakpatel.net/?p=387</guid>
		<description><![CDATA[Fixed a bug with characters not being escaped. Thanks Jeff (@jeff_uprising). http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/]]></description>
			<content:encoded><![CDATA[<p>Fixed a bug with characters not being escaped. Thanks Jeff (@jeff_uprising).</p>
<p><a href="http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/">http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronakpatel.net/2009/11/12/twitter-widget-1-2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Widget 1.2</title>
		<link>http://www.ronakpatel.net/2009/07/16/twitter-widget-12/</link>
		<comments>http://www.ronakpatel.net/2009/07/16/twitter-widget-12/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 03:40:48 +0000</pubDate>
		<dc:creator>Ronak</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.ronakpatel.net/?p=383</guid>
		<description><![CDATA[The Twitter Widget now caches tweets using the PEAR package Cache_Lite. Follow the instructions in the link below. http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/]]></description>
			<content:encoded><![CDATA[<p>The Twitter Widget now caches tweets using the PEAR package Cache_Lite. Follow the instructions in the link below.</p>
<p><a href="http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/">http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronakpatel.net/2009/07/16/twitter-widget-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Twitter Widget 1.1</title>
		<link>http://www.ronakpatel.net/2009/05/25/twitter-widget-11/</link>
		<comments>http://www.ronakpatel.net/2009/05/25/twitter-widget-11/#comments</comments>
		<pubDate>Tue, 26 May 2009 04:06:24 +0000</pubDate>
		<dc:creator>Ronak</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.ronakpatel.net/?p=356</guid>
		<description><![CDATA[I updated my javascript Twitter Widget to give you the option to display user images and also fixed the bug where an error is thrown if the html or user attributes are missing. http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/]]></description>
			<content:encoded><![CDATA[<p>I updated my javascript Twitter Widget to give you the option to display user images and also fixed the bug where an error is thrown if the html or user attributes are missing.</p>
<p><a href="http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/">http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ronakpatel.net/2009/05/25/twitter-widget-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter widget that streams multiple accounts</title>
		<link>http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/</link>
		<comments>http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 20:27:08 +0000</pubDate>
		<dc:creator>Ronak</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.ronakpatel.net/?p=267</guid>
		<description><![CDATA[I created a PHP/JavaScript widget that will stream multiple Twitter accounts for a friends website (see it in action at Brown Girl Magazine). It&#8217;s simple to setup. As of version 1.2.2 you will need to setup the widget again. Requirements PHP 5.0 PEAR &#8211; Cache_Lite 1.7.7 (It might work with newer or older versions but [...]]]></description>
			<content:encoded><![CDATA[<p>I created a PHP/JavaScript widget that will stream multiple Twitter accounts for a friends website (see it in action at <a href="http://www.browngirlmagazine.com">Brown Girl Magazine</a>). It&#8217;s simple to setup. As of version 1.2.2 you will need to setup the widget again. <strong> </strong></p>
<p><strong>Requirements</strong></p>
<ul>
<li>PHP 5.0</li>
<li>PEAR &#8211; Cache_Lite 1.7.7 (It might work with newer or older versions but I haven&#8217;t tested it.)</li>
<li>Javascript turned on</li>
</ul>
<p><strong>Instructions</strong></p>
<ol>
<li>Install the <a href="http://pear.php.net/">PEAR</a> package <a href="http://pear.php.net/package/Cache_Lite">Cache_Lite</a>. Most web hosts have an easy way of installing new PEAR packages. If you have issues with PEAR, create a directory called Cache within the directory you create in step 4, download Cache_Lite and put the contents (Lite.php and Lite directory) of Cache_Lite in it. Post any questions in the comments.</li>
<li>Download <a href="http://ronakpatel.net/apps/TwitterWidget/TwitterWidget_1_2_3.zip">TwitterWidget_1_2_3.zip</a>. Unzip the contents to a temporary directory.</li>
<li>Open Config.php and edit the configuration parameters. There is an explanation for each parameter.</li>
<li>Create a directory where ever you like on your web server and upload all the files.</li>
<li>Copy the following html and javascript into your website right before where the body tag (&lt;/body&gt;) is closed.
<pre>&lt;script type="text/javascript"&gt;&lt;!--
 var RPNetTwitterAttrs = {
  url: 'http://localhost/TwitterWidget/reboot/TwitterWidget.php'
 };
// --&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="TwitterWidget.js"&gt;&lt;/script&gt;</pre>
<p>Update the url attribute to the path where you uploaded TwitterWidget.php.</p>
<p>You will also need to update the <em>src=&#8221;TwitterWidget.js&#8221; </em>attribute to point to where you uploaded the javascript file. For example,  <em>src=&#8221;http://yourwebsite.com/uploads/TwitterWidget.js&#8221;</em>.</li>
<li>Copy the following html into your website where you would like the widget to appear.
<pre>&lt;div id='rpnetTWContainer'&gt;&lt;/div&gt;</pre>
</li>
</ol>
<p><strong>Editing the Look and Feel</strong></p>
<p>There are two ways to change how the widget looks. The first is to add the CSS ids below to your stylesheet. The outline of the widget is as follows:</p>
<pre>&lt;div id="rpnetTWContainer"&gt;
 &lt;div id="rpnetTW"&gt;
  &lt;h2 id="rpnetTWTitle"&gt;&lt;/h2&gt;
  &lt;ul id="rpnetTWList"&gt;&lt;/ul&gt;
 &lt;/div&gt;
&lt;/div&gt;</pre>
<p>The second way is to go into the createWidget() function in the RPNetTWView class in TwitterWidget.php and edit the html of the widget. Post any questions in the comments.</p>
<p><strong>Remember</strong></p>
<p>If you make changes to how the widget looks or you modify the Config.php after setting up the widget you will either need to wait until the cache expires or you will need to go into your cache directory and delete the cache file for changes to take effect.</p>
<p><strong>Upgade Instructions</strong><em></em></p>
<p><em>From 1.2.1 to 1.2.2.</em></p>
<ol>
<li>Record the changes made to Config.php.</li>
<li>Start with Step 2 of the 1.2.2 instructions.</li>
</ol>
<p><em>From 1.2.2 to 1.2.3.</em></p>
<ol>
<li>Overwrite all PHP, JavaScript, and text files except Config.php.</li>
</ol>
<p><strong>What it will not do<br />
</strong></p>
<p>This widget will not worked on locked Twitter accounts.</p>
<p>Below is a screen shot of the widget with no formatting and with the Arthemia WordPress theme. If using WordPress the widget will conform to whatever theme you have unless you modify the CSS.  Enjoy!</p>

<a href='http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/twitterwidget/' title='twitterwidget'><img width="150" height="150" src="http://www.ronakpatel.net/wp-content/uploads/2009/04/twitterwidget-150x150.png" class="attachment-thumbnail" alt="twitterwidget" title="twitterwidget" /></a>
<a href='http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/twitterupdates/' title='twitterupdates'><img width="150" height="150" src="http://www.ronakpatel.net/wp-content/uploads/2009/04/twitterupdates-150x150.png" class="attachment-thumbnail" alt="twitterupdates" title="twitterupdates" /></a>

<p style="text-align: left;"><strong>Change Log</strong></p>
<p style="text-align: left;"><em>Version 1.2.3</em></p>
<ul>
<li>Fixed issue with special characters.</li>
</ul>
<p style="text-align: left;"><em>Version 1.2.2</em></p>
<ul>
<li>Completely rewritten. Should make the widget load faster.</li>
<li>Handle errors more gracefully.</li>
<li>Filter by multiple hashtags.</li>
<li>As of this version the widget is under the <a href="http://www.gnu.org/copyleft/lesser.html">LGPL v3 License</a>.</li>
</ul>
<p style="text-align: left;"><em>Version 1.2.1</em></p>
<ul>
<li>Fixed bug with unescaped characters.</li>
</ul>
<p style="text-align: left;"><em>Version 1.2</em></p>
<ul>
<li>Tweets are now cached.</li>
</ul>
<p style="text-align: left;"><em>Version 1.1</em></p>
<ul>
<li>Added an option for displaying user images.</li>
</ul>
<p style="text-align: left;"><em>Version 1.0</em></p>
<ul>
<li>Displays list of tweets from multiple users.</li>
</ul>
<p><strong>Old Versions<br />
</strong></p>
<ul>
<li>Version 1.1 (<a href="http://ronakpatel.net/apps/TwitterWidget_1_1/TwitterWidget.js">Download</a>) (<a href="http://ronakpatel.net/apps/TwitterWidget_1_1/README_1_1.htm">Instructions</a>)</li>
<li>Version 1.2.1 (<a href="http://ronakpatel.net/apps/TwitterWidget/TwitterWidget_1_2_1.zip">Download</a>) (<a href="http://ronakpatel.net/apps/TwitterWidget/README_1_2_1.htm">Instructions</a>)</li>
<li>Version 1.2.2 (<a href="http://ronakpatel.net/apps/TwitterWidget/TwitterWidget_1_2_2.zip">Download</a>) (Instructions are the same as on this page.)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ronakpatel.net/2009/04/05/twitter-widget-that-streams-multiple-accounts/feed/</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
	</channel>
</rss>
