<?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>Code is poetry</title>
	<atom:link href="http://savitasoni.com/feed" rel="self" type="application/rss+xml" />
	<link>http://savitasoni.com</link>
	<description>about all I have done and doing ....</description>
	<lastBuildDate>Sun, 29 Jan 2012 19:03:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WPoet Tip: Custom meta goes blank for custom post type</title>
		<link>http://savitasoni.com/wpoet-tip-custom-post-type</link>
		<comments>http://savitasoni.com/wpoet-tip-custom-post-type#comments</comments>
		<pubDate>Sun, 29 Jan 2012 08:30:54 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[Custom Post Type]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[autosave]]></category>
		<category><![CDATA[custom post data]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5309</guid>
		<description><![CDATA[Custom post types is one of the important and useful feature wordpress have. But I found something strange when I saved custom meta in wordpress admin it went blank after some time, so I checked ajax requests in firefox firebug and found autosave works once I finished my writing in editor and left that page &#8230; <a href="http://savitasoni.com/wpoet-tip-custom-post-type">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Custom post types is one of the important and useful feature wordpress have. But I found something strange when I saved custom meta in wordpress admin it went blank after some time, so I checked ajax requests in firefox firebug and found autosave works once I finished my writing in editor and left that page as its. Then searched for the solution and found we need to add a small condition which will restrict autosave to work in custom meta data. Below is the example for how it works&#8230;</p>
<p>WordPress api have a hook save_post which we generaly use to save custom meta</p>
<pre>add_action('save_post', 'save_details');
function save_details(){
global $post;
if ( defined('DOING_AUTOSAVE') &amp;&amp; DOING_AUTOSAVE )
return;
if($post-&gt;post_type == "mypostype")
{
 update_post_meta($post-&gt;ID, 'mypostdata', $_POST['mypostdata']);
}
}</pre>
<p>Basically important is to add this condition</p>
<pre>if ( defined('DOING_AUTOSAVE') &amp;&amp; DOING_AUTOSAVE )
return;</pre>
<p>By adding above condition it return ajax request before updating custom data, so it save me and made custom post type more useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/wpoet-tip-custom-post-type/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code snipped: Image uploading inside your plugin using wordpress file uploader</title>
		<link>http://savitasoni.com/code-snipped-image-uploading-inside-your-plugin-using-wordpress-file-uploader</link>
		<comments>http://savitasoni.com/code-snipped-image-uploading-inside-your-plugin-using-wordpress-file-uploader#comments</comments>
		<pubDate>Mon, 15 Aug 2011 06:40:24 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[image uploader]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5257</guid>
		<description><![CDATA[I was recently working on a wordpress plugin and need a very small image upload feature just to upload company logo. I was thinking to use the original wordpress file uploader, as it is really very cool and easy to use as well. So after checking few code snipped&#8217;s I found the below solution: Here &#8230; <a href="http://savitasoni.com/code-snipped-image-uploading-inside-your-plugin-using-wordpress-file-uploader">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was recently working on a wordpress plugin and need a very small image upload feature just to upload company logo. I was thinking to use the original wordpress file uploader, as it is really very cool and easy to use as well. So after checking few code snipped&#8217;s I found the below solution:</p>
<p>Here is the html code for browse button,</p>
<pre>&lt;input id="company_logo" type="text" name="company_logo" size="36" /&gt;
&lt;input id="upload_button" type="button" value="Upload Image" /&gt;</pre>
<p>You are required to add these javascript libraries to achieve the lightbox effect and uploader screen</p>
<pre>add_action('init', 'call_init');
function call_init()
{
wp_enqueue_script("jquery");
wp_enqueue_script('media-upload');
wp_enqueue_script('thickbox');
wp_enqueue_style('thickbox');
}</pre>
<p>and now the actual javascript code, which will do the magic</p>
<pre>jQuery('#upload_image_button').click(function() {
formfield = jQuery('#company_logo').attr('name');
tb_show('', 'media-upload.php?type=image&amp;TB_iframe=true');
return false;
});

window.send_to_editor = function(html) {
imgurl = jQuery('img',html).attr('src');
jQuery('#company_logo').val(imgurl);
tb_remove();
}</pre>
<p>Above code will open a thikbox and allow user to upload image or select from the uploaded one like one we can while adding thumnails or post images on post page. Once image gets uploaded and user presses “insert into post”, the &#8220;send to editor&#8221; function gets activated and it will copy the image url to input box you had created in the html.</p>
<p>This will look exactly like wordpress image uploader screen.</p>
<p>So upload functionality done here, but what I required was to get the image id or say attachment id once image uploaded successfully and url comes in input box, and for that there is a hook in the wordpress api which we can use while user click &#8220;insert into post&#8221; button, it is &#8220;image_send_to_editor&#8221;</p>
<pre>add_filter('image_send_to_editor', 'image_to_editor', 20, 8);</pre>
<p>&#8220;image_send_to_editor&#8221; hook get&#8217;s called in the background when user press &#8216;insert into post&#8217; button and provides various parameter, like html, attachment id, caption of the image, title of the image, alignment of the image, url, size and alt tag of the image.<br />
As I only need attachment id from that function to save in db and latter can use it for thumbnail generation, so I just updated a option in the database to save it.</p>
<pre>function image_to_editor($html, $id, $caption, $title, $align, $url, $size, $alt)
{
update_option('company_logo_id', $id);
return $html;
}</pre>
<p>Hope this will help in image upload features of wordpress plugins. Feedback and questions are welcome here.</p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/code-snipped-image-uploading-inside-your-plugin-using-wordpress-file-uploader/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>WordPress plugins released and got popular in 2010</title>
		<link>http://savitasoni.com/wordpress-plugins-released-and-get-popular-in-2010</link>
		<comments>http://savitasoni.com/wordpress-plugins-released-and-get-popular-in-2010#comments</comments>
		<pubDate>Mon, 03 Jan 2011 18:55:50 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[2010]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5200</guid>
		<description><![CDATA[We already gave adieu to year 2010 and celebrated 2011 with full joy and new hopes. Within the same flow when I look back and counted my learnings of 2010 from my work , I got WordPress in the first position. Year 2010 gave me lots of opportunity to work in WordPress. I developed few &#8230; <a href="http://savitasoni.com/wordpress-plugins-released-and-get-popular-in-2010">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We already gave adieu to year 2010 and celebrated 2011 with full joy and new hopes. Within the same flow when I look back and counted my learnings of 2010 from my work , I got <a href=" http://savitasoni.com/category/wordpress" target="_blank">WordPress </a>in the first position.</p>
<p>Year 2010 gave me lots of opportunity to work in WordPress. I developed few plugins while working on client&#8217;s project and updated some existing one for my own use. So I thought lets give farewell to year 2010 by writing a post on plugins only.  So here I am listing some of the plugins which were released in 2010 and got popular (based on the download stats from wordpress.org)</p>
<ol>
<li><a href="http://wordpress.org/extend/plugins/wickett-twitter-widget/" target="_blank">Wickett Twitter Widget</a> : Wickett twitter widget is a very simple widget which show latest tweets from you twitter timeline, you just need to give a valid twitter handle, with this you can set how many tweets you want to show on the your blog .</li>
<li><a href="http://wordpress.org/extend/plugins/share-and-follow/" target="_blank">Share and Follow</a>: Share and follow is a full social plugin which gives you option to add any social icon in your blog like facebook, twitter, linkedin, reddit, stumbler and many more. Not only this, it provides many ways and styles to match your blog&#8217;s theme.</li>
<li><a href="http://wordpress.org/extend/plugins/exploit-scanner/" target="_blank">Exploit Scanner</a> : Exploit scanner is really awesome plugin which search for suspicious data in your website and list it down for admin to take action. It searches data in your posts and comments database which is considered to be an easily accessible place in your website.</li>
<li><a href="http://wordpress.org/extend/plugins/disable-wordpress-plugin-updates/" target="_blank">Disable WordPress Plugin Updates</a>: This plugin is really useful for  those users who gets annoyed by updates that comes for the plugins. This pugin disable all the updates that comes for any plugin in your wordpress site.</li>
<li><a href="http://wordpress.org/extend/plugins/facebook-members/" target="_blank">Facebook Members</a>: Facebook members is a plugin which shows list of members who already liked your site&#8217;s facebook page. New users may get attracted by this list on your website and simply like facebook page from the website itself.</li>
</ol>
<p>While writing this post I also observed that year 2010 was a full social year, as not only people connected through various social medium but developed so many apps, plugins and addons to do the same. 2010 was wonderful social year <img src='http://savitasoni.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="border: 1px solid #aaaaaa; padding: 5px; margin: 10px; background: none repeat scroll 0% 0% #ffffcc; font-size: 1.4em; font-weight: bold;"><a title="wordpress plugin to take complete backups to amazon s3, rackspace cloud files" href="http://amiworks.com/simple-wordpress-backup.html">wpSimpleBackup</a> : a simple wordpress plugin to take backups.</div>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/wordpress-plugins-released-and-get-popular-in-2010/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Search engine friendly URL for WordPress plugin</title>
		<link>http://savitasoni.com/seo-friendly-url-for-wordpress-plugin</link>
		<comments>http://savitasoni.com/seo-friendly-url-for-wordpress-plugin#comments</comments>
		<pubDate>Thu, 02 Dec 2010 19:11:59 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[search engine friendly URL]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5180</guid>
		<description><![CDATA[While working on one of my client&#8217;s plugin I needed to provide search engine friendly url&#8217;s for some custom functionality that was needed and existing plugin was not supporting such urls www.example.com/?param1=var1&#38;param2=var2&#38;param3=var3 but for search engine freindly url&#8217;s I want it to be like www.example.com/var1/var2/var3 So here I am sharing small code snippet which works perfectly for my &#8230; <a href="http://savitasoni.com/seo-friendly-url-for-wordpress-plugin">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While working on one of my client&#8217;s plugin I needed to provide search engine friendly url&#8217;s for some custom functionality that was needed and existing plugin was not supporting such urls</p>
<pre>       www.example.com/?param1=var1&amp;param2=var2&amp;param3=var3</pre>
<p>but for search engine freindly url&#8217;s I want it to be like</p>
<pre>      www.example.com/var1/var2/var3</pre>
<p>So here I am sharing small code snippet which works perfectly for my plguin and showing nice url&#8217;s.</p>
<p>We need to update the theme function.php file, just add the below code in function.php file and modify variables according to your need.</p>
<pre>&lt;?php</pre>
<pre>add_filter('rewrite_rules_array','wp_insertRewriteRules');
add_filter('query_vars','wp_insertQueryVars');
add_filter('init','flushRules');

// Remember to flush_rules() when adding rules
function flushRules()
{
  global $wp_rewrite;
  $wp_rewrite-&gt;flush_rules();
}

// Adding a new rule
function wp_insertRewriteRules($rules)
{
  $newrules = array();
  $newrules['(mytestpage)/([a-zA-Z0-9_\-]*)/([a-zA-Z0-9_\-]*)$'] =
'index.php?pagename=$matches[1]&amp;var1=$matches[2]&amp;var2=$matches[3]';
  $allrules = $newrules + $rules;
  return $allrules;
}

// Adding the variables  so that WP recognizes it
function wp_insertQueryVars($vars)
{
 array_push($vars, 'id');
 array_push($vars, 'var1');
 array_push($vars, 'var2');
 return $vars;
}
?&gt;</pre>
<p>To access these variables from plugin file use following code:</p>
<pre> $var1 = $wp_query-&gt;query_vars['var1'];
 $var2 = $wp_query-&gt;query_vars['var2'];</pre>
<p>Now this will solve your plugins search engine friendly issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/seo-friendly-url-for-wordpress-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check for broken url in PHP</title>
		<link>http://savitasoni.com/how-to-check-for-broken-url-in-php</link>
		<comments>http://savitasoni.com/how-to-check-for-broken-url-in-php#comments</comments>
		<pubDate>Wed, 03 Nov 2010 11:08:07 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[CURL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[broken url]]></category>
		<category><![CDATA[curl]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5163</guid>
		<description><![CDATA[Today I was working on a site, where I  had to set a no-image placeholder on the places where images are not present, that means I need to check images are present or not, its a very simple job, but what I found was image url’s are coming from database and they all are broken &#8230; <a href="http://savitasoni.com/how-to-check-for-broken-url-in-php">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I was working on a site, where I  had to set a no-image placeholder on the places where images are not present, that means I need to check images are present or not, its a very simple job, but what I found was image url’s are coming from database and they all are broken links.</p>
<p>So now my job is to write a code which will check the images links are broken or not if broken then place a no-image place holder else image url. Here is the example on how I checked broken image url’s:</p>
<pre>function check_url($url)
{
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_HEADER, 1);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	$data = curl_exec($ch);
	$headers = curl_getinfo($ch);
	curl_close($ch);
	return $headers['http_code'];
}
$myurl = "http://www.flickr.com/photos/thecancerus/2869110105/";
$satus = check_url($myurl);
if($satus == '200')
	echo "Its works";
else
	echo "broken url";</pre>
<p>Hope it helps!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/how-to-check-for-broken-url-in-php/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>how to parse a shortcode when page is created or updated</title>
		<link>http://savitasoni.com/how-to-parse-a-shortcode-when-page-is-created-or-updated</link>
		<comments>http://savitasoni.com/how-to-parse-a-shortcode-when-page-is-created-or-updated#comments</comments>
		<pubDate>Sat, 30 Oct 2010 11:39:57 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[shortcode]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5153</guid>
		<description><![CDATA[Shortcodes in wordpress are generally use to show some cool things with very less efforts, it may be gallery, a poll or map, generally shortcode get parsed when post/page is viewed. But few days back I was working on the project where I had to parse a shortcode when post/page is created or updated, after &#8230; <a href="http://savitasoni.com/how-to-parse-a-shortcode-when-page-is-created-or-updated">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Shortcodes in wordpress are generally use to show some cool things with very less efforts, it may be gallery, a poll or map, generally shortcode get parsed when post/page is viewed. But few days back I was working on the project where I had to parse a shortcode when post/page is created or updated,  after checking some shortcode functions, I came up with solution to parse it by using <em>do_shortcode, which will basically parse the code on the moment it get called </em></p>
<p>I had used it with pre_post_update hook and here is the example: </p>
<pre>add_action('pre_post_update', 'parse_my_shortcode');

function parse_my_shortcode( $postid )
{
<div id="_mcePaste">  $post = get_post( $postid );</div>
<div>  $content = $post-&gt;post_content;</div>
<div>  do_shortcode( $content );</div>

}</pre>
<p>And it works really  amazing!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/how-to-parse-a-shortcode-when-page-is-created-or-updated/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Encoding video files with Zencoder API</title>
		<link>http://savitasoni.com/encoding-video-files-with-zencoder-api</link>
		<comments>http://savitasoni.com/encoding-video-files-with-zencoder-api#comments</comments>
		<pubDate>Sat, 02 Oct 2010 07:37:09 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[JSON]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[Json]]></category>
		<category><![CDATA[video encoding]]></category>
		<category><![CDATA[zencoder API]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5136</guid>
		<description><![CDATA[Here is a small tutorial on how to use zencoder API for encoding your video files into different formats, this API really works great and provide the best result in very less time. You can download the PHP library which is really easy to use. This request response works in 2 steps, 1st step where &#8230; <a href="http://savitasoni.com/encoding-video-files-with-zencoder-api">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a small tutorial on how to use zencoder API for encoding your video files into different formats, this API really works great and provide the best result in very less time. You can download the <a href="http://github.com/zencoder/zencoder-php" target="_blank">PHP library</a> which is really easy to use.</p>
<p>This request response works in 2 steps, 1st step where a job is created on zencoder server after your request with encoding formats, and in 2nd step you get the notification when video is encoded successfully, which ensures you that job finished successfully.</p>
<p>So  lets start with step 1 where you need to create a request / job for video encoding.</p>
<p><strong>Creating a job/request with zencoder API:</strong></p>
<p>Simply do it in this way,</p>
<pre>$encoding_job = new ZencoderJob('
 {
   "api_key": "93h630j1dsyshjef620qlkavnmzui3",
   "input": "s3://bucket-name/file-name.avi",
   "outputs": [
    {
      "label": "web"
    }
  ]
 }
');</pre>
<p>Where api_key is your api_key which you can get after register on <a href="http://zencoder.com">zencoder.com</a>, &#8220;input&#8221; is the file location with filename which you want  to get encoded in different formats. And most important is &#8220;Outputs&#8221; section where you can simply give many options for your output file. All the options are mentioned here <a href="http://zencoder.com/docs/api/">http://zencoder.com/docs/api/</a> once your job gets created you can check it with following line of codes:</p>
<pre>if ($encoding_job-&gt;created) {
      // Success
      echo "w00t! \n\n";
      echo "Job ID: ".$encoding_job-&gt;id."\n";
      echo "Output '".$encoding_job-&gt;outputs["web"]-&gt;label."' ID: ".$encoding_job-&gt;outputs["web"]-&gt;id."\n";
      // Store Job/Output IDs to update their status when notified or to check their progress.
 } else {
       // Failed
       echo "Fail <img src='http://savitasoni.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> \n\n";
       echo "Errors:\n";
       foreach($encoding_job-&gt;errors as $error) {
        echo $error."\n";
     }
}</pre>
<p>If $encoding_job-&gt;created then job is created successfully else it fails and most common reason is json request was not created properly. So check your json request again if it fails.</p>
<p>So above is first step where you have made your request now the second step:</p>
<p>When zencoder completes the encoding job it will send the notification, for getting notification some parameters with the output needs to be set, following is the example for sending notification parameter with the request:</p>
<pre>$encoding_job = new ZencoderJob('
{
   "api_key": "93h630j1dsyshjef620qlkavnmzui3",
   "input": "s3://bucket-name/file-name.avi",
   "outputs": [
   {
      "label": "web",
       "notifications":[
      {"format": "json", "url": "http://example.com/notification.php"}
     ]
   }
 ]
}
');</pre>
<p>Once encoding completes on zencoder server it will hit the notification url for the response. For more details please check <a href="http://zencoder.com/docs/api/#notifications" target="_blank">http://zencoder.com/docs/api/#notifications</a></p>
<p>Now for getting the response data, PHP library of zencoder provide a class ZencoderOutputNotification simply call in this way</p>
<p>$notification = new ZencoderOutputNotification();</p>
<p>$response_data = $notification -&gt;catch_and_parse();</p>
<p>now $response_data will have the object array containing information of the job and state of the job, you can simply find the job is finished or not by this:</p>
<pre>if( $response_data-&gt;job-&gt;state == “finished”)
{
   //do whatever processing you want.
}</pre>
<p>Other parameters comes in the response data is:</p>
<pre>{"job":{"state":"finished","test":true,"id":2281},
"output":{"state":"finished",
"url":"http://s3.amazonaws.com/some-example/file.webm",
"label":"WEBM","id":332222}}</pre>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/encoding-video-files-with-zencoder-api/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>HTML5 Video Player Plugin for WordPress</title>
		<link>http://savitasoni.com/html5-video-player-plugin-for-wordpress</link>
		<comments>http://savitasoni.com/html5-video-player-plugin-for-wordpress#comments</comments>
		<pubDate>Tue, 28 Sep 2010 05:36:09 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[html5 video]]></category>
		<category><![CDATA[video js]]></category>
		<category><![CDATA[video player]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5113</guid>
		<description><![CDATA[wp-video-js is wordpress plugin which enables post/page embed with HTML5 video player tag with the use of shortcode. Shortcode is used to embed HTML5 video player in the content area of post: [html5video width= "600" height = "300" splash = "http://example.com/splash.png" src_mp4 = "http://example.com/video.mp4" src_webm = "http://example.com/video.webm" src_ogg = "http://example.com/video.ogg" ] Here are list of &#8230; <a href="http://savitasoni.com/html5-video-player-plugin-for-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>wp-video-js is wordpress plugin which enables post/page embed with HTML5 video player tag with the use of shortcode.<br />
Shortcode is used to embed HTML5 video player in the content area of post:</p>
<pre>[html5video width= "600" height = "300" splash = "http://example.com/splash.png"
src_mp4 = "http://example.com/video.mp4"
src_webm = "http://example.com/video.webm"
src_ogg = "http://example.com/video.ogg" ]</pre>
<p></p>
<p>
Here are list of parameters that can be set with shortcode:</p>
<p>width =&gt;  To set the width of video screen<br />
height =&gt; To set the height of video screen<br />
splash =&gt; To set the splash screen of the video<br />
src_mp4 =&gt; MP4 source of the video<br />
src_webm =&gt; WEBM source of the video<br />
src_ogg =&gt; OGG source of the video</p>
<p>Download link:  <a class="downloadlink" href="http://savitasoni.com/wp-content/plugins/download-monitor/download.php?id=2" title="Version0.1 downloaded 372 times" >Download wordpress HTML5 Video Player plugin  (372)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/html5-video-player-plugin-for-wordpress/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://example.com/video.mp4" length="0" type="video/mp4" />
<enclosure url="http://example.com/video.ogg" length="0" type="audio/ogg" />
		</item>
		<item>
		<title>How to fetch data from POST request when post variable is not known i.e. raw post data</title>
		<link>http://savitasoni.com/how-to-fetch-data-from-post-request-when-post-variable-is-not-known-i-e-raw-post-data</link>
		<comments>http://savitasoni.com/how-to-fetch-data-from-post-request-when-post-variable-is-not-known-i-e-raw-post-data#comments</comments>
		<pubDate>Wed, 22 Sep 2010 09:38:46 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[JSON response]]></category>
		<category><![CDATA[POST]]></category>
		<category><![CDATA[Raw data]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5102</guid>
		<description><![CDATA[Few days ago I was working with an Zencoder API which POST&#8217;ed the json response to my php file, but I was not sure how to catch that response and fetch the data I needed as i did not know the POST variable name, after making some search I found a way to catch it, &#8230; <a href="http://savitasoni.com/how-to-fetch-data-from-post-request-when-post-variable-is-not-known-i-e-raw-post-data">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Few days ago I was working with an <strong>Zencoder API</strong> which POST&#8217;ed  the json response to my php file, but I was not sure how to catch that response and fetch the data I needed as i did not know the POST variable name, after making some search I found a way to catch it, I simply write the following statement in my response file: </p>
<pre>
$json_str = file_get_contents('php://input');
</pre>
<p>now <em>$json_str</em> will contain the string of response I get from the server</p>
<pre>
$json_arr = json_decode($json_str);
</pre>
<p>and after passing the string <em>$json_str</em> to json_decode function I got the response in the array of objects.</p>
<p>Its pretty simple now!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/how-to-fetch-data-from-post-request-when-post-variable-is-not-known-i-e-raw-post-data/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple backup plugin for your wordpress blog</title>
		<link>http://savitasoni.com/simple-backup-plugin-for-your-wordpress-blog</link>
		<comments>http://savitasoni.com/simple-backup-plugin-for-your-wordpress-blog#comments</comments>
		<pubDate>Sun, 14 Mar 2010 14:50:09 +0000</pubDate>
		<dc:creator>savitas</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[backup plugin]]></category>
		<category><![CDATA[wordpress backup]]></category>

		<guid isPermaLink="false">http://savitasoni.com/?p=5055</guid>
		<description><![CDATA[Backup is always required for any valuable items we have and on the web our blog is our most valuable identity, so why not take its back and secure all your posts, plugins, themes etc, so that if something goes wrong you should not have to worry. Recently we have released our simple backup plugin &#8230; <a href="http://savitasoni.com/simple-backup-plugin-for-your-wordpress-blog">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Backup is always required for any valuable items we have and on the web our blog is our most valuable identity, so why not take its back and secure all your posts, plugins, themes etc, so that if something goes wrong you should not have to worry.</p>
<p>Recently we have released our simple backup plugin named <a href="http://amiworks.com/simple-wordpress-backup.html">wpSimpleBackup</a>, which will take backup to cloud files, Amazon S3 or FTP to other server.</p>
<p><strong>What wpSimpleBackup can do? </strong> wpSimpleBackup take the full back of your wordpress blog including database, plugins, themes, uploads and save it to your chosen option among rackspace cloud files, Amazon S3 or FTP.</p>
<p><strong>How to install and use? </strong>Installing this plugin  is the  same process as  any other wordpress plugins  requires,  you need to copy the wpsimplebackup directory to your wordpress plugins directory and activate it from the admin panel.</p>
<p><a href="http://savitasoni.com/wp-content/uploads/2010/03/wpsimplebackup12.jpg"><img class="aligncenter size-medium wp-image-5067" title="wpsimplebackup1" src="http://savitasoni.com/wp-content/uploads/2010/03/wpsimplebackup12-300x152.jpg" alt="" width="300" height="152" /></a></p>
<p>Plugin will give you options to chose backup storage among three options, and then need to do the service setting for the chosen storage. You then need to give a container/folder name where it&#8217;s going to save the backups. Name of the zip file to identify your backup files. And most important you can do scheduling, take backup daily, weekly and monthly or if you wish you can take backup manually also. An another good feature is you can restrict your backup up to some numbers like last 5 backups or 3 etc. Then save the setting and you are done.</p>
<p><strong>How your backup&#8217;s will look?</strong><br />
<a href="http://savitasoni.com/wp-content/uploads/2010/03/wpsimplebackup2.jpg"><img class="aligncenter size-medium wp-image-5060" title="wpsimplebackup2" src="http://savitasoni.com/wp-content/uploads/2010/03/wpsimplebackup2-300x99.jpg" alt="" width="300" height="99" /></a></p>
<p>You can view all your backups from admin panel itself and have facility to delete it or restore it from there only. So this will also going to help you if you simply need to do migration.</p>
<p><strong>I will simply list the amazing features once again</strong></p>
<ul>
<li> Backup of whole blog including database, wp-config.php, plugins, themes and other files in wp-content folder.</li>
<li> Three options of storage rackspace cloud files, Amazon S3 and FTP</li>
<li> Scheduling of backup with options of daily, weekly or monthly other then this one can take manual backup anytime.</li>
<li> You can restrict number of backup files you want.</li>
<li> Can view backups from admin panel, delete backup and restore it from panel itself.</li>
<li> It is simple, easy and fast.</li>
<li>Best wordpress blog migration tool I ever found and now its your turn. </li>
</ul>
<p><strong>Where can you get this plugin?</strong> You can checkout this <a href="http://amiworks.com/simple-wordpress-backup.html">wpSimpleBackup</a></p>
<p> Update: This plugin is pulled down, try following plugins as alternatives<br />
<a href="http://wordpress.org/extend/plugins/backupwordpress/">BackUpWordPress</a><br />
<a href="http://pluginbuddy.com/purchase/backupbuddy/">backupbuddy </a></p>
]]></content:encoded>
			<wfw:commentRss>http://savitasoni.com/simple-backup-plugin-for-your-wordpress-blog/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

