<?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>UnDeprived &#187; javascript</title>
	<atom:link href="http://www.un-deprived.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.un-deprived.com</link>
	<description>A webdev journal of the Moninator</description>
	<lastBuildDate>Sun, 05 Feb 2012 11:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jQuery CSV2Table — Modified</title>
		<link>http://www.un-deprived.com/2009/webdev/jquery-csv2table-modified/</link>
		<comments>http://www.un-deprived.com/2009/webdev/jquery-csv2table-modified/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 23:02:10 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[CSV2Table]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery Journal]]></category>
		<category><![CDATA[jQuery Plugins]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=399</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2009/webdev/jquery-csv2table-modified/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Acrobat Batch Extract using Javascript</title>
		<link>http://www.un-deprived.com/2009/others/acrobat-batch-extract-using-javascript/</link>
		<comments>http://www.un-deprived.com/2009/others/acrobat-batch-extract-using-javascript/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 15:30:06 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[acrobat]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=271</guid>
		<description><![CDATA[This was one of the old posts that got corrupted when I did a reinstall of WP 2.8.1.  Since this script is pretty handy, so I’m re-posting it. This scripts worked in Acrobat 8 &#38; 9 Pro. Instead of of manually extracting all the pages, and then manually optimize them, this script can ease the [...]]]></description>
			<content:encoded><![CDATA[<p>This was one of the old posts that got corrupted when I did a reinstall of WP 2.8.1.  Since this script is pretty handy, so I’m re-posting it.</p>
<p>This scripts worked in Acrobat 8 &amp; 9 Pro. Instead of of manually extracting all the pages, and then manually optimize them, this script can ease the process. To access the Batch Processing menu: <em><strong>Advanced -&gt; Document Processing -&gt; Batch Processing</strong>.</em> The screen shot below shows where and how to add the script:</p>
<p><a href="http://www.un-deprived.com/wp-content/uploads/2009/08/acrobat1.jpg" rel="lightbox[271]" title="Acrobat Batch Extractions"><img class="alignnone size-medium wp-image-272" title="Acrobat Batch Extractions" src="http://www.un-deprived.com/wp-content/uploads/2009/08/acrobat1-212x125.jpg" alt="Acrobat Batch Extactions" width="212" height="125" /></a></p>
<p>Then add the following script into the “Javascript Editor”:</p>
<pre lang="javascript" line="0">
var filename = this.documentFileName.replace(".pdf","");
try{ for(var i = 0; i
<this.numPages; i++)
    var num = i+1;
    this.extractPages({ nStart: i; });
    cPath: filename+"_"+num+".pdf"});
}cath (e){ console.println {"Aborted: " + e) }
</pre>
<p>Saves a lot of time if you have a lot of files to extract and need to optimized the files using custom settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2009/others/acrobat-batch-extract-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript: Pick a random number starting from 1</title>
		<link>http://www.un-deprived.com/2009/webdev/javascript-pick-a-random-number-starting-from-1/</link>
		<comments>http://www.un-deprived.com/2009/webdev/javascript-pick-a-random-number-starting-from-1/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 18:11:03 +0000</pubDate>
		<dc:creator>Mon</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[random number]]></category>

		<guid isPermaLink="false">http://www.un-deprived.com/?p=253</guid>
		<description><![CDATA[Quickie note, a very simple script to pick a random number between 1–5, instead of 0–4 var rand = Math.floor(Math.random()*5); if(rand &#62; 0){ rand = rand+1; alert(rand); } else { rand = 1; alert(rand); }]]></description>
			<content:encoded><![CDATA[<p>Quickie note, a very simple script to pick a random number between 1–5, instead of 0–4</p>
<pre>	var rand = Math.floor(Math.random()*5);
	if(rand &gt; 0){
		rand = rand+1;
		alert(rand);
	} else {
		rand = 1;
		alert(rand);
	}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.un-deprived.com/2009/webdev/javascript-pick-a-random-number-starting-from-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

