<?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>James Revillini &#187; software</title>
	<atom:link href="http://james.revillini.com/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://james.revillini.com</link>
	<description>Say 'no' to styrofoam.</description>
	<lastBuildDate>Sun, 25 Jul 2010 13:03:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>iTunes 9.2 hangs when syncing voice memos</title>
		<link>http://james.revillini.com/2010/07/25/itunes-9-2-hangs-when-syncing-voice-memos/</link>
		<comments>http://james.revillini.com/2010/07/25/itunes-9-2-hangs-when-syncing-voice-memos/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 13:03:39 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=676</guid>
		<description><![CDATA[If you just need a workaround so you can access other, non-voice-memo features through iTunes, such as backup, music sync, app sync, etc., then follow this procedure: 1. disconnect your iPhone from the computer 2. fire up iTunes 3. open Preferences (Edit &#62; Preferences) 4. click the Devices tab 5. select &#8220;Prevent iPods, iPhones, and [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">If you just need a workaround so you can access other, non-voice-memo features through iTunes, such as backup, music sync, app sync, etc., then follow this procedure:</div>
<div></div>
<div><a href="http://james.revillini.com/wp-content/uploads/2010/07/freeze-workaround.png" rel="shadowbox[post-676];player=img;"><img class="alignleft size-thumbnail wp-image-677" title="freeze-workaround" src="http://james.revillini.com/wp-content/uploads/2010/07/freeze-workaround-150x150.png" alt="" width="150" height="150" /></a>1. disconnect your iPhone from the computer</div>
<div id="_mcePaste">2. fire up iTunes</div>
<div id="_mcePaste">3. open Preferences (Edit &gt; Preferences)</div>
<div id="_mcePaste">4. click the Devices tab</div>
<div id="_mcePaste">5. select &#8220;Prevent iPods, iPhones, and iPads from syncing automatically (see attached)</div>
<div id="_mcePaste">6. Click OK</div>
<div id="_mcePaste">7. plug in the iPhone.</div>
<div></div>
<div id="_mcePaste">It will still backup the device, but what you do from there is up to you.  It will not get your voice memos transfered to the PC, but theoretically, you should be able to go to the Music tab when you click on the iPhone and select Sync Music, but deselect the voice memo option.</div>
<div></div>
<div id="_mcePaste">Until a fix is released, use one of the other workarounds to get your memos copied to the computer.</div>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2010/07/25/itunes-9-2-hangs-when-syncing-voice-memos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[SOLVED] Ubuntu Startup-manager killed my windows partition entry in GRUB2</title>
		<link>http://james.revillini.com/2010/01/08/solved-ubuntu-startup-manager-killed-my-windows-partition-entry-in-grub2/</link>
		<comments>http://james.revillini.com/2010/01/08/solved-ubuntu-startup-manager-killed-my-windows-partition-entry-in-grub2/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 16:18:35 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[boot menu windows]]></category>
		<category><![CDATA[encrypted windows partition]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[startup-manager]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=316</guid>
		<description><![CDATA[The issue I had a scary thing happen the other day: the windows xp entry on GRUB2&#8242;s boot screen went missing!  This happened shortly after the windows partition had been encrypted with a McAfee product.  Ubuntu didn&#8217;t remove the entry itself; it was actually only after I tried to make a change to the startup [...]]]></description>
			<content:encoded><![CDATA[<h3>The issue</h3>
<p>I had a scary thing happen the other day: the windows xp entry on GRUB2&#8242;s boot screen went missing!  This happened shortly after the windows partition had been encrypted with a McAfee product.  Ubuntu didn&#8217;t remove the entry itself; it was actually only after I tried to make a change to the startup configuration using a program called Startup-manager (you may have it in System &gt; Administration) that the windows entry was removed. It was bad enough that Ubuntu could no longer see any files on the windows partition (mounted as /windows), but now I had no way to boot into windows to retrieve files.</p>
<h3>The fix</h3>
<p>And of course, I had no freaking clue how to manually modify GRUB2&#8242;s startup screen.  But after some digging, I figured out how to do it.  This worked for me in Ubuntu 9.10 Karmic Koala.  Hopefully it will save someone else&#8217;s day:</p>
<ol>
<li>Figure out where windows is.  Is it /dev/sda1 (very likely)? /dev/sda2?  To do this:
<ol>
<li>System &gt; Administration &gt; Disk Utility</li>
<li>Click each partition and find the one which matches the size of your bootable windows parition and which, when selected, shows a partition type of HPFS/NTFS. Example:<br />
<a href="http://james.revillini.com/wp-content/uploads/2010/01/Screenshot-Palimpsest-Disk-Utility.png" rel="shadowbox[post-316];player=img;"><img class="alignnone size-medium wp-image-317" title="Screenshot-Palimpsest Disk Utility" src="http://james.revillini.com/wp-content/uploads/2010/01/Screenshot-Palimpsest-Disk-Utility-300x289.png" alt="" width="300" height="289" /></a></li>
<li>Note the location of the partition; it is the last line of the descriptors of the partition. In the screenshot above, mine is <strong>/dev/sda1</strong>.</li>
</ol>
</li>
<li>Press ALT+F2</li>
<li>enter the command <strong>gksudo gedit /etc/grub.d/40_custom</strong></li>
<li>below the comments in this file, and below any other entries which may have been added by one thing or another, add the following:
<pre class="brush: plain;">[/sourcecode]</pre>
<p>echo &#8220;Adding Windows XP on {LOCATION OF YOUR WINDOWS PARTITION}&#8221; &gt;&amp;2<br />
cat &lt;&lt; EOF<br />
menuentry &#8220;Windows XP Professional (on {LOCATION OF YOUR WINDOWS PARTITION})&#8221; {<br />
insmod ntfs<br />
<span style="white-space: pre;"> </span>set root=(hd0,{JUST THE LAST NUMBER OF THE LOCATION OF YOUR WINDOWS PARTITION})<br />
<span style="white-space: pre;"> </span>drivemap -s (hd0) ${root}<br />
<span style="white-space: pre;"> </span>chainloader +1<br />
}<br />
EOF[/shortcode]</li>
<li>Replace {LOCATION OF YOUR WINDOWS PARTITION} in the code above with the location of your windows partition.</li>
<li>Replace {JUST THE LAST NUMBER OF THE LOCATION OF YOUR WINDOWS PARTITION} with the last number of the location of your windows partition. E.g. /dev/sda<strong>1</strong> would be <strong>1</strong>.Your file will now look something like this:<br />
<a href="http://james.revillini.com/wp-content/uploads/2010/01/Screenshot-40_custom-etc-grub.d-gedit.png" rel="shadowbox[post-316];player=img;"><img class="alignnone size-medium wp-image-319" title="Screenshot-40_custom (-etc-grub.d) - gedit" src="http://james.revillini.com/wp-content/uploads/2010/01/Screenshot-40_custom-etc-grub.d-gedit-300x230.png" alt="" width="300" height="230" /></a></li>
<li>Save the file and close the editor.</li>
<li>Press ALT + F2.</li>
<li>enter the command <strong>gksudo grub-mkconfig</strong></li>
</ol>
<p>That should be it.  When you reboot, you should see your windows as a bootable option again.</p>
<h3>Morals</h3>
<p>The moral of this tale is to avoid startup-manager for grub configuration changes unless you&#8217;ve not got funky partitions. Keep in mind that future versions of start-up manager may fix this issue; the version i&#8217;m using is 1.9.12-ubuntu1.</p>
<h3>Credits</h3>
<p>I would not have been able to troubleshoot this issue if it weren&#8217;t for the following gracious contributions to the global knowledgebase.</p>
<ul>
<li><a href="http://ubuntuforums.org/showthread.php?p=8191211#post8191211">Grub2 Introduction</a> by <a href="http://ubuntuforums.org/member.php?u=647614">ranch hand</a></li>
<li><a href="https://help.ubuntu.com/community/Grub2">Grub2 @ Ubuntu Help Wiki</a> by many people</li>
<li><a href="http://ubuntuforums.org/showthread.php?t=818177">HOWTO: StartUp Manager &amp; Kernel Display Options</a> by <a href="http://ubuntuforums.org/member.php?u=223945">drs305</a></li>
<li>many others who posted about their 40_custom grub file configurations</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2010/01/08/solved-ubuntu-startup-manager-killed-my-windows-partition-entry-in-grub2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[SOLVED] Screen Resolution resets to something undesired in Ubuntu 9.10 Karmic</title>
		<link>http://james.revillini.com/2009/11/30/solved-screen-resolution-resets-to-something-undesired-in-ubuntu-9-10-karmic/</link>
		<comments>http://james.revillini.com/2009/11/30/solved-screen-resolution-resets-to-something-undesired-in-ubuntu-9-10-karmic/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 12:46:52 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=313</guid>
		<description><![CDATA[Assuming you have a monitor that supports some high resolution, say 1680 x 1050, and you&#8217;re using an nvidia card: System &#62; Administration &#62; Hardware Drivers Make sure the latest recommended nvidia proprietary driver is activated (if not, do it and reboot) System &#62; Preferences &#62; Display (it should ask if you want to use [...]]]></description>
			<content:encoded><![CDATA[<p>Assuming you have a monitor that supports some high resolution, say 1680 x 1050, and you&#8217;re using an nvidia card:</p>
<ol>
<li>System &gt; Administration &gt; Hardware Drivers</li>
<li>Make sure the latest recommended nvidia proprietary driver is activated (if not, do it and reboot)</li>
<li>System &gt; Preferences &gt; Display (it should ask if you want to use the proprietary config screen &#8211; select &#8216;Yes&#8217;)</li>
<li>Select X Server Configuration</li>
<li>Set the resolution to what you want and &#8216;Apply&#8217;, then quit the nvidia-settings screen.</li>
<li>System &gt; Preferences &gt; Display (when it asks this time, select &#8216;No&#8217;)</li>
<li>Click &#8216;Apply&#8217;</li>
<li>Click &#8216;Keep configuration&#8217; (assuming everything looks OK)</li>
<li>Click Close</li>
</ol>
<p>When you reboot, everything should be preserved.  I still notice a flicker on the boot-up screen when I think it tries to reset it to something else, but it should stay at the resolution you specified.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2009/11/30/solved-screen-resolution-resets-to-something-undesired-in-ubuntu-9-10-karmic/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thank you, open source</title>
		<link>http://james.revillini.com/2009/06/09/thank-you-open-source/</link>
		<comments>http://james.revillini.com/2009/06/09/thank-you-open-source/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 11:33:29 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=269</guid>
		<description><![CDATA[Before I get started on yesterday&#8217;s and todays scripts, I&#8217;d like to take a moment to thank all the open-source developers who are making my computing experience possible.  Here is just some of the open source software that I&#8217;ve used during my run on 100 Days. jQuery &#38; JQuery UI &#8211; javascript &#38; js/css library, [...]]]></description>
			<content:encoded><![CDATA[<p>Before I get started on yesterday&#8217;s and todays scripts, I&#8217;d like to take a moment to thank all the open-source developers who are making my computing experience possible.  Here is just <em>some</em> of the open source software that I&#8217;ve used during my run on 100 Days.</p>
<ul>
<li>jQuery &amp; JQuery UI &#8211; javascript &amp; js/css library, respectively</li>
<li>jQuery plugins: SVG, jMP3, random code snippets from a lot of sites &#8230;</li>
<li>GIMP &#8211; for my boitmap graphics</li>
<li>InkScape &#8211; for vector graphics and SVG conceptualization</li>
<li>gedit &#8211; GNOME Text Editor</li>
<li>Firebug &#8211; Javascript debugging would be IMPOSSIBLE without this</li>
<li>Firefox</li>
<li>WordPress</li>
<li>Ubuntu (currently the &#8220;Jaunty Jackalope&#8221; version) &#8211; my operating system</li>
<li>Songbird &#8211; musical inspiration</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2009/06/09/thank-you-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Response to Making SVN trust a new root CA certificate</title>
		<link>http://james.revillini.com/2009/02/19/response-to-making-svn-trust-a-new-root-ca-certificate/</link>
		<comments>http://james.revillini.com/2009/02/19/response-to-making-svn-trust-a-new-root-ca-certificate/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 18:49:49 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=113</guid>
		<description><![CDATA[This is in response to Making SVN trust a new root CA certificate.  I wanted to write this there, but I can&#8217;t send comments due to a site error. @GEEK: Thanks for starting this discussion. The previous comment is the one that helped me get my post-commit hook working with VisualSVN Server on an XP box. [...]]]></description>
			<content:encoded><![CDATA[<p>This is in response to <a title="Permanent Link: Making SVN trust a new root CA certificate" rel="bookmark" href="http://www.geekforgod.com/2006/12/01/making-svn-trust-a-new-root-ca-certificate/trackback/">Making SVN trust a new root CA certificate</a>.  I wanted to write this there, but I can&#8217;t send comments due to a site error.</p>
<p>@GEEK: Thanks for starting this discussion.  The previous comment is the one that helped me get my post-commit hook working with VisualSVN Server on an XP box.  I was writing a hook to update my web directory from the SVN repo on every commit.</p>
<p>@Other contributors: Thanks for adding your comments which lead me to the right solution to properly make my server trust istself!</p>
<p>Just to consolidate the steps:</p>
<p> </p>
<ol>
<li>Hit the repo in IE at whatever its address is; e.g. https://server:8443/path/to/svn/</li>
<li>It will tell you the cert is untrusted.  Click view certificates.</li>
<li>click Install certificate&#8230;</li>
<li>hit Next</li>
<li>select Place all certificates in the following store</li>
<li>click Browse&#8230;</li>
<li>select Trusted Root Certificate Authorities</li>
<li>hit OK</li>
<li>hit Next</li>
<li>hit Finish</li>
<li>hit Yes, OK, OK, YES!</li>
<li>Start&gt;Run&gt;services.msc</li>
<li>restart VisualSVN server service  Now your hooks on that machine should not have any issue updating from itself.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2009/02/19/response-to-making-svn-trust-a-new-root-ca-certificate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kill Dreamweaver (works every time!)</title>
		<link>http://james.revillini.com/2008/11/22/kill-dreamweaver-works-every-time/</link>
		<comments>http://james.revillini.com/2008/11/22/kill-dreamweaver-works-every-time/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 19:15:03 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=111</guid>
		<description><![CDATA[Weirdest thing: if you create a stylesheet that is linked to from one of your pages in dreamweaver and it contains the line .popup {} int it, dW dies while trying to start up.  Great parlour trick!]]></description>
			<content:encoded><![CDATA[<p>Weirdest thing: if you create a stylesheet that is linked to from one of your pages in dreamweaver and it contains the line</p>
<p>.popup {}</p>
<p>int it, dW dies while trying to start up.  Great parlour trick!</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2008/11/22/kill-dreamweaver-works-every-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Possible bug in Error Tracker Pepper for Mint Statistics</title>
		<link>http://james.revillini.com/2008/08/01/possible-bug-in-error-tracker-pepper-for-mint-statistics/</link>
		<comments>http://james.revillini.com/2008/08/01/possible-bug-in-error-tracker-pepper-for-mint-statistics/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 03:20:49 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[pepper]]></category>

		<guid isPermaLink="false">http://james.revillini.com/?p=89</guid>
		<description><![CDATA[I think I found a bug in Error Tracker 1.06, a plugin for Mint.  I came across this one because even though I had taken measures to redirect a certain incorrect URL that was apparently getting a lot of hits, the hit count on that URL continued to climb.  I ran my own queries against [...]]]></description>
			<content:encoded><![CDATA[<p>I think I found a bug in <a href="http://www.xhtmled.com//archives/2005/9/10/error-tracker-pepper">Error Tracker 1.06</a>, a plugin for <a href="http://haveamint.com">Mint</a>.  I came across this one because even though I had taken measures to redirect a certain incorrect URL that was apparently getting a lot of hits, the hit count on that URL continued to climb.  I ran my own queries against the database to confirm my suspicion that the numbers were wrong.</p>
<p>My findings and solution are found in comments <a href="http://www.xhtmled.com/archives/2005/9/10/error-tracker-pepper#c54">17</a>, <a href="http://www.xhtmled.com/archives/2005/9/10/error-tracker-pepper#c55">18</a>, and <a href="http://www.xhtmled.com/archives/2005/9/10/error-tracker-pepper#c56">19</a> on the Error Tracker page at <a href="http://www.xhtmled.com/">XHTMLed.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2008/08/01/possible-bug-in-error-tracker-pepper-for-mint-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eLumen Community Forum</title>
		<link>http://james.revillini.com/2008/02/17/elumen-community-forum/</link>
		<comments>http://james.revillini.com/2008/02/17/elumen-community-forum/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 15:42:04 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[ability based education]]></category>
		<category><![CDATA[forum]]></category>

		<guid isPermaLink="false">http://james.revillini.com/2008/02/17/elumen-community-forum/</guid>
		<description><![CDATA[I just launched the eLumen Community Forum &#8211; it is a place for eLumen users to collaborate on solutions, compare notes, chat about higher education assessment strategies, and get answers about the technical side of running eLumen. By day, I am the eLumen administrator at Tunxis Community College, and in working with eLumen I&#8217;ve run [...]]]></description>
			<content:encoded><![CDATA[<p>I just launched the <a href="http://elumen.element-u.com/forum/">eLumen Community Forum</a> &#8211; it is a place for eLumen users to collaborate on solutions, compare notes, chat about higher education assessment strategies, and get answers about the technical side of running eLumen.</p>
<p>By day, I am the eLumen administrator at Tunxis Community College, and in working with eLumen I&#8217;ve run into all manner of snags &#8211; I assume that other colleges which are supporting their own eLumen server may be having the same issues, and I&#8217;d like for them to be able to benefit fro the solutions we&#8217;ve found, and vice versa.</p>
<p>The key discussion area on the forum, I think, is going to be the <a href="Mashups board">Mashups board</a>.  The Mashup board is the place to discuss bridging eLumen data with other data sources to produce new ways to navigate the data.  The reporting mechanism baked into eLumen is pretty good for basic analysis, but to show the numbers in the context of other things, such as a student&#8217;s <a href="http://elumen.element-u.com/forum/read.php?6,61,63">e-Portfolio work</a>, or to deliver the numbers in an interactive web application where relationships are links to new views, would require the data to be brought into something else.</p>
<p>Anyway, enough about that here.  No one reads this blog anyway.  But I also want to say that I&#8217;m excited because <a href="http://www.phorum.org">phorum</a> is AWESOME software for a forum site, and I&#8217;ve already made my own template (called orange on olive), which is featured &#8211; you guessed it &#8211; at the <a href="http://elumen.element-u.com/forum/">eLumen Community Forum</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2008/02/17/elumen-community-forum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Script: Convert Excel or tab-delimited file to html table</title>
		<link>http://james.revillini.com/2008/01/30/php-script-convert-excel-or-tab-delimited-file-to-html-table/</link>
		<comments>http://james.revillini.com/2008/01/30/php-script-convert-excel-or-tab-delimited-file-to-html-table/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 22:39:15 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://james.revillini.com/2008/01/30/php-script-convert-excel-or-tab-delimited-file-to-html-table/</guid>
		<description><![CDATA[Here&#8217;s a script which I wrote today while on the jorb.  The purpose was so that someone could copy and paste from an excel spreadsheet into a textarea, click a button, and voila: an html table. The nice thing was that when I pasted Excel data into the textarea, it was tab-delimited with line breaks.  [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a script which I wrote today while on the jorb.  The purpose was so that someone could copy and paste from an excel spreadsheet into a textarea, click a button, and voila: an html table.</p>
<p>The nice thing was that when I pasted Excel data into the textarea, it was tab-delimited with line breaks.  At that point, all I needed to do was some replacements and throw a table wrapper on it.</p>
<p>Here&#8217;s the code for the conversion function (sorry &#8211; i haven&#8217;t installed a php code parser yet to style this more nicely):</p>
<p>&lt;?php<br />
/**<br />
* convert tab delimited file to html table<br />
* @input string tab-delimited text<br />
* found at http://james.revillini.com<br />
* note: you are not required to keep the above copyright notice in this code.<br />
*/<br />
function tabs_to_table($input) {<br />
//define replacement constants<br />
define(&#8216;TAB_REPLACEMENT&#8217;, &#8216;&lt;/td&gt;&lt;td&gt; &#8216;);<br />
define(&#8216;NEWLINE_REPLACEMENT&#8217;, &#8216;&lt;/td&gt;&lt;/tr&gt;&lt;tr%s&gt;&lt;td&gt; &#8216;);<br />
define(&#8216;TABLE_BEGIN&#8217;, &#8216;&lt;table&gt;&lt;tr&gt;&lt;td&gt; &#8216;);<br />
define(&#8216;TABLE_END&#8217;, &#8216;&lt;/td&gt;&lt;tr&gt;&lt;/table&gt;&#8217;);&lt;/code&gt;</p>
<p>//replace all tabs with end-cell, begin-cell<br />
$input = preg_replace  (’/\t/’  , TAB_REPLACEMENT  , $input);</p>
<p>//split the list on linebreaks<br />
$rows = preg_split  (’/\r\n/’  , $input);</p>
<p>//replace all linebreaks with end-row, begin-row (with or without altRow class)<br />
$output = ”;<br />
foreach ($rows as $index =&gt; $row) {<br />
$output .= $row . sprintf(NEWLINE_REPLACEMENT, ($index%2?”:’ class=”alt”‘));<br />
}</p>
<p>//build table<br />
$input = TABLE_BEGIN . $output . TABLE_END;<br />
return ($input);<br />
}<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2008/01/30/php-script-convert-excel-or-tab-delimited-file-to-html-table/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Joomla Tip: &#8220;mgmedia2 component not installed. Please install first to use the plugin.&#8221;</title>
		<link>http://james.revillini.com/2008/01/28/joomla-tip-mgmedia2-component-not-installed-please-install-first-to-use-the-plugin/</link>
		<comments>http://james.revillini.com/2008/01/28/joomla-tip-mgmedia2-component-not-installed-please-install-first-to-use-the-plugin/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 23:25:06 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://james.revillini.com/2008/01/28/joomla-tip-mgmedia2-component-not-installed-please-install-first-to-use-the-plugin/</guid>
		<description><![CDATA[If you are seeing &#8220;mgmedia2 component not installed. Please install first to use the plugin.&#8221; then you probably either just tried to uninstall the mgmedia2 thing from your Joomla admin panel, or are trying to install mgmedia2. If you want to uninstal mgmedia2, make sure you go to Installers &#62; Mambots and uninstall the mambot/plugin [...]]]></description>
			<content:encoded><![CDATA[<p>If you are seeing &#8220;<strong>mgmedia2 component not installed. Please install first to use the plugin.</strong>&#8221; then you probably  either</p>
<ol>
<li>just tried to uninstall the mgmedia2 thing from your Joomla admin panel, or</li>
<li>are trying to install mgmedia2.</li>
</ol>
<p>If you want to uninstal mgmedia2, make sure you go to Installers &gt; Mambots and uninstall the mambot/plugin as well.</p>
<p>If you want to install mgmedia2, you missed a step and you still need to installed the component in Installers &gt; Components.  See <a href="readme">readme</a>.</p>
<p>I just wanted to put this out there in case anyone is struggling with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.revillini.com/2008/01/28/joomla-tip-mgmedia2-component-not-installed-please-install-first-to-use-the-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
