<?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>BMo-design Demos</title>
	<atom:link href="http://software.bmo-design.de/feed" rel="self" type="application/rss+xml" />
	<link>http://software.bmo-design.de</link>
	<description>Webdesign, Internetseiten, Online-Shops, Flashgames, CD-Rom Präsentationen</description>
	<lastBuildDate>Thu, 16 Feb 2012 21:31:30 +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>How to add a YouTube video into WordPress 3</title>
		<link>http://software.bmo-design.de/how-to-add-a-youtube-video-into-wordpress-3</link>
		<comments>http://software.bmo-design.de/how-to-add-a-youtube-video-into-wordpress-3#comments</comments>
		<pubDate>Wed, 25 Jan 2012 11:47:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://software.bmo-design.de/?p=249</guid>
		<description><![CDATA[Since WordPress and YouTube changed the possibility to embed videos it is not as easy as before. YouTube has an new iframe integration code: &#60;iframe width="560" height="315" src="http://www.youtube.com/embed/..." frameborder="0" allowfullscreen&#62;&#60;/iframe&#62; but WordPress prohibits the inclusion of iframes in the standard configuration. I found an easy way to change this.<span class="ellipsis">&#8230;</span> <a href="http://software.bmo-design.de/how-to-add-a-youtube-video-into-wordpress-3"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>Since WordPress and YouTube changed the possibility to embed videos it is not as easy as before. YouTube has an new iframe integration code:</p>
<p><code>&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/..." frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;</code></p>
<p>but WordPress prohibits the inclusion of iframes in the standard configuration.</p>
<p>I found an easy way to change this.</p>
<ol>
<li>You have to change your function.php, so go to &#8220;Appearance&#8221; -&gt; &#8220;Editor&#8221; and open the function.php in the integrated wordpress editor. But be careful and if you&#8217;re don&#8217;t know what you are doing, I advise you to make a backup or ask someone.</li>
<li>Look in the code if there is already a row in which the filter &#8220;add_filter(&#8216;tiny_mce_before_init&#8217;, &#8230;); is applied. If not, add the following code:<br />
<code>/*Add iframe to TinyMCE*/<br />
function fb_change_mce_options($initArray) {<br />
$ext = ' iframe[align|longdesc|name|width|height|frameborder|scrolling|marginheight|marginwidth|src]';<br />
if ( isset( $initArray['extended_valid_elements'] ) ) {<br />
$initArray['extended_valid_elements'] .= ',' . $ext;<br />
} else {<br />
$initArray['extended_valid_elements'] = $ext;<br />
}<br />
return $initArray;<br />
}<br />
add_filter('tiny_mce_before_init', 'fb_change_mce_options');<br />
</code></li>
<li>That&#8217;s it. Now you can use the new Youtube integration code by posting it into an articles html.</li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://software.bmo-design.de/how-to-add-a-youtube-video-into-wordpress-3/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to integrate Google+ into your WordPress plugin</title>
		<link>http://software.bmo-design.de/how-to-integrate-google-plus-into-your-wordpress-plugin</link>
		<comments>http://software.bmo-design.de/how-to-integrate-google-plus-into-your-wordpress-plugin#comments</comments>
		<pubDate>Mon, 03 Oct 2011 13:18:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://software.bmo-design.de/?p=165</guid>
		<description><![CDATA[A guideline for wordpress plugin developers. Now that the Google+ Button is available to use, I had the idea to integrate it into my WordPress Plugin. A little bit of linklove can not be wrong and SEO is important, also to spread an<span class="ellipsis">&#8230;</span> <a href="http://software.bmo-design.de/how-to-integrate-google-plus-into-your-wordpress-plugin"><div class="see-more">See more &#8250;</div><!-- end of .see-more --></a>]]></description>
			<content:encoded><![CDATA[<p>A guideline for wordpress plugin developers.</p>
<p>Now that the<a title="get your Google+ Button" href="http://www.google.com/webmasters/+1/button/" rel="nofollow" target="_blank"> Google+ Button</a> is available to use, I had the idea to integrate it into my WordPress Plugin. A little bit of linklove can not be wrong and SEO is important, also to spread an open source product.<br />
Here you can read about what to do so.</p>
<p><img title="Add Google + to WordPress" src="http://software.bmo-design.de/wp-content/uploads/Bildschirmfoto-2011-10-03-um-14.43.01.png" alt="Add Google + to WordPress image" width="1019" height="69" /></p>
<p>First of all, the +-Button consists of two parts:</p>
<ul>
<li>The plusone.js script in the html head.<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;https://apis.google.com/js/plusone.js&#8221;&gt;&lt;/script&gt;</li>
<li>And the button place holder<br />
&lt;g:plusone size=&#8221;small&#8221; count=&#8221;false&#8221; href=&#8221;http://your-domain-to-like.com&#8221;&gt;&lt;/g:plusone&gt;</li>
</ul>
<p>Both parts can easily integrated with standard wordpress functions.</p>
<p>To add the script into the wp-admin head you can use this code:</p>
<pre>function set_admin_header() {
  //admin Header
  wp_deregister_script(array('plusone'));
  wp_register_script( 'plusone', 'https://apis.google.com/js/plusone.js');
  if (function_exists('wp_enqueue_script')) {
    wp_enqueue_script('plusone');
  }
}
add_action('admin_init', 'set_admin_header');//admin_init, admin_head is to late</pre>
<p>For integration in a plugin-class, use this instead:</p>
<pre>$classObj = new myClass();
add_action('admin_init'   , array($classObj,'set_admin_header'));</pre>
<p>&nbsp;</p>
<p>Then you need to integrate the button into the plugins overview / wordpress installed plugins list.</p>
<pre>/* Add a link to plugins page */
function set_plugin_links($links, $file) {
  $plugin = plugin_basename(__FILE__);
  if ($file == $plugin) {
    return array_merge( $links, array(
      '&lt;g:plusone size="small" count="false" href="http://your-domain-to-like.com"&gt;&lt;/g:plusone&gt;'
    ));
  }
  return $links;
}
add_filter( 'plugin_row_meta', 'set_plugin_links', 10, 2 );</pre>
<p>For integration in a plugin-class, use:</p>
<pre>$classObj = new myClass();
add_filter( 'plugin_row_meta', array($classObj,'set_plugin_links'), 10, 2 );</pre>
<p>After all, replace &#8220;http://your-domain-to-like.com&#8221; in my code with your url.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-235" title="google + integration in my wordpress plugin list" src="http://software.bmo-design.de/wp-content/uploads/Bildschirmfoto-2011-11-22-um-18.28.32.png" alt="" width="982" height="689" /></p>
<p> I hope I could help you with my short tutorial. If so, please click on my + button <img src='http://software.bmo-design.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://software.bmo-design.de/how-to-integrate-google-plus-into-your-wordpress-plugin/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

