<?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 Womack &#38; Associates' Portfolio Blog</title>
	<atom:link href="http://jameswomack.com/portfolio/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://jameswomack.com/portfolio</link>
	<description>The Portfolio of San Diego-based Creative Multimedia Artists James Womack &#38; Associates</description>
	<lastBuildDate>Mon, 07 Jun 2010 19:50:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using PHP to Force Download of Audio Files</title>
		<link>http://jameswomack.com/portfolio/index.php/interactive/using-php-to-force-download-of-audio-files/</link>
		<comments>http://jameswomack.com/portfolio/index.php/interactive/using-php-to-force-download-of-audio-files/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 19:50:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/?p=248</guid>
		<description><![CDATA[
&#60;?php
$f = $_GET['fileName'];
$m = $_GET['mimeType'];
header(&#8220;Content-type: $m&#8221;);
header(&#8220;Content-disposition: attachment; filename=$f&#8221;);
readfile(&#8220;$f&#8221;);
?&#62;

&#60;?php

$f = $_GET['fileName'];

$m = $_GET['mimeType'];

header("Content-type: $m");

header("Content-disposition: attachment; filename=$f");

readfile("$f");

?&#62;

Use:

http://jameswomack.com/deep-thoughts/a/download.php?fileName=Bubble-Calvalry.ogg&#38;mimeType=application/ogg

 
]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">&lt;?php</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">$f = $_GET['fileName'];</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">$m = $_GET['mimeType'];</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">header(&#8220;Content-type: $m&#8221;);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">header(&#8220;Content-disposition: attachment; filename=$f&#8221;);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">readfile(&#8220;$f&#8221;);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden; text-align: left;">?&gt;</div>
<pre style="text-align: left;">
&lt;?php

$f = $_GET['fileName'];

$m = $_GET['mimeType'];

header("Content-type: $m");

header("Content-disposition: attachment; filename=$f");

readfile("$f");

?&gt;

Use:

http://jameswomack.com/deep-thoughts/a/download.php?fileName=Bubble-Calvalry.ogg&amp;mimeType=application/ogg
</pre>
<p style="text-align: left;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/interactive/using-php-to-force-download-of-audio-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom JavaScript Function to Submit Form Data</title>
		<link>http://jameswomack.com/portfolio/index.php/interactive/custom-javascript-function-to-submit-form-data/</link>
		<comments>http://jameswomack.com/portfolio/index.php/interactive/custom-javascript-function-to-submit-form-data/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 08:14:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[client-side]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[san diego]]></category>
		<category><![CDATA[server-side]]></category>
		<category><![CDATA[without a framework]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/?p=246</guid>
		<description><![CDATA[function ajaxFunction(formID,resultID)
{
 var xmlhttp;
 if (window.XMLHttpRequest)
 {
 xmlhttp=new XMLHttpRequest();
 }
 else
 {
 // code for IE6, IE5
 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 }
 xmlhttp.onreadystatechange=function()
 {
 if(xmlhttp.readyState==4)
 {
 document.getElementById(resultID).innerHTML=xmlhttp.responseText;
 }
 }
 var params = new Array();
 var cleaned = new Array();
 var elems = document.getElementById(formID).elements;
 var j = 0;
 for(var i in elems){
 if(elems[i].name != '' &#38;&#38; elems[i].name != [...]]]></description>
			<content:encoded><![CDATA[<pre style="text-align: left;">function ajaxFunction(formID,resultID)
{
 var xmlhttp;
 if (window.XMLHttpRequest)
 {
 xmlhttp=new XMLHttpRequest();
 }
 else
 {
 // code for IE6, IE5
 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 }
 xmlhttp.onreadystatechange=function()
 {
 if(xmlhttp.readyState==4)
 {
 document.getElementById(resultID).innerHTML=xmlhttp.responseText;
 }
 }
 var params = new Array();
 var cleaned = new Array();
 var elems = document.getElementById(formID).elements;
 var j = 0;
 for(var i in elems){
 if(elems[i].name != '' &amp;&amp; elems[i].name != undefined &amp;&amp; elems[i].name != 'item' &amp;&amp; elems[i].name != 'namedItem'){
 cleaned[j] = elems[i];
 j++;
 }
 }
 for(var i in cleaned){
 params += cleaned[i].name+"="+cleaned[i].value+'&amp;';
 }
 xmlhttp.open(document.getElementById(formID).method,document.getElementById(formID).action,true);
 xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
 xmlhttp.setRequestHeader("Content-length", params.length);
 xmlhttp.setRequestHeader("Connection", "close");
 xmlhttp.send(params);
}
</pre>
<p style="text-align: left;">You pass the function the ID of your form and the ID of the element that you want to hold the response from your server-side script. This script will automatically use the method and action from your opening form tag.</p>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/interactive/custom-javascript-function-to-submit-form-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temecula Website for Tennis Club</title>
		<link>http://jameswomack.com/portfolio/index.php/interactive/temecula-website-for-tennis-club/</link>
		<comments>http://jameswomack.com/portfolio/index.php/interactive/temecula-website-for-tennis-club/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 23:00:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[temecula]]></category>
		<category><![CDATA[tennis]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/?p=242</guid>
		<description><![CDATA[
A custom developed PHP/MySQL/CSS/xHTML/JavaScript/Flash website for Temecula Valley Tennis. Including Testimonials, photo gallery, about page, contact form, slideshow and more. This website has a content management system (CMS) that allows the client to edit their own content.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://jameswomack.com/portfolio/wp-content/uploads/2009/11/Screen-shot-2009-11-01-at-2.54.13-PM.png" title="http://temeculavalleytennis.com/"><img class="alignnone size-medium wp-image-243" title="Temecula Valley Tennis Website" src="http://jameswomack.com/portfolio/wp-content/uploads/2009/11/Screen-shot-2009-11-01-at-2.54.13-PM-225x300.png" alt="Temecula Valley Tennis Website" width="225" height="300" /></a></p>
<p><strong>A custom developed PHP/MySQL/CSS/xHTML/JavaScript/Flash </strong><strong>website for Temecula Valley Tennis</strong>. Including Testimonials, photo gallery, about page, contact form, slideshow and more. This website has a content management system (CMS) that allows the client to edit their own content.</p>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/interactive/temecula-website-for-tennis-club/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Funny Politi</title>
		<link>http://jameswomack.com/portfolio/index.php/uncategorized/funny-politi/</link>
		<comments>http://jameswomack.com/portfolio/index.php/uncategorized/funny-politi/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 10:36:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/?p=232</guid>
		<description><![CDATA[I found one of my designs has been hotlinked on a rabidly right-wing forum.
]]></description>
			<content:encoded><![CDATA[<p>I found one of my designs has been hotlinked on a rabidly right-wing forum.</p>
<div id="attachment_233" class="wp-caption alignnone" style="width: 310px"><a href="http://jameswomack.com/portfolio/wp-content/uploads/2009/10/Screen-shot-2009-10-24-at-3.33.46-AM.png" title="Hotlinked No. 1" rel="lightbox[232]"><img class="size-medium wp-image-233" title="Hotlinked No. 1" src="http://jameswomack.com/portfolio/wp-content/uploads/2009/10/Screen-shot-2009-10-24-at-3.33.46-AM-300x142.png" alt="Hotlinked No. 1" width="300" height="142" /></a><p class="wp-caption-text">Hotlinked No. 1</p></div>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/uncategorized/funny-politi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link to James Womack&#8217;s Resume</title>
		<link>http://jameswomack.com/portfolio/index.php/uncategorized/link-to-james-womacks-resume/</link>
		<comments>http://jameswomack.com/portfolio/index.php/uncategorized/link-to-james-womacks-resume/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 10:07:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/?p=230</guid>
		<description><![CDATA[James Womack Resume
]]></description>
			<content:encoded><![CDATA[<p><a title="James Womack's Resume" href="http://jameswomack.com/j-womack_resume_q3-2009.pdf">James Womack Resume</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/uncategorized/link-to-james-womacks-resume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revamped Frontline Strategies logo for Dynamic Vision Design Studio</title>
		<link>http://jameswomack.com/portfolio/index.php/uncategorized/revamped-frontline-strategies-logo-for-dynamic-vision-design-studio/</link>
		<comments>http://jameswomack.com/portfolio/index.php/uncategorized/revamped-frontline-strategies-logo-for-dynamic-vision-design-studio/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 17:31:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[logo design]]></category>
		<category><![CDATA[political]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/index.php/uncategorized/revamped-frontline-strategies-logo-for-dynamic-vision-design-studio/</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://jameswomack.com/portfolio/wp-content/uploads/2009/10/Screen-shot-2009-10-12-at-10.27.52-AM.png" title="Frontline Strategies &amp; Media LLC Logo" rel="lightbox[229]"><img src="http://jameswomack.com/portfolio/wp-content/uploads/2009/10/Screen-shot-2009-10-12-at-10.27.52-AM-300x59.png" alt="Frontline Strategies &amp; Media LLC Logo" title="Frontline Strategies &amp; Media LLC Logo" width="300" height="59" class="alignnone size-medium wp-image-228" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/uncategorized/revamped-frontline-strategies-logo-for-dynamic-vision-design-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mini-site for liking/disliking tweets</title>
		<link>http://jameswomack.com/portfolio/index.php/interactive/mini-site-for-likingdisliking-tweets/</link>
		<comments>http://jameswomack.com/portfolio/index.php/interactive/mini-site-for-likingdisliking-tweets/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 02:48:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web design]]></category>
		<category><![CDATA[approve]]></category>
		<category><![CDATA[disapprove]]></category>
		<category><![CDATA[dislike]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[tweetworthy]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://jameswomack.com/portfolio/?p=220</guid>
		<description><![CDATA[Coded in PHP/MySQL, this website allows anyone to approve or disapprove of twitter tweets without having to login. To view and rate my tweets, you would go to http://jameswomack.com/tweetworthy/james_womack



]]></description>
			<content:encoded><![CDATA[<p>Coded in PHP/MySQL, this website allows anyone to approve or disapprove of twitter tweets without having to login. To view and rate my tweets, you would go to <a title="Rate Twitter Tweets" href="http://jameswomack.com/tweetworthy/james_womack" target="_blank">http://jameswomack.com/tweetworthy/james_womack</a></p>
<p><br class="spacer_" /></p>
<div id="attachment_221" class="wp-caption alignnone" style="width: 310px"><a href="http://jameswomack.com/tweetworthy"><img class="size-medium wp-image-221" title="Tweetworthy" src="http://jameswomack.com/portfolio/wp-content/uploads/2009/10/Screen-shot-2009-10-11-at-7.45.42-PM-300x226.png" alt="Let's give tweets what they deserve" width="300" height="226" /></a><p class="wp-caption-text">Let&#39;s give tweets what they deserve</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jameswomack.com/portfolio/index.php/interactive/mini-site-for-likingdisliking-tweets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
