<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using the WordPress Uploader in Your Plugin or Theme</title>
	<atom:link href="http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-the-wordpress-uploader-in-your-plugin-or-theme</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Thu, 09 Feb 2012 17:02:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ayoub</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20706</link>
		<dc:creator>Ayoub</dc:creator>
		<pubDate>Tue, 07 Feb 2012 00:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20706</guid>
		<description>Thanks you. Exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>Thanks you. Exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ayoub</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20705</link>
		<dc:creator>Ayoub</dc:creator>
		<pubDate>Tue, 07 Feb 2012 00:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20705</guid>
		<description>Works like a charm ! Thank you.</description>
		<content:encoded><![CDATA[<p>Works like a charm ! Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hassan</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20701</link>
		<dc:creator>hassan</dc:creator>
		<pubDate>Mon, 06 Feb 2012 14:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20701</guid>
		<description>its so impressive i will use it in future for my site
Thanks,man</description>
		<content:encoded><![CDATA[<p>its so impressive i will use it in future for my site<br />
Thanks,man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kolači</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20698</link>
		<dc:creator>Kolači</dc:creator>
		<pubDate>Sun, 05 Feb 2012 10:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20698</guid>
		<description>&quot;Any idea how to save the user from clicking “insert into post” and have the function send_to_editor be called automatically once the file is uploaded?&quot;

I am looking for same information too, i am not programming professional, any idea, please?</description>
		<content:encoded><![CDATA[<p>&#8220;Any idea how to save the user from clicking “insert into post” and have the function send_to_editor be called automatically once the file is uploaded?&#8221;</p>
<p>I am looking for same information too, i am not programming professional, any idea, please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seo</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20689</link>
		<dc:creator>seo</dc:creator>
		<pubDate>Tue, 31 Jan 2012 18:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20689</guid>
		<description>Hi! I&#039;ve been reading your weblog for a long time now and finally got the courage to go ahead and give you a shout out from  Huffman Texas! Just wanted to say keep up the excellent work!</description>
		<content:encoded><![CDATA[<p>Hi! I&#8217;ve been reading your weblog for a long time now and finally got the courage to go ahead and give you a shout out from  Huffman Texas! Just wanted to say keep up the excellent work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajmal</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20680</link>
		<dc:creator>Ajmal</dc:creator>
		<pubDate>Thu, 26 Jan 2012 19:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20680</guid>
		<description>Wonderful buddy. Keep it up. (y)</description>
		<content:encoded><![CDATA[<p>Wonderful buddy. Keep it up. (y)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendra</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20677</link>
		<dc:creator>Hendra</dc:creator>
		<pubDate>Wed, 25 Jan 2012 23:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20677</guid>
		<description>Cool This code is working, you are awesome. Cheers Matt</description>
		<content:encoded><![CDATA[<p>Cool This code is working, you are awesome. Cheers Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaharsol</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20673</link>
		<dc:creator>shaharsol</dc:creator>
		<pubDate>Mon, 23 Jan 2012 21:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20673</guid>
		<description>Any idea how to save the user from clicking &quot;insert into post&quot; and have the function send_to_editor be called automatically once the file is uploaded?</description>
		<content:encoded><![CDATA[<p>Any idea how to save the user from clicking &#8220;insert into post&#8221; and have the function send_to_editor be called automatically once the file is uploaded?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank T</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20584</link>
		<dc:creator>Frank T</dc:creator>
		<pubDate>Mon, 02 Jan 2012 23:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20584</guid>
		<description>This is my complete script for media uploader. I hope this can be helpful. 

jQuery(document).ready(function() {
	
	// Browse MP3 
	jQuery(&#039;#upload_mp3_button&#039;).click(function() {
		formfield = jQuery(&#039;#upload_mp3&#039;).attr(&#039;name&#039;);
		tb_show(&#039;&#039;, &#039;media-upload.php?type=audio&amp;tab=library&amp;TB_iframe=true&#039;);
		return false;	
	});	
	
	// Input MP3 
	window.send_to_editor = function(html) {
		
		url = jQuery(html).attr(&#039;href&#039;);
		
		// Get File Extension		
		var filext = url.substring(url.lastIndexOf(&quot;.&quot;)+1);
		
		// Checking Extension
		if(filext != &quot;mp3&quot;){
			alert(&quot;Invalid File Format Selected&quot;);
			tb_remove();						
		}else {		
			jQuery(&#039;#upload_mp3&#039;).val(url);			
			tb_remove();
		}
	}
});</description>
		<content:encoded><![CDATA[<p>This is my complete script for media uploader. I hope this can be helpful. </p>
<p>jQuery(document).ready(function() {</p>
<p>	// Browse MP3<br />
	jQuery(&#8216;#upload_mp3_button&#8217;).click(function() {<br />
		formfield = jQuery(&#8216;#upload_mp3&#8242;).attr(&#8216;name&#8217;);<br />
		tb_show(&#8221;, &#8216;media-upload.php?type=audio&amp;tab=library&amp;TB_iframe=true&#8217;);<br />
		return false;<br />
	});	</p>
<p>	// Input MP3<br />
	window.send_to_editor = function(html) {</p>
<p>		url = jQuery(html).attr(&#8216;href&#8217;);</p>
<p>		// Get File Extension<br />
		var filext = url.substring(url.lastIndexOf(&#8220;.&#8221;)+1);</p>
<p>		// Checking Extension<br />
		if(filext != &#8220;mp3&#8243;){<br />
			alert(&#8220;Invalid File Format Selected&#8221;);<br />
			tb_remove();<br />
		}else {<br />
			jQuery(&#8216;#upload_mp3&#8242;).val(url);<br />
			tb_remove();<br />
		}<br />
	}<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian</title>
		<link>http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/#comment-20583</link>
		<dc:creator>Fabian</dc:creator>
		<pubDate>Mon, 02 Jan 2012 20:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2905#comment-20583</guid>
		<description>Is there a way to get the Link-Browser to get the URLs of existing Pages? It works great for images in the Library but I also need to link pages and articles...</description>
		<content:encoded><![CDATA[<p>Is there a way to get the Link-Browser to get the URLs of existing Pages? It works great for images in the Library but I also need to link pages and articles&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: www.webmaster-source.com @ 2012-02-09 23:21:44 by W3 Total Cache -->
