<?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>The Danosphere. &#187; programming</title>
	<atom:link href="http://www.thedanosphere.com/tags/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedanosphere.com</link>
	<description>class TheDanosphere extends Dan implements Blog</description>
	<lastBuildDate>Thu, 03 Nov 2011 18:50:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Build iPhone iOS Apps Using Flex Hero and Flash Builder Burrito</title>
		<link>http://www.thedanosphere.com/2011/02/24/build-iphone-apps-using-flex-hero-and-flash-builder-burrito/</link>
		<comments>http://www.thedanosphere.com/2011/02/24/build-iphone-apps-using-flex-hero-and-flash-builder-burrito/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 04:39:27 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.thedanosphere.com/?p=388</guid>
		<description><![CDATA[**Editor&#8217;s Note: I have a jailbroken iPhone, which makes installing custom IPA files incredibly easy in comparison to those of you still imprisoned by Apple. If you have a legitimate Apple Dev Cert. you should be able to just drag and drop your IPA into iTunes and sync- but I am free of Apple&#8217;s chains, [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="color: #999999;font-size:11px">**Editor&#8217;s Note: I have a jailbroken iPhone, which makes installing custom IPA files incredibly easy in comparison to those of you still imprisoned by Apple. If you have a legitimate Apple Dev Cert. you should be able to just drag and drop your IPA into iTunes and sync- but I am free of Apple&#8217;s chains, so I haven&#8217;t tested this and can&#8217;t promise you anything.</span></p>
<p><span style="color: #999999;font-size:11px">If you are jailbroken, you have nothing to fear and are ready to rock and roll. For information on jailbreaking iOS 4.2 to make your life easier and your iOS awesomer <a href="http://www.redmondpie.com/jailbreak-ios-4.2.1-untethered-iphone-ipad-ipod-touch-greenpois0n-rc5-how-to-guide/">click here</a>**</span></em></p>
<p>Everyone is excited about Adobe&#8217;s new Flex Hero SDK, the first Flex SDK to truly enable mobile application development using the Flex framework. And then you read that it only allows you to build native applications for android, and you grimace, and move on. <a href="http://labs.adobe.com/technologies/flex/mobile/faq.html#iosdeploy">At least that&#8217;s what Adobe tells you</a>. I&#8217;m here to tell you that with a little know-how, and some command-line fu, you can indeed built Flex mobile applications for the iPhone- <em>right now</em>.</p>
<p>First you&#8217;ll need to equip yourself. To complete this you need to download the Flex Hero 4.5 SDK, Flash Builder Burrito, and the Adobe Packager for iPhone.</p>
<p><a href="https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashbuilder_burrito">Download: Flash Builder Burrito Preview Release [includes Flex Hero SDK bundled]</a></p>
<p><a href="http://labs.adobe.com/downloads/packagerforiphone.html">Download: Adobe Package for iPhone Preview 2</a></p>
<p>This walkthrough is going to be extremely basic. I&#8217;ll show you how to get a simple Flex Mobile app onto your iphone, and then it&#8217;s up to you to build on these concepts.</p>
<p>Open up Flash Builder Burrito and create a new mobile project, add a simple button to the main application just so you can know that everything is working. Save and exit. Now fire up a command line/terminal. What you need to do now is use the Flex mxmlc command line compiler to create a swf file from you MXML application which is compatible with the Packager for iPhone- Flash Builder Burrito will not do this by default because it uses the AIR2.5 namespace, that&#8217;s why you need to use the command line. After you generate a SWF file, you will use the Package for iPhone to create a .IPA file that you can drop onto your phone. Presto changeo- Flex Mobile application on iPhone!</p>
<p>There are a few catches to all of this, so keep reading. To generate IPA iphone application files using Packager for iPhone you need 2 things- an XML application descriptor file, and an Apple Developer Security Certificate.</p>
<p>The first part is easy, create a file &#8211; I called mine dl3_mobile-app.xml. This file tells the packager for iPhone a few things, namely stuff about icons, splash screens, and the like. Here is my application descriptor file for reference:</p>
<p><script type="text/javascript" src="http://embed.snipt.org/wnxh"></script><noscript>if(embedStylesPrinted != true) {document.write('<link type="text/css" rel="stylesheet" href="http://snipt.org/snipt/extend/embed/snipt_js.css">');}var embedStylesPrinted = true;v1var content = '<div id="snipt-embed-408421142" class="snipt-embed" ><div class="snipt-embed-meta-container"><div class="snipt-embed-title">asdf</div><div class="snipt-embed-language">asp</div></div><div class="snipt-embed-code" style="background-color:#fafafa"><pre class="asp" style="font-size:12px;color: #;">fds</pre></div><div class="snipt-embed-byline" style="display:block"><div class="snipt-embed-logo" style="display:inline-block"><a href="http://snipt.org/zlZl5" title="Powered by Snipt.org - Easily share source code" style="text-decoration:none"><img src="http://snipt.org/snipt/images/embed_logo.png" border="0"></a></div><!--<div class="snipt-embed-poweredby" style="display:inline-block"><a href="http://snipt.org/zlZl5" title="Easily share source code">powered by snipt.org</a></div>--></div></div><style type="text/css">  #snipt-embed-408421142 pre {    background-color: #fafafa !important;    background-image: none !important;  }</style>';document.write(content);<br>[code snippet: <a href="http://snipt.org/wnxh">http://snipt.org/wnxh</a>]</noscript></p>
<p>The second problem is the whole Apple Developer certificate issue. The problem is, those cost money- and most likely you just want to see your Flex App running on an iPhone, so why would you spend $100 to see that? Amirite? Right. So check out this nifty walkthrough on how to get a Fake Apple Developer cert so you can keep moving forward with this whole shibang &#8211; you may need to create an account to download the necessary files, but it&#8217;s free and they won&#8217;t spam ya:</p>
<p><a href="http://www.instructables.com/id/How-to-use-Adobes-iPhone-Packager-without-an-Appl/">How to use Adobe&#8217;s iPhone Packager without an Apple Developer Subscription</a></p>
<p>Ok now we&#8217;re set. So now we just need to compile the swf from the command line, and then package it up for iPhone. Here are the 2 commands respectively to accomplish all that:</p>
<p><script type="text/javascript" src="http://embed.snipt.org/wnxi"></script><noscript>if(embedStylesPrinted != true) {document.write('<link type="text/css" rel="stylesheet" href="http://snipt.org/snipt/extend/embed/snipt_js.css">');}var embedStylesPrinted = true;v1var content = '<div id="snipt-embed-300381721" class="snipt-embed" ><div class="snipt-embed-meta-container"><div class="snipt-embed-title">asdf</div><div class="snipt-embed-language">asp</div></div><div class="snipt-embed-code" style="background-color:#fafafa"><pre class="asp" style="font-size:12px;color: #;">fds</pre></div><div class="snipt-embed-byline" style="display:block"><div class="snipt-embed-logo" style="display:inline-block"><a href="http://snipt.org/zlZm4" title="Powered by Snipt.org - Easily share source code" style="text-decoration:none"><img src="http://snipt.org/snipt/images/embed_logo.png" border="0"></a></div><!--<div class="snipt-embed-poweredby" style="display:inline-block"><a href="http://snipt.org/zlZm4" title="Easily share source code">powered by snipt.org</a></div>--></div></div><style type="text/css">  #snipt-embed-300381721 pre {    background-color: #fafafa !important;    background-image: none !important;  }</style>';document.write(content);<br>[code snippet: <a href="http://snipt.org/wnxi">http://snipt.org/wnxi</a>]</noscript></p>
<p>After the first command is run you should have a SWF file, and after the second one is run [it will take a few minutes to complete, be patient!] you should have an IPA file &#8211; this is a native iPhone application! Boomshakalaka!</p>
<p>All done! Now you just need to copy the IPA file to your iPhone and install it! I&#8217;ll leave that part to you to figure out, but it&#8217;s really easy- <a href="http://www.google.com/search?sourceid=chrome&amp;ie=UTF-8&amp;q=Install+IPA+file+to+iPhone">just Google it</a>.</p>
<p>That&#8217;s it! Shout out to the <a href="http://blog.everythingflex.com/2010/12/28/how-i-compiled-the-tour-de-flex-mobile-to-ios-iphone-with-video/">EverythingFlex Blog</a> for helping me figure this all out.</p>
<p>Remember you technically shouldn&#8217;t be able to do this [Flex on iPhone] so don&#8217;t be shocked when performance is&#8230; subpar. For more helpful links on getting the jump on developing for mobile using Flex Hero, and compiling for iPhone using the Packager for iPhone, checkout these links:</p>
<p><script type="text/javascript" src="http://embed.snipt.org/wnxk"></script><noscript>if(embedStylesPrinted != true) {document.write('<link type="text/css" rel="stylesheet" href="http://snipt.org/snipt/extend/embed/snipt_js.css">');}var embedStylesPrinted = true;v1var content = '<div id="snipt-embed-370980320" class="snipt-embed" ><div class="snipt-embed-meta-container"><div class="snipt-embed-title">asdf</div><div class="snipt-embed-language">asp</div></div><div class="snipt-embed-code" style="background-color:#fafafa"><pre class="asp" style="font-size:12px;color: #;">fds</pre></div><div class="snipt-embed-byline" style="display:block"><div class="snipt-embed-logo" style="display:inline-block"><a href="http://snipt.org/zlZn4" title="Powered by Snipt.org - Easily share source code" style="text-decoration:none"><img src="http://snipt.org/snipt/images/embed_logo.png" border="0"></a></div><!--<div class="snipt-embed-poweredby" style="display:inline-block"><a href="http://snipt.org/zlZn4" title="Easily share source code">powered by snipt.org</a></div>--></div></div><style type="text/css">  #snipt-embed-370980320 pre {    background-color: #fafafa !important;    background-image: none !important;  }</style>';document.write(content);<br>[code snippet: <a href="http://snipt.org/wnxk">http://snipt.org/wnxk</a>]</noscript></p>
<p>Also checkout more of my <a href="http://snipt.org/box/danosphere">SniptBox on Snipt.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedanosphere.com/2011/02/24/build-iphone-apps-using-flex-hero-and-flash-builder-burrito/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Flex SandboxMouseEvent &#8211; Not All It&#8217;s Cracked Up To Be.</title>
		<link>http://www.thedanosphere.com/2011/02/23/flex-sandboxmouseevent-not-all-its-cracked-up-to-be/</link>
		<comments>http://www.thedanosphere.com/2011/02/23/flex-sandboxmouseevent-not-all-its-cracked-up-to-be/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 17:34:14 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.thedanosphere.com/?p=367</guid>
		<description><![CDATA[Recently while piddling around in the day-to-day tasks I handle here at DecisionLens I was deep within the List class when I came across something I had never seen before &#8211; a SandboxMouseEvent [gasp]. Upon seeing all the wonderous events I could listen to I thought- this is amazing! I can listen for all kinds [...]]]></description>
			<content:encoded><![CDATA[<p>Recently while piddling around in the day-to-day tasks I handle here at <a href="http://decisionlens.com">DecisionLens</a> I was deep within the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/List.html">List class</a> when I came across something I had never seen before &#8211; a <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/events/SandboxMouseEvent.html">SandboxMouseEvent </a>[gasp]. Upon seeing all the wonderous events I could listen to I thought- this is amazing! I can listen for all kinds of stuff happening outside of my sandboxed flash window! So I whipped together a little demo to see what this magical new event could do&#8230; [<a href="http://www.thedanosphere.com/labs/sandboxmouseevent/SandboxMouseEvents.html">Click Here for Source</a>]:</p>
<p style="text-align: center;border:1px solid #cccccc"><script type="text/javascript" src="http://www.thedanosphere.com/wp-content/plugins/pb-embedflash/js/swfobject.js"></script><span class="embedflash" id="swfid84ccfb04d70719ff2b619036229034ec"><small>(Please open the article to see the flash file or player.)</small></span><script type="text/javascript">
				var flashvars = {}; var params = {}; var attributes = {};params.allowfullscreen = "true"; params.allowscriptaccess = "always";
				swfobject.embedSWF("http://www.thedanosphere.com/labs/sandboxmouseevent/SandboxMouseEvents.swf","swfid84ccfb04d70719ff2b619036229034ec","550","200","9.0.0","http://www.thedanosphere.com/wp-content/plugins/pb-embedflash/swf/expressInstall.swf",flashvars,params,attributes);
		</script></p>
<p>As you can see, not performing as advertised! It seems the only even it captures is <em>MouseUpSomwhere</em>, and that fires when you roll out of the window? Very weird. I thought maybe it was an issue with being trapped in a browser window, so I threw the same code into an AIR application, and same thing- only event fired was <em>MouseUpSomewhere</em>. I don&#8217;t know if this is a bug (seems to be since mouseUp isn&#8217;t really occuring, its more of a <em>RollOverSomewhere</em>), or I&#8217;m just misunderstanding the functionality of this event, but in either case, it was certainly a letdown to see I was still pretty much trapped within my tiny SWF prison.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedanosphere.com/2011/02/23/flex-sandboxmouseevent-not-all-its-cracked-up-to-be/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Flex HDividedBox and VDividedBox Cursor Assets Independently</title>
		<link>http://www.thedanosphere.com/2010/12/03/using-flex-hdividedbox-and-vdividedbox-cursor-assets-independently/</link>
		<comments>http://www.thedanosphere.com/2010/12/03/using-flex-hdividedbox-and-vdividedbox-cursor-assets-independently/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 07:11:41 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[protip]]></category>

		<guid isPermaLink="false">http://www.thedanosphere.com/?p=365</guid>
		<description><![CDATA[In a recent project of mine I had the need for a vertical resize cursor. Flex has a very nice vertical resize cursor already packaged along with the VDividedBox. There is a similar horizontal resize cursor for the HDividedBox. After some googling and a little sample project, I found out how to access the cursor [...]]]></description>
			<content:encoded><![CDATA[<p>In a recent project of mine I had the need for a vertical resize cursor. Flex has a very nice vertical resize cursor already packaged along with the VDividedBox. There is a similar horizontal resize cursor for the HDividedBox. After some googling and a little sample project, I found out how to access the cursor assets of these components for independent use without an H or V DividedBox. Simply use the embed from below along with a CursorManager.setCursor() call and you&#8217;ve got pretty native horizontal and vertical resize cursors!</p>
<p><script type="text/javascript" src="http://embed.snipt.org/ooggh"></script><noscript>if(embedStylesPrinted != true) {document.write('<link type="text/css" rel="stylesheet" href="http://snipt.org/snipt/extend/embed/snipt_js.css">');}var embedStylesPrinted = true;v1var content = '<div id="snipt-embed-1245308957" class="snipt-embed" ><div class="snipt-embed-meta-container"><div class="snipt-embed-title">asdf</div><div class="snipt-embed-language">asp</div></div><div class="snipt-embed-code" style="background-color:#fafafa"><pre class="asp" style="font-size:12px;color: #;">fds</pre></div><div class="snipt-embed-byline" style="display:block"><div class="snipt-embed-logo" style="display:inline-block"><a href="http://snipt.org/zlZp8" title="Powered by Snipt.org - Easily share source code" style="text-decoration:none"><img src="http://snipt.org/snipt/images/embed_logo.png" border="0"></a></div><!--<div class="snipt-embed-poweredby" style="display:inline-block"><a href="http://snipt.org/zlZp8" title="Easily share source code">powered by snipt.org</a></div>--></div></div><style type="text/css">  #snipt-embed-1245308957 pre {    background-color: #fafafa !important;    background-image: none !important;  }</style>';document.write(content);<br>[code snippet: <a href="http://snipt.org/ooggh">http://snipt.org/ooggh</a>]</noscript></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedanosphere.com/2010/12/03/using-flex-hdividedbox-and-vdividedbox-cursor-assets-independently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decision Lens&#8217;s First Real Infomercial</title>
		<link>http://www.thedanosphere.com/2010/01/28/decision-lenss-first-real-infomercial/</link>
		<comments>http://www.thedanosphere.com/2010/01/28/decision-lenss-first-real-infomercial/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 21:19:01 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Made by me!]]></category>
		<category><![CDATA[decision lens]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.thedanosphere.com/?p=321</guid>
		<description><![CDATA[The company I work for, Decision Lens, is getting into the social media game [finally, somewhat... ok just a little]. Anyways, we have a youtube channel now, it&#8217;s pretty sparse at the moment but if you are a &#8220;youtuber&#8221; it never hurts to follow the Decision Lens YouTube Channel to keep up to date with [...]]]></description>
			<content:encoded><![CDATA[<p>The company I work for, Decision Lens, is getting into the social media game [finally, somewhat... ok just a little]. Anyways, we have a youtube channel now, it&#8217;s pretty sparse at the moment but if you are a &#8220;youtuber&#8221; it never hurts to follow the <a href="http://www.youtube.com/decisionlens">Decision Lens YouTube Channel</a> to keep up to date with our new videos.</p>
<p>In the meantime checkout this vid, it&#8217;s a little long but in all fairness it&#8217;s pretty hard to describe what the Decision Lens Suite does in a succinct way, it&#8217;s a very powerful software platform with a wide range of uses-and the video goes a long way in explaining that. Check it out, for more info visit the <a href="http://decisionlens.com">Decision Lens website</a>.</p>
<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=CxnNiPTH_IM"><img src="http://img.youtube.com/vi/CxnNiPTH_IM/default.jpg" width="130" height="97" border=0></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedanosphere.com/2010/01/28/decision-lenss-first-real-infomercial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snipt.org Releases API, AIR App, and So Much More</title>
		<link>http://www.thedanosphere.com/2009/03/18/sniptorg-releases-api-air-app-and-so-much-more/</link>
		<comments>http://www.thedanosphere.com/2009/03/18/sniptorg-releases-api-air-app-and-so-much-more/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 21:31:19 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[snipt]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.thedanosphere.com/?p=247</guid>
		<description><![CDATA[
I&#8217;m pleased to announce Snipt.org the twitter-based code sharing service is growing into much more. Today the Snipt.org API was released along with a number of other features including an AIR App, AS3 Library,  and Wordpress Plugin (which I&#8217;m using on this site!). Hopefully we will see some cool implmentation of the API in the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://extend.snipt.org"><img class="alignnone" src="http://snipt.org/wp-content/themes/motion/images/snipt_logo.jpg" alt="" width="210" height="75" /></a></p>
<p>I&#8217;m pleased to announce Snipt.org the twitter-based code sharing service is growing into much more. Today the Snipt.org API was released along with a number of other features including an AIR App, AS3 Library,  and Wordpress Plugin (which I&#8217;m using on this site!). Hopefully we will see some cool implmentation of the API in the near future (Textmate hint hint). To check out all the goodies head to <a href="http://extend.snipt.org">Extending Snipt.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedanosphere.com/2009/03/18/sniptorg-releases-api-air-app-and-so-much-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Want to Embed Comedy Central Video? Get Ready to Advertise!</title>
		<link>http://www.thedanosphere.com/2009/03/13/want-to-embed-comedy-central-video-get-ready-to-advertise/</link>
		<comments>http://www.thedanosphere.com/2009/03/13/want-to-embed-comedy-central-video-get-ready-to-advertise/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 19:14:32 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[Comedy Central]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web Marketing]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.thedanosphere.com/?p=238</guid>
		<description><![CDATA[I was a little surprised when I went to make this post using the comedy central &#8220;video embed&#8221; and upon previewing my post saw tiny text-link advertisements for other comedy-central programming underneath the embedded video. I did not want this! I only wanted the video!
Direct Embed From Comedy Central:

Code Trimmed to Show JUST the Video:

So [...]]]></description>
			<content:encoded><![CDATA[<p>I was a little surprised when I went to make <a href="http://www.thedanosphere.com/2009/03/jon-stewart-slams-jim-cramer-unedited/">this post using the comedy central &#8220;video embed&#8221;</a> and upon previewing my post saw tiny text-link advertisements for other comedy-central programming underneath the embedded video. I did not want this! I only wanted the video!</p>
<h3>Direct Embed From Comedy Central:</h3>
<p><a href="http://www.thedanosphere.com/wp-content/uploads/2009/03/advid.png"><img class="alignnone size-full wp-image-240" title="advid" src="http://www.thedanosphere.com/wp-content/uploads/2009/03/advid.png" alt="" width="364" height="362" /></a></p>
<h3>Code Trimmed to Show JUST the Video:</h3>
<p><a href="http://www.thedanosphere.com/wp-content/uploads/2009/03/purevid.png"><img class="alignnone size-full wp-image-241" title="purevid" src="http://www.thedanosphere.com/wp-content/uploads/2009/03/purevid.png" alt="" width="360" height="301" /></a></p>
<p>So I hacked their code [deleted] to get rid of the advertisements which I never asked for to begin with. Want to see the difference between my &#8220;pure video&#8221; embed and the &#8220;advertised embed&#8221;. Here is the code comparison:</p>
<p><script type="text/javascript" src="http://embed.snipt.org/KU"></script><noscript>if(embedStylesPrinted != true) {document.write('<link type="text/css" rel="stylesheet" href="http://snipt.org/snipt/extend/embed/snipt_js.css">');}var embedStylesPrinted = true;v1var content = '<div id="snipt-embed-492578769" class="snipt-embed" ><div class="snipt-embed-meta-container"><div class="snipt-embed-title">asdf</div><div class="snipt-embed-language">asp</div></div><div class="snipt-embed-code" style="background-color:#fafafa"><pre class="asp" style="font-size:12px;color: #;">fds</pre></div><div class="snipt-embed-byline" style="display:block"><div class="snipt-embed-logo" style="display:inline-block"><a href="http://snipt.org/zlkgh9" title="Powered by Snipt.org - Easily share source code" style="text-decoration:none"><img src="http://snipt.org/snipt/images/embed_logo.png" border="0"></a></div><!--<div class="snipt-embed-poweredby" style="display:inline-block"><a href="http://snipt.org/zlkgh9" title="Easily share source code">powered by snipt.org</a></div>--></div></div><style type="text/css">  #snipt-embed-492578769 pre {    background-color: #fafafa !important;    background-image: none !important;  }</style>';document.write(content);<br>[code snippet: <a href="http://snipt.org/KU">http://snipt.org/KU</a>]</noscript></p>
<p>Pretty lame that they try and get people using the embed to unknowingly run their advertisements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedanosphere.com/2009/03/13/want-to-embed-comedy-central-video-get-ready-to-advertise/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

