<?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>Devs Forrest</title>
	<atom:link href="http://devsforrest.com/feed" rel="self" type="application/rss+xml" />
	<link>http://devsforrest.com</link>
	<description>Developer Community</description>
	<lastBuildDate>Tue, 21 May 2013 00:10:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>S3audible Video Update</title>
		<link>http://devsforrest.com/116/s3audible-video-update</link>
		<comments>http://devsforrest.com/116/s3audible-video-update#comments</comments>
		<pubDate>Mon, 20 May 2013 22:57:42 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[s3audible]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/s3audible-video-update</guid>
		<description><![CDATA[<p>[code]&#60;head&#62;&#60;meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"&#62;&#60;title&#62;s3audible Updates&#60;/title&#62;&#60;/p&#62; &#60;style type=\"text/css\"&#62;a{color:#4A72AF} body,#header h1,#header h2,p{margin:0;padding:0} #main{border:1px solid #cfcece} img{display:block} p{color:#2E2E33} #top-message p,#bottom-message p{color:#2E2E33;font-size:12px;font-family:Arial, Helvetica, sans-serif} #header h1{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0} #header h2{color:#fff!important;font-family:Arial, Helvetica, sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0} #header p{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:12px} h1,h2,h3,h4,h5,h6{margin:0 0 .8em} h3{font-size:28px;color:#444!important;font-family:Arial, Helvetica, sans-serif} h4{font-size:22px;color:#2E2E33!important;font-family:Arial, Helvetica, sans-serif} h5{font-size:18px;color:#444!important;font-family:Arial, Helvetica, sans-serif} p{font-size:12px;color:#444!important;font-family:\"Lucida [...]</p><p>The post <a href="http://devsforrest.com/116/s3audible-video-update">S3audible Video Update</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]&lt;head&gt;&lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"&gt;&lt;title&gt;s3audible Updates&lt;/title&gt;&lt;/p&gt;<br />
&lt;style type=\"text/css\"&gt;a{color:#4A72AF}<br />
body,#header h1,#header h2,p{margin:0;padding:0}<br />
#main{border:1px solid #cfcece}<br />
img{display:block}<br />
p{color:#2E2E33}<br />
#top-message p,#bottom-message p{color:#2E2E33;font-size:12px;font-family:Arial, Helvetica, sans-serif}<br />
#header h1{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0}<br />
#header h2{color:#fff!important;font-family:Arial, Helvetica, sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0}<br />
#header p{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:12px}<br />
h1,h2,h3,h4,h5,h6{margin:0 0 .8em}<br />
h3{font-size:28px;color:#444!important;font-family:Arial, Helvetica, sans-serif}<br />
h4{font-size:22px;color:#2E2E33!important;font-family:Arial, Helvetica, sans-serif}<br />
h5{font-size:18px;color:#444!important;font-family:Arial, Helvetica, sans-serif}<br />
p{font-size:12px;color:#444!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;line-height:1.5}<br />
&lt;/style&gt;<br />
&lt;p&gt;&lt;/head&gt;&lt;body&gt;&lt;/p&gt;<br />
&lt;table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"e4e4e4\" style=\"border-radius: 6px;\"&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=\"top-message\" cellpadding=\"20\" cellspacing=\"0\" width=\"600\" align=\"center\"&gt;<br />
&lt;tr&gt;<br />
&lt;td align=\"center\"&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;table id=\"main\" width=\"600\" align=\"center\" cellpadding=\"0\" cellspacing=\"15\" bgcolor=\"ffffff\" style=\"border-radius: 6px;\"&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=\"header\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" bgcolor=\"7aa7e9\"&gt;<br />
&lt;tr&gt;<br />
&lt;td width=\"600\" bgcolor=\"2E2E33\" align=\"center\"&gt;&lt;a href=\"http://s3fileshare.com/\" style=\"margin:auto;float:left;padding:5px;\"&gt;&lt;img src=\"https://s3.amazonaws.com/s3audible/Designs%2Flogos3.png\" width=\"86\" height=\"55\"/&gt;&lt;/a&gt;&lt;/p&gt;<br />
&lt;h1 style=\"text-align:center;padding:5px;color:#eee;margin-top:20px;font-size:16px;float:left;\"&gt; S3audible - Now With Video&lt;/h1&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=\"content-1\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" style=\"font-size:14px;\"&gt;<br />
&lt;tr&gt;<br />
&lt;td width=\"570\" valign=\"top\" colspan=\"3\"&gt;<br />
  &lt;h4&gt;S3audible can now stream video&lt;/h4&gt;<br />
&lt;p&gt;You can now stream audio and video with s3audible in version 2.6 &lt;a href=\"http://wordpress.org/plugins/s3audible-amazon-s3-music-player/\"&gt;Wordpress Plugin&lt;/a&gt;. If there are any errors upon upgrade support can be contacted and the version can be rolled back to a &lt;a href=\"http://s3audible.com/s3audible-old-plugin-versions\"&gt;previous version&lt;/a&gt;.&lt;/p&gt;<br />
  &lt;a href=\"http://www.youtube.com/watch?v=v51Cuv5tPhw\"&gt;&lt;img src=\"https://s3.amazonaws.com/s3audible/Screen+Shot+2013-05-20+at+22.55.24.png\"/&gt;&lt;/a&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Personal Video Brand Logo Added.&lt;/li&gt;<br />
&lt;li&gt;Video Streaming.&lt;/li&gt;<br />
&lt;li&gt;Bug fixes.&lt;/li&gt;<br />
&lt;li&gt;Player style updated.&lt;/li&gt;<br />
&lt;li&gt;General performance fixes.&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;p&gt;&lt;a href=\"http://www.youtube.com/watch?v=v51Cuv5tPhw\" style=\"color:#ffffff;display:inline-block;font-family:Arial,sans-serif;width:auto;white-space:nowrap;min-height:32px;margin:5px 5px 10px 0;padding:0 22px;text-decoration:none;text-align:center;font-weight:bold;font-style:normal;font-size:15px;line-height:32px;border:0;border-radius:4px;vertical-align:top;background-color:#2E2E33\"&gt;&lt;span style=\"display:inline;font-family:Arial,sans-serif;text-decoration:none;font-weight:bold;font-style:normal;font-size:15px;line-height:32px;border:none;background-color:#2E2E33;color:#ffffff\"&gt;View Version 2.6 Video&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;table id=\"bottom-message\" cellpadding=\"20\" cellspacing=\"0\" width=\"600\" align=\"center\"&gt;<br />
&lt;tr&gt;<br />
&lt;td align=\"center\"&gt;<br />
&lt;p style=\"color:#2E2E33;\"&gt;You are receiving this email because a user of s3audible.com has added you.&lt;/p&gt;<br />
&lt;p&gt;&lt;a href=\"support@s3audible.com\"&gt;Report Error&lt;/a&gt;&lt;/p&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=S3audible+Video+Update+http%3A%2F%2Fis.gd%2Fgr3Wls" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=S3audible+Video+Update+http%3A%2F%2Fis.gd%2Fgr3Wls" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/s3audible-video-update">S3audible Video Update</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/s3audible-video-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>s3audible updates email</title>
		<link>http://devsforrest.com/116/s3audible-updates-email</link>
		<comments>http://devsforrest.com/116/s3audible-updates-email#comments</comments>
		<pubDate>Mon, 15 Apr 2013 12:53:08 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[web general]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[s3audible]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/s3audible-updates-email</guid>
		<description><![CDATA[<p>[code]&#60;head&#62;&#60;meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"&#62;&#60;title&#62;s3audible Updates&#60;/title&#62;&#60;/p&#62; &#60;style type=\"text/css\"&#62;a{color:#4A72AF} body,#header h1,#header h2,p{margin:0;padding:0} #main{border:1px solid #cfcece} img{display:block} p{color:#2E2E33} #top-message p,#bottom-message p{color:#2E2E33;font-size:12px;font-family:Arial, Helvetica, sans-serif} #header h1{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0} #header h2{color:#fff!important;font-family:Arial, Helvetica, sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0} #header p{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:12px} h1,h2,h3,h4,h5,h6{margin:0 0 .8em} h3{font-size:28px;color:#444!important;font-family:Arial, Helvetica, sans-serif} h4{font-size:22px;color:#2E2E33!important;font-family:Arial, Helvetica, sans-serif} h5{font-size:18px;color:#444!important;font-family:Arial, Helvetica, sans-serif} p{font-size:12px;color:#444!important;font-family:\"Lucida [...]</p><p>The post <a href="http://devsforrest.com/116/s3audible-updates-email">s3audible updates email</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]&lt;head&gt;&lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"&gt;&lt;title&gt;s3audible Updates&lt;/title&gt;&lt;/p&gt;<br />
&lt;style type=\"text/css\"&gt;a{color:#4A72AF}<br />
body,#header h1,#header h2,p{margin:0;padding:0}<br />
#main{border:1px solid #cfcece}<br />
img{display:block}<br />
p{color:#2E2E33}<br />
#top-message p,#bottom-message p{color:#2E2E33;font-size:12px;font-family:Arial, Helvetica, sans-serif}<br />
#header h1{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0}<br />
#header h2{color:#fff!important;font-family:Arial, Helvetica, sans-serif;font-size:24px;margin-bottom:0!important;padding-bottom:0}<br />
#header p{color:#fff!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;font-size:12px}<br />
h1,h2,h3,h4,h5,h6{margin:0 0 .8em}<br />
h3{font-size:28px;color:#444!important;font-family:Arial, Helvetica, sans-serif}<br />
h4{font-size:22px;color:#2E2E33!important;font-family:Arial, Helvetica, sans-serif}<br />
h5{font-size:18px;color:#444!important;font-family:Arial, Helvetica, sans-serif}<br />
p{font-size:12px;color:#444!important;font-family:\"Lucida Grande\", \"Lucida Sans\", \"Lucida Sans Unicode\", sans-serif;line-height:1.5}<br />
&lt;/style&gt;<br />
&lt;p&gt;&lt;/head&gt;&lt;body&gt;&lt;/p&gt;<br />
&lt;table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"e4e4e4\" style=\"border-radius: 6px;\"&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=\"top-message\" cellpadding=\"20\" cellspacing=\"0\" width=\"600\" align=\"center\"&gt;<br />
&lt;tr&gt;<br />
&lt;td align=\"center\"&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;table id=\"main\" width=\"600\" align=\"center\" cellpadding=\"0\" cellspacing=\"15\" bgcolor=\"ffffff\" style=\"border-radius: 6px;\"&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=\"header\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" bgcolor=\"7aa7e9\"&gt;<br />
&lt;tr&gt;<br />
&lt;td width=\"600\" bgcolor=\"2E2E33\" align=\"center\"&gt;&lt;a href=\"http://s3fileshare.com/\" style=\"margin:auto;float:left;padding:5px;\"&gt;&lt;img src=\"https://s3.amazonaws.com/s3audible/Designs%2Flogos3.png\" width=\"86\" height=\"55\"/&gt;&lt;/a&gt;&lt;/p&gt;<br />
&lt;h1 style=\"text-align:center;padding:5px;color:#eee;margin-top:20px;font-size:16px;float:left;\"&gt; s3audible Player New Updates&lt;/h1&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;table id=\"content-1\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\" style=\"font-size:14px;\"&gt;<br />
&lt;tr&gt;<br />
&lt;td width=\"570\" valign=\"top\" colspan=\"3\"&gt;<br />
&lt;p&gt;S3 audible has had a new lease of life and development is progressing forward.&lt;/p&gt;<br />
&lt;p&gt;We have had a high number of emails from users asking for a tutorial on the new updates here it is please click view video below.&lt;/p&gt;<br />
  &lt;h4&gt;Please view our updates below&lt;/h4&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Download links can now be added.&lt;/li&gt;<br />
&lt;li&gt;Downloads can only be accessed by logged in users option.&lt;/li&gt;<br />
&lt;li&gt;Bug fix for player positioning with posts and pages.&lt;/li&gt;<br />
&lt;li&gt;Player style updated.&lt;/li&gt;<br />
&lt;li&gt;General performance fixes.&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;p&gt;&lt;a href=\"http://www.youtube.com/watch?v=sI2a9607Vmk\" style=\"color:#ffffff;display:inline-block;font-family:Arial,sans-serif;width:auto;white-space:nowrap;min-height:32px;margin:5px 5px 10px 0;padding:0 22px;text-decoration:none;text-align:center;font-weight:bold;font-style:normal;font-size:15px;line-height:32px;border:0;border-radius:4px;vertical-align:top;background-color:#2E2E33\" target=\"_blank\"&gt;&lt;span style=\"display:inline;font-family:Arial,sans-serif;text-decoration:none;font-weight:bold;font-style:normal;font-size:15px;line-height:32px;border:none;background-color:#2E2E33;color:#ffffff\"&gt;View Updates Video&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;table id=\"bottom-message\" cellpadding=\"20\" cellspacing=\"0\" width=\"600\" align=\"center\"&gt;<br />
&lt;tr&gt;<br />
&lt;td align=\"center\"&gt;<br />
&lt;p style=\"color:#2E2E33;\"&gt;You are receiving this email because a user of s3audible.com has added you.&lt;/p&gt;<br />
&lt;p&gt;&lt;a href=\"support@s3audible.com\"&gt;Report Error&lt;/a&gt;&lt;/p&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=s3audible+updates+email+http%3A%2F%2Fis.gd%2FVWuDer" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=s3audible+updates+email+http%3A%2F%2Fis.gd%2FVWuDer" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/s3audible-updates-email">s3audible updates email</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/s3audible-updates-email/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dummy code for mobile recording device</title>
		<link>http://devsforrest.com/116/dummy-code-for-mobile-recording-device</link>
		<comments>http://devsforrest.com/116/dummy-code-for-mobile-recording-device#comments</comments>
		<pubDate>Tue, 12 Mar 2013 15:00:08 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[Amazon s3]]></category>
		<category><![CDATA[record]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/dummy-code-for-mobile-recording-device</guid>
		<description><![CDATA[<p>[code]var main = require(\'controller\'); var helpers = require(\'helper\'); exports.create = function(model) { var file; var timer; var sound; duration = 0; self = Ti.UI.createWindow({ title: \'Audio Recording from audibase\', backgroundColor: \'#edeff1\' }); Titanium.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD; var record = Ti.Media.createAudioRecorder(); record.compression = Ti.Media.AUDIO_FORMAT_ULAW; record.format = Ti.Media.AUDIO_FILEFORMAT_WAVE; label = Titanium.UI.createLabel({ text:\'\', top:150, color:\'#999\', textAlign:\'center\', width:\'auto\', height:\'auto\' }); [...]</p><p>The post <a href="http://devsforrest.com/116/dummy-code-for-mobile-recording-device">Dummy code for mobile recording device</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]var main = require(\'controller\');<br />
var helpers = require(\'helper\');<br />
exports.create = function(model) {</p>
<p>var file;<br />
var timer;<br />
var sound;<br />
duration = 0;</p>
<p>self = Ti.UI.createWindow({<br />
		title: \'Audio Recording from audibase\',<br />
        backgroundColor: \'#edeff1\'<br />
});</p>
<p>Titanium.Media.audioSessionMode = Ti.Media.AUDIO_SESSION_MODE_PLAY_AND_RECORD;<br />
var record = Ti.Media.createAudioRecorder();</p>
<p>record.compression = Ti.Media.AUDIO_FORMAT_ULAW;<br />
record.format = Ti.Media.AUDIO_FILEFORMAT_WAVE;</p>
<p>label = Titanium.UI.createLabel({<br />
	text:\'\',<br />
	top:150,<br />
	color:\'#999\',<br />
	textAlign:\'center\',<br />
	width:\'auto\',<br />
	height:\'auto\'<br />
});</p>
<p>self.add(label);</p>
<p>var linetype = Titanium.UI.createLabel({<br />
	text: \"audio line type: \"+lineTypeToStr(),<br />
	bottom:20,<br />
	color:\'#999\',<br />
	textAlign:\'center\',<br />
	width:\'auto\',<br />
	height:\'auto\'<br />
});</p>
<p>self.add(linetype);</p>
<p>var volume = Titanium.UI.createLabel({<br />
	text: \"volume: \"+Ti.Media.volume,<br />
	bottom:50,<br />
	color:\'#999\',<br />
	textAlign:\'center\',<br />
	width:\'auto\',<br />
	height:\'auto\'<br />
});</p>
<p>self.add(volume);</p>
<p>Ti.Media.addEventListener(\'linechange\',function(e)<br />
{<br />
	linetype.text = \"audio line type: \"+lineTypeToStr();<br />
});</p>
<p>Ti.Media.addEventListener(\'volume\',function(e)<br />
{<br />
	volume.text = \"volume: \"+e.volume;<br />
});</p>
<p>var b1 = Titanium.UI.createButton({<br />
	title:\'Start Recording\',<br />
	backgroundImage: \'transparent\',<br />
	backgroundColor: \'#58c6ad\',<br />
    color:\'#fff\',<br />
    borderRadius:10,<br />
    font:{fontFamily:\'Arial\',fontWeight:\'bold\',fontSize:helpers.GetHeight(14)},<br />
	width:200,<br />
	height:40,<br />
	top:20<br />
});<br />
b1.addEventListener(\'click\', function()<br />
{<br />
	Ti.API.info(record);<br />
	if (record.recording){<br />
		alert(\'started\');<br />
		file = record.stop();<br />
		Ti.API.info(file);<br />
		var filename = new Date().getTime() + \".wav\";<br />
		var newFile =Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory,filename);<br />
		Ti.API.info(newFile);<br />
        newFile.write(file);</p>
<p>        var xhr = Titanium.Network.createHTTPClient();</p>
<p>        var toUpload = newFile.read();</p>
<p>        xhr.onload = function(e){</p>
<p>				var response = this.responseData;<br />
				Ti.API.info(response);</p>
<p>		};<br />
        xhr.setTimeout ( 20000 );<br />
        xhr.open(\'POST\', \'http://audibase.com/mobile_app/appupload\', false);<br />
        xhr.send({data: toUpload, pid: model.playlist_id, uid: model.user_id, pname: \'testing\'});</p>
<p>		b1.title = \"Start Recording\";<br />
		b2.show();<br />
		pause.hide();<br />
		clearInterval(timer);<br />
		Ti.Media.stopMicrophoneMonitor();<br />
	}<br />
	else<br />
	{<br />
		alert(\'stop\');<br />
		if (!Ti.Media.canRecord) {<br />
			Ti.UI.createAlertDialog({<br />
				title:\'Error!\',<br />
				message:\'No audio recording hardware is currently connected.\'<br />
			}).show();<br />
			return;<br />
		}<br />
		b1.title = \"Stop Recording\";<br />
		record.start();<br />
		b2.hide();<br />
		pause.show();<br />
		Ti.Media.startMicrophoneMonitor();<br />
		duration = 0;<br />
		timer = setInterval(showLevels,1000);<br />
	}<br />
});<br />
self.add(b1);</p>
<p>var pause = Titanium.UI.createButton({<br />
	title:\'Pause recording\',<br />
	backgroundImage: \'transparent\',<br />
	backgroundColor: \'#58c6ad\',<br />
    color:\'#fff\',<br />
    borderRadius:10,<br />
    font:{fontFamily:\'Arial\',fontWeight:\'bold\',fontSize:helpers.GetHeight(14)},<br />
	width:200,<br />
	height:40,<br />
	top:80<br />
});<br />
self.add(pause);<br />
pause.hide();</p>
<p>pause.addEventListener(\'click\', function() {<br />
	if (record.paused) {<br />
		pause.title = \'Pause recording\';<br />
		record.resume();<br />
		timer = setInterval(showLevels,1000);<br />
	}<br />
	else {<br />
		pause.title = \'Unpause recording\';<br />
		record.pause();<br />
		clearInterval(timer);<br />
	}<br />
});</p>
<p>var b2 = Titanium.UI.createButton({<br />
	title:\'Playback Recording\',<br />
	backgroundImage: \'transparent\',<br />
	backgroundColor: \'#58c6ad\',<br />
    color:\'#fff\',<br />
    borderRadius:10,<br />
    font:{fontFamily:\'Arial\',fontWeight:\'bold\',fontSize:helpers.GetHeight(14)},<br />
	width:200,<br />
	height:40,<br />
	top:80<br />
});</p>
<p>self.add(b2);<br />
b2.hide();<br />
b2.addEventListener(\'click\', function()<br />
{<br />
	if (sound &amp;&amp; sound.playing)<br />
	{<br />
		sound.stop();<br />
		sound.release();<br />
		sound = null;<br />
		b2.title = \'Playback Recording\';<br />
	}<br />
	else<br />
	{<br />
		Ti.API.info(\"recording file size: \"+file.size);<br />
		sound = Titanium.Media.createSound({url:file});<br />
		sound.addEventListener(\'complete\', function()<br />
		{<br />
			b2.title = \'Playback Recording\';<br />
		});<br />
		sound.play();<br />
		b2.title = \'Stop Playback\';<br />
	}<br />
});</p>
<p>self.open();</p>
<p>};</p>
<p>function showLevels(){<br />
	var peak = Ti.Media.peakMicrophonePower;<br />
	var avg = Ti.Media.averageMicrophonePower;<br />
	duration++;<br />
	label.text = \'duration: \'+duration+\' secondsnpeak power: \'+peak+\'navg power: \'+avg;<br />
}</p>
<p>function lineTypeToStr(){<br />
	var type = Ti.Media.audioLineType;<br />
	switch(type)<br />
	{<br />
		case Ti.Media.AUDIO_HEADSET_INOUT:<br />
			return \"headset\";<br />
		case Ti.Media.AUDIO_RECEIVER_AND_MIC:<br />
			return \"receiver/mic\";<br />
		case Ti.Media.AUDIO_HEADPHONES_AND_MIC:<br />
			return \"headphones/mic\";<br />
		case Ti.Media.AUDIO_HEADPHONES:<br />
			return \"headphones\";<br />
		case Ti.Media.AUDIO_LINEOUT:<br />
			return \"lineout\";<br />
		case Ti.Media.AUDIO_SPEAKER:<br />
			return \"speaker\";<br />
		case Ti.Media.AUDIO_MICROPHONE:<br />
			return \"microphone\";<br />
		case Ti.Media.AUDIO_MUTED:<br />
			return \"silence switch on\";<br />
		case Ti.Media.AUDIO_UNAVAILABLE:<br />
			return \"unavailable\";<br />
		case Ti.Media.AUDIO_UNKNOWN:<br />
			return \"unknown\";<br />
	}<br />
}[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Dummy+code+for+mobile+recording+device+http%3A%2F%2Fis.gd%2FjOR7vx" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Dummy+code+for+mobile+recording+device+http%3A%2F%2Fis.gd%2FjOR7vx" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/dummy-code-for-mobile-recording-device">Dummy code for mobile recording device</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/dummy-code-for-mobile-recording-device/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Absolutely love google for this html5 canvas fix</title>
		<link>http://devsforrest.com/116/absolutely-love-google-for-this-html5-canvas-fix</link>
		<comments>http://devsforrest.com/116/absolutely-love-google-for-this-html5-canvas-fix#comments</comments>
		<pubDate>Thu, 21 Feb 2013 14:05:18 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[web general]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[html6]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/absolutely-love-google-for-this-html5-canvas-fix</guid>
		<description><![CDATA[<p>[code]&#60;meta charset=\"utf-8\" http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=IE6\"&#62;[/code] Tweet This Post</p><p>The post <a href="http://devsforrest.com/116/absolutely-love-google-for-this-html5-canvas-fix">Absolutely love google for this html5 canvas fix</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]&lt;meta charset=\"utf-8\" http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=IE6\"&gt;[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Absolutely+love+google+for+this+html5+canvas+fix+http%3A%2F%2Fis.gd%2FFBc6TW" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Absolutely+love+google+for+this+html5+canvas+fix+http%3A%2F%2Fis.gd%2FFBc6TW" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/absolutely-love-google-for-this-html5-canvas-fix">Absolutely love google for this html5 canvas fix</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/absolutely-love-google-for-this-html5-canvas-fix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up icecast</title>
		<link>http://devsforrest.com/116/setting-up-icecast</link>
		<comments>http://devsforrest.com/116/setting-up-icecast#comments</comments>
		<pubDate>Sat, 16 Feb 2013 14:42:53 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[web general]]></category>
		<category><![CDATA[icecast]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/setting-up-icecast</guid>
		<description><![CDATA[<p>[code]# yum install curl-devel libtheora-devel libvorbis-devel libxslt-devel speex-devel Steps -------------- cd /usr/src/ wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz tar -xvzf icecast-2.3.2.tar.gz cd icecast-2.3.2/ ./configure --sysconfdir=/etc/icecast --prefix=/usr --exec-prefix=/usr --datadir=/usr/share --enable-fsstd --with-libwra make make install Configuration ---------------- You need to modify the /etc/icecast/icecast.xml file and change the default passwords for the users: source, relay, admin. The default passwords are &#8216;hackme&#8217;. &#60;authentication&#62; [...]</p><p>The post <a href="http://devsforrest.com/116/setting-up-icecast">Setting up icecast</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]# yum install curl-devel libtheora-devel libvorbis-devel libxslt-devel speex-devel</p>
<p>Steps<br />
--------------<br />
cd /usr/src/<br />
wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz<br />
tar -xvzf icecast-2.3.2.tar.gz<br />
cd icecast-2.3.2/<br />
./configure --sysconfdir=/etc/icecast --prefix=/usr --exec-prefix=/usr --datadir=/usr/share --enable-fsstd --with-libwra<br />
make<br />
make install</p>
<p>Configuration<br />
----------------<br />
 You need to modify the /etc/icecast/icecast.xml file and change the default passwords for the users: source, relay, admin. The default passwords are &lsquo;hackme&rsquo;.<br />
       &lt;authentication&gt;<br />
	     &lt;!-- Sources log in with username \'source\' --&gt;<br />
	     &lt;source-password&gt;NEW-PASSWORD&lt;/source-password&gt;<br />
	     &lt;!-- Relays log in with username \'relay\' --&gt;<br />
	     &lt;relay-password&gt;NEW-PASSWORD&lt;/relay-password&gt;</p>
<p>	     &lt;!-- Admin logs in with the username given below --&gt;<br />
	     &lt;admin-user&gt;admin&lt;/admin-user&gt;<br />
	     &lt;admin-password&gt;NEW-PASSWORD&lt;/admin-password&gt;<br />
	&lt;/authentication&gt;[/code]<br />
[code]&lt;changeowner&gt;<br />
            &lt;user&gt;icecast&lt;/user&gt;<br />
	    &lt;group&gt;nogroup&lt;/group&gt;<br />
    &lt;/changeowner&gt;[/code]</p>
<p>[code]&lt;logdir&gt;/var/log/icecast&lt;/logdir&gt;[/code]</p>
<p>[code]mkdir /var/log/icecast[/code]</p>
<p>[code]useradd icecast chown icecast:icecast /var/log/icecast/[/code]</p>
<p>[code]icecast -c /etc/icecast/icecast.xml -b[/code]</p>
<p>[h2]to stop[/h2]<br />
[code]killall icecast[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Setting+up+icecast+http%3A%2F%2Fis.gd%2F1hDUuz" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Setting+up+icecast+http%3A%2F%2Fis.gd%2F1hDUuz" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/setting-up-icecast">Setting up icecast</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/setting-up-icecast/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet explorer json jsonp ajax fix</title>
		<link>http://devsforrest.com/116/internet-explorer-json-jsonp-ajax-fix</link>
		<comments>http://devsforrest.com/116/internet-explorer-json-jsonp-ajax-fix#comments</comments>
		<pubDate>Sat, 09 Feb 2013 01:41:00 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[jsonp]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/internet-explorer-json-jsonp-ajax-fix</guid>
		<description><![CDATA[<p>[code]function ieCompatibleAjax(url, callback) { if (\'XDomainRequest\' in window &#38;&#38; window.XDomainRequest !== null) { // Use Microsoft XDR var xdr = new XDomainRequest(); xdr.open(\"get\", url); xdr.onload = function() { //parse response as JSON var JSON = $.parseJSON(xdr.responseText); if (JSON == null &#124;&#124; typeof (JSON) == \'undefined\') { JSON = $.parseJSON(data.firstChild.textContent); } processData(JSON); }; xdr.send(); } else [...]</p><p>The post <a href="http://devsforrest.com/116/internet-explorer-json-jsonp-ajax-fix">Internet explorer json jsonp ajax fix</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]function ieCompatibleAjax(url, callback) {<br />
		if (\'XDomainRequest\' in window &amp;&amp; window.XDomainRequest !== null) {<br />
			// Use Microsoft XDR<br />
			var xdr = new XDomainRequest();<br />
			xdr.open(\"get\", url);<br />
			xdr.onload = function() {<br />
				//parse response as JSON<br />
				var JSON = $.parseJSON(xdr.responseText);<br />
				if (JSON == null || typeof (JSON) == \'undefined\') {<br />
					JSON = $.parseJSON(data.firstChild.textContent);<br />
				}<br />
				processData(JSON);<br />
			};<br />
			xdr.send();<br />
		} else {<br />
			$.ajax({<br />
				type : \'GET\',<br />
				url : url,<br />
				processData : true,<br />
				dataType : \"json\",<br />
				success : function(data) {<br />
					processData(data);<br />
				}<br />
			});<br />
		}<br />
		function processData(data) {<br />
			callback(data.left);<br />
		}<br />
	}[/code<br />
[code]ieCompatibleAjax(\'example.com\', function(response) {</p>
<p>});[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Internet+explorer+json+jsonp+ajax+fix+http%3A%2F%2Fis.gd%2F8pWo1r" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Internet+explorer+json+jsonp+ajax+fix+http%3A%2F%2Fis.gd%2F8pWo1r" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/internet-explorer-json-jsonp-ajax-fix">Internet explorer json jsonp ajax fix</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/internet-explorer-json-jsonp-ajax-fix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just for testing creating a modal and appending it to the window paste into console dont do in real life</title>
		<link>http://devsforrest.com/4/css/just-for-testing-creating-a-modal-and-appending-it-to-the-window-paste-into-console-dont-do-in-real-life</link>
		<comments>http://devsforrest.com/4/css/just-for-testing-creating-a-modal-and-appending-it-to-the-window-paste-into-console-dont-do-in-real-life#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:31:57 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[inline]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/just-for-testing-creating-a-modal-and-appending-it-to-the-window-paste-into-console-dont-do-in-real-life</guid>
		<description><![CDATA[<p>[code]var overlay = document.createElement(\"div\"); overlay.setAttribute(\"id\",\"overlay\"); overlay.setAttribute(\"class\", \"overlay\"); overlay.style.background = \'black\'; overlay.style.opacity = \'0.5\'; overlay.style.width = \'100%\'; overlay.style.height = \'100%\'; overlay.style.position = \'absolute\'; overlay.style.left = \'0\'; overlay.style.top = \'0\'; overlay.style.right = \'0\'; overlay.style.bottom = \'0\'; overlay.style.zIndex = \'9998\'; document.body.appendChild(overlay); var button = document.createElement(\"div\"); button.setAttribute(\"id\",\"center\"); button.style.width = \'300px\'; button.style.height = \'300px\'; button.style.position = \'absolute\'; button.style.left = \'50%\'; [...]</p><p>The post <a href="http://devsforrest.com/4/css/just-for-testing-creating-a-modal-and-appending-it-to-the-window-paste-into-console-dont-do-in-real-life">Just for testing creating a modal and appending it to the window paste into console dont do in real life</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]var overlay = document.createElement(\"div\");<br />
overlay.setAttribute(\"id\",\"overlay\");<br />
overlay.setAttribute(\"class\", \"overlay\");<br />
overlay.style.background = \'black\';<br />
overlay.style.opacity = \'0.5\';<br />
overlay.style.width = \'100%\';<br />
overlay.style.height = \'100%\';<br />
overlay.style.position = \'absolute\';<br />
overlay.style.left = \'0\';<br />
overlay.style.top = \'0\';<br />
overlay.style.right = \'0\';<br />
overlay.style.bottom = \'0\';<br />
overlay.style.zIndex = \'9998\';<br />
document.body.appendChild(overlay);<br />
var button = document.createElement(\"div\");<br />
button.setAttribute(\"id\",\"center\");<br />
button.style.width = \'300px\';<br />
button.style.height = \'300px\';<br />
button.style.position = \'absolute\';<br />
button.style.left = \'50%\';<br />
button.style.top = \'50%\';<br />
button.style.marginLeft = \'-150px\';<br />
button.style.marginTop = \'-150px\';<br />
button.style.textAlign = \'center\';<br />
button.style.zIndex = \'9999\';<br />
document.body.appendChild(button);<br />
var newHTML = \"&lt;a href=\'#\' class=\'button\' style=\'display:inline-block;margin: 10px;-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;-webkit-box-shadow:0 8px 0 #c5376d, 0 15px 20px rgba(0, 0, 0, .35);-moz-box-shadow: 0 8px 0 #c5376d, 0 15px 20px rgba(0, 0, 0, .35);box-shadow: 0 8px 0 #c5376d, 0 15px 20px rgba(0, 0, 0, .35);-webkit-transition: -webkit-box-shadow .1s ease-in-out;-moz-transition: -moz-box-shadow .1s ease-in-out;-o-transition: -o-box-shadow .1s ease-in-out;transition: box-shadow .1s ease-in-out;font-size: 30px;color: #fff;\'&gt;&lt;span style=\'display:inline-block;background-color:#ec528d;background-image:0 hsla(338,90%,70%,.2));-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;-webkit-box-shadow:inset 0 -1px 1px rgba(255,255,255,.15);-moz-box-shadow:inset 0 -1px 1px rgba(255,255,255,.15);box-shadow:inset 0 -1px 1px rgba(255,255,255,.15);font-family:Pacifico, Arial, sans-serif;line-height:1;text-shadow:0 -1px 1px rgba(175,49,95,.7);-webkit-transition:background-color .2s ease-in-out, 0 .1s ease-in-out;-moz-transition:background-color .2s ease-in-out, 0 .1s ease-in-out;-o-transition:background-color .2s ease-in-out, 0 .1s ease-in-out;transition:background-color .2s ease-in-out, transform .1s ease-in-out;padding:20px 30px;\'&gt;Download App!&lt;/span&gt;&lt;/a&gt;\";<br />
document.getElementById(\'center\').innerHTML = newHTML;[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Just+for+testing+creating+a+modal+and+appending+it+to+the+window+paste+into+console+dont+do+in+real+life+http%3A%2F%2Fis.gd%2F2dXnfI" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Just+for+testing+creating+a+modal+and+appending+it+to+the+window+paste+into+console+dont+do+in+real+life+http%3A%2F%2Fis.gd%2F2dXnfI" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/4/css/just-for-testing-creating-a-modal-and-appending-it-to-the-window-paste-into-console-dont-do-in-real-life">Just for testing creating a modal and appending it to the window paste into console dont do in real life</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/4/css/just-for-testing-creating-a-modal-and-appending-it-to-the-window-paste-into-console-dont-do-in-real-life/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paypal IPN codeignitor gladtohelpyou</title>
		<link>http://devsforrest.com/116/paypal-ipn-codeignitor-gladtohelpyou</link>
		<comments>http://devsforrest.com/116/paypal-ipn-codeignitor-gladtohelpyou#comments</comments>
		<pubDate>Thu, 31 Jan 2013 13:17:43 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[codeignitor]]></category>
		<category><![CDATA[codeigntior]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/paypal-ipn-codeignitor-gladtohelpyou</guid>
		<description><![CDATA[<p>[code]&#60;?php class Paypal_ipn extends CI_Controller { /** * Constructor */ function __construct() { parent::__construct(); // Load the necessary stuff... } function index() { /* ipn.php - example code used for the tutorial: PayPal IPN with PHP How To Implement an Instant Payment Notification listener script in PHP http://www.micahcarrick.com/paypal-ipn-with-php.html (c) 2011 - Micah Carrick */ // [...]</p><p>The post <a href="http://devsforrest.com/116/paypal-ipn-codeignitor-gladtohelpyou">Paypal IPN codeignitor gladtohelpyou</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]&lt;?php </p>
<p>class Paypal_ipn extends CI_Controller {</p>
<p>	/**<br />
	 * Constructor<br />
	 */<br />
    function __construct()<br />
    {<br />
        parent::__construct();<br />
		// Load the necessary stuff...<br />
	}</p>
<p>	function index()<br />
	{<br />
		 /*<br />
		ipn.php - example code used for the tutorial:</p>
<p>		PayPal IPN with PHP<br />
		How To Implement an Instant Payment Notification listener script in PHP</p>
<p>http://www.micahcarrick.com/paypal-ipn-with-php.html</p>
<p>		(c) 2011 - Micah Carrick<br />
		*/</p>
<p>		// tell PHP to log errors to ipn_errors.log in this directory<br />
		ini_set(\'log_errors\', true);<br />
		ini_set(\'error_log\', dirname(__FILE__).\'/ipn_errors.log\');</p>
<p>		// intantiate the IPN listener<br />
		require_once(APPPATH . \"/libraries/paypal/ipnlistener.php\");<br />
		$listener = new IpnListener();</p>
<p>		// tell the IPN listener to use the PayPal test sandbox<br />
		$listener-&gt;use_sandbox = true;</p>
<p>		// try to process the IPN POST<br />
		try {<br />
		    $listener-&gt;requirePostMethod();<br />
		    $verified = $listener-&gt;processIpn();<br />
		} catch (Exception $e) {<br />
		    error_log($e-&gt;getMessage());<br />
			$to      = \'mail@samueleast.co.uk\';<br />
			$subject = \'hi\';<br />
			$message = json_encode($e-&gt;getMessage()) . json_encode($verified);<br />
			$headers = \'From: webmaster@example.com\' . \"\\r\\n\" .<br />
			    \'Reply-To: webmaster@example.com\' . \"\\r\\n\" .<br />
			    \'X-Mailer: PHP/\' . phpversion();</p>
<p>			mail($to, $subject, $message, $headers);</p>
<p>		    exit(0);<br />
		}</p>
<p>		if ($verified) {</p>
<p>		    $errmsg = \'\';   // stores errors from fraud checks</p>
<p>		    // 1. Make sure the payment status is \"Completed\"<br />
		    if ($_POST[\'payment_status\'] != \'Completed\') {<br />
		        // simply ignore any IPN that is not completed<br />
		        exit(0);<br />
		    }</p>
<p>		    // 2. Make sure seller email matches your primary account email.<br />
		    if ($_POST[\'receiver_email\'] != \'seller@paypalsandbox.com\') {<br />
		        $errmsg .= \"\'receiver_email\' does not match: \";<br />
		        $errmsg .= $_POST[\'receiver_email\'].\"\\n\";<br />
		    }</p>
<p>		    // 3. Make sure the amount(s) paid match<br />
		    /*<br />
		    if ($_POST[\'mc_gross\'] != \'9.99\') {<br />
		        $errmsg .= \"\'mc_gross\' does not match: \";<br />
		        $errmsg .= $_POST[\'mc_gross\'].\"\\n\";<br />
		    }<br />
			 */ </p>
<p>			/*<br />
		    // 5. Ensure the transaction is not a duplicate.<br />
		    mysql_connect(\'localhost\', \'DB_USER\', \'DB_PW\') or exit(0);<br />
		    mysql_select_db(\'DB_NAME\') or exit(0);</p>
<p>		    $txn_id = mysql_real_escape_string($_POST[\'txn_id\']);<br />
		    $sql = \"SELECT COUNT(*) FROM orders WHERE txn_id = \'$txn_id\'\";<br />
		    $r = mysql_query($sql);</p>
<p>		    if (!$r) {<br />
		        error_log(mysql_error());<br />
		        exit(0);<br />
		    }</p>
<p>		    $exists = mysql_result($r, 0);<br />
		    mysql_free_result($r);<br />
			 * </p>
<p>		    if ($exists) {<br />
		        $errmsg .= \"\'txn_id\' has already been processed: \".$_POST[\'txn_id\'].\"\\n\";<br />
		    }<br />
		    */</p>
<p>		    if (!empty($errmsg)) {</p>
<p>		        // manually investigate errors from the fraud checking<br />
		        $body = \"IPN failed fraud checks: \\n$errmsg\\n\\n\";<br />
		        $body .= $listener-&gt;getTextReport();<br />
		        mail(\'mail@samueleast.co.uk\', \'IPN Fraud Warning\', $body);</p>
<p>		    } else {</p>
<p>				$to      = \'mail@samueleast.co.uk\';<br />
				$subject = \'hi\';<br />
				$message = json_encode($_POST) . json_encode($errmsg);<br />
				$headers = \'From: webmaster@example.com\' . \"\\r\\n\" .<br />
				    \'Reply-To: webmaster@example.com\' . \"\\r\\n\" .<br />
				    \'X-Mailer: PHP/\' . phpversion();</p>
<p>				mail($to, $subject, $message, $headers);</p>
<p>				/*<br />
		        // add this order to a table of completed orders<br />
		        $payer_email = mysql_real_escape_string($_POST[\'payer_email\']);<br />
		        $mc_gross = mysql_real_escape_string($_POST[\'mc_gross\']);<br />
		        $sql = \"INSERT INTO orders VALUES<br />
		                (NULL, \'$txn_id\', \'$payer_email\', $mc_gross)\";</p>
<p>		        if (!mysql_query($sql)) {<br />
		            error_log(mysql_error());<br />
		            exit(0);<br />
		        }<br />
		        */<br />
		        // send user an email with a link to their digital download<br />
		        //$to = filter_var($_POST[\'payer_email\'], FILTER_SANITIZE_EMAIL);<br />
				$to = filter_var(\'mail@samueleast.co.uk\', FILTER_SANITIZE_EMAIL);</p>
<p>		        $subject = \"Your digital download is ready\";<br />
		        mail($to, \"Thank you for your order\", \"Download URL: ...\" . $this-&gt;s3GetZip(1,2));<br />
		    }</p>
<p>		} else {<br />
		    // manually investigate the invalid IPN<br />
		    mail(\'mail@samueleast.co.uk\', \'Invalid IPN\', $listener-&gt;getTextReport());<br />
		}</p>
<p>	}</p>
<p>	// params: folder name<br />
	function s3GetZip($user_id,$playlist_id){</p>
<p>		if(is_numeric($user_id) &amp;&amp; is_numeric($playlist_id)){<br />
            $targetDir = $_SERVER[\'DOCUMENT_ROOT\'] . \'/uploads/\' . $user_id . \'/playlists/\' . $playlist_id . \'/\';<br />
			$create = shell_exec(\"cd {$targetDir} &amp;&amp; mkdir temp &amp;&amp; /usr/bin/s3cmd --config /usr/local/bin/.s3cfg sync \" . S3CMD_BUCKET . \"/{$user_id}/playlists/{$playlist_id}/ temp/ &amp;&amp; tar --ignore-failed-read --exclude=\'temp/*.png\' -zcvf pid_{$playlist_id}.tar.gz temp/ &amp;&amp; rm -rf temp 2&gt;&amp;1\");<br />
			//echo \"&lt;pre&gt;\" . $create . \"&lt;/pre&gt;\";<br />
			//echo \"cd {$targetDir} &amp;&amp; /usr/bin/s3cmd --config /usr/local/bin/.s3cfg sync \" . S3CMD_BUCKET . \"/{$user_id}/playlists/{$playlist_id}/ ./ &amp;&amp; tar --ignore-failed-read --exclude=\'./*.png\' --remove-files -zcvf pid_{$playlist_id}.tar.gz ./ 2&gt;&amp;1\";<br />
			return \"http://gladtohelpyou.com/uploads/{$user_id}/playlists/{$playlist_id}/pid_{$playlist_id}.tar.gz\";</p>
<p>		}</p>
<p>	}</p>
<p>}<br />
				[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Paypal+IPN+codeignitor+gladtohelpyou+http%3A%2F%2Fis.gd%2Ffj3ncE" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Paypal+IPN+codeignitor+gladtohelpyou+http%3A%2F%2Fis.gd%2Ffj3ncE" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/paypal-ipn-codeignitor-gladtohelpyou">Paypal IPN codeignitor gladtohelpyou</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/paypal-ipn-codeignitor-gladtohelpyou/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting mobile handheld device and then redirecting</title>
		<link>http://devsforrest.com/jquery/detecting-mobile-handheld-device-and-then-redirecting</link>
		<comments>http://devsforrest.com/jquery/detecting-mobile-handheld-device-and-then-redirecting#comments</comments>
		<pubDate>Tue, 29 Jan 2013 18:45:18 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[handheld mobile]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/detecting-mobile-handheld-device-and-then-redirecting</guid>
		<description><![CDATA[<p>[code]if( /iPad/i.test(navigator.userAgent) ) { window.location = \"https://itunes.apple.com/us/app/world-news-translate/id580676065?ls=1&#38;mt=8\" }else if( /iPhone&#124;iPod/i.test(navigator.userAgent) ) { window.location = \"https://itunes.apple.com/us/app/world-news-translate/id580676065?ls=1&#38;mt=8\" }else if( /Android&#124;webOS&#124;BlackBerry/i.test(navigator.userAgent) ) { window.location = \"https://play.google.com/store/apps/details?id=com.wnt\" }else{ }[/code] Tweet This Post</p><p>The post <a href="http://devsforrest.com/jquery/detecting-mobile-handheld-device-and-then-redirecting">Detecting mobile handheld device and then redirecting</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]if( /iPad/i.test(navigator.userAgent) ) {<br />
window.location = \"https://itunes.apple.com/us/app/world-news-translate/id580676065?ls=1&amp;mt=8\"<br />
}else if( /iPhone|iPod/i.test(navigator.userAgent) ) {<br />
window.location = \"https://itunes.apple.com/us/app/world-news-translate/id580676065?ls=1&amp;mt=8\"<br />
}else if( /Android|webOS|BlackBerry/i.test(navigator.userAgent) ) {<br />
window.location = \"https://play.google.com/store/apps/details?id=com.wnt\"<br />
}else{</p>
<p>}[/code]<br />
<iframe scrolling=no seamless frameBorder="0" src="http://audibase.com/embed?p=38" style="display:block; width:100%!important; margin:10px 0px;" onload="audibase(this,38);"></iframe></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Detecting+mobile+handheld+device+and+then+redirecting+http%3A%2F%2Fis.gd%2FuUd5z8" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Detecting+mobile+handheld+device+and+then+redirecting+http%3A%2F%2Fis.gd%2FuUd5z8" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/jquery/detecting-mobile-handheld-device-and-then-redirecting">Detecting mobile handheld device and then redirecting</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/jquery/detecting-mobile-handheld-device-and-then-redirecting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Titanium blur all textfields within a view</title>
		<link>http://devsforrest.com/116/titanium-blur-all-textfields-within-a-view</link>
		<comments>http://devsforrest.com/116/titanium-blur-all-textfields-within-a-view#comments</comments>
		<pubDate>Mon, 28 Jan 2013 12:49:52 +0000</pubDate>
		<dc:creator>sc_7cabc029490e9fcb99b8d58793c625bd</dc:creator>
				<category><![CDATA[116]]></category>
		<category><![CDATA[Titanium]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[textarea]]></category>
		<category><![CDATA[titanium]]></category>

		<guid isPermaLink="false">http://devsforrest.com/116/titanium-blur-all-textfields-within-a-view</guid>
		<description><![CDATA[<p>[code]scrollView.addEventListener(\'click\',function(){ for(var i=0; i&#60;settingsNamesTableData.length; i++){ if(settingsNamesTableData[i].toString() === \'[object TiUITableViewRow]\'){ var textLength = settingsNamesTableData[i].children for(var a=0; a&#60;textLength.length; a++){ if(textLength[a].toString() === \'[object TiUITextField]\'){ textLength[a].blur(); } } } } });[/code] Tweet This Post</p><p>The post <a href="http://devsforrest.com/116/titanium-blur-all-textfields-within-a-view">Titanium blur all textfields within a view</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></description>
			<content:encoded><![CDATA[<p>[code]scrollView.addEventListener(\'click\',function(){<br />
		for(var i=0; i&lt;settingsNamesTableData.length; i++){<br />
			if(settingsNamesTableData[i].toString() === \'[object TiUITableViewRow]\'){<br />
				var textLength = settingsNamesTableData[i].children<br />
				for(var a=0; a&lt;textLength.length; a++){<br />
					if(textLength[a].toString() === \'[object TiUITextField]\'){<br />
						textLength[a].blur();<br />
					}<br />
				}</p>
<p>			}<br />
		}<br />
	});[/code]</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Titanium+blur+all+textfields+within+a+view+http%3A%2F%2Fis.gd%2F6GFj1R" title="Post to Twitter"><img class="nothumb" src="http://devsforrest.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Titanium+blur+all+textfields+within+a+view+http%3A%2F%2Fis.gd%2F6GFj1R" title="Post to Twitter">Tweet This Post</a></p></div><p>The post <a href="http://devsforrest.com/116/titanium-blur-all-textfields-within-a-view">Titanium blur all textfields within a view</a> appeared first on <a href="http://devsforrest.com">Devs Forrest</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devsforrest.com/116/titanium-blur-all-textfields-within-a-view/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
