<?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>Openstream Internet Solutions &#187; wordpress</title>
	<atom:link href="http://www.openstream.ch/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openstream.ch</link>
	<description>Der Magento, osCommerce und WordPress Spezialist aus Zürich</description>
	<lastBuildDate>Wed, 19 Jun 2013 09:24:22 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Importing Your Twitter Timeline to WordPress</title>
		<link>http://www.openstream.ch/developer-blog/importing-your-twitter-timeline-to-wordpress/</link>
		<comments>http://www.openstream.ch/developer-blog/importing-your-twitter-timeline-to-wordpress/#comments</comments>
		<pubDate>Mon, 13 May 2013 11:26:08 +0000</pubDate>
		<dc:creator>Nick Weisser</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=8914</guid>
		<description><![CDATA[The Twitter import tools mentioned in the WordPress Codex do no longer work, because they all rely on the old Twitter RSS feed which is no longer provided by Twitter. This article will explain how to create an independent RSS feed for your Twitter timeline which then can be used to import tweets as WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-8928" style="border: none;" title="WordPress" src="http://www.openstream.ch/wp-content/uploads/2013/05/wordpress-logo.png" alt="WordPress" width="200" height="124" />The Twitter <a href="http://codex.wordpress.org/Importing_Content#Twitter" target="_blank">import tools</a> mentioned in the WordPress Codex do no longer work, because they all rely on the old Twitter RSS feed which is no longer provided by Twitter. This article will explain how to create an independent RSS feed for your Twitter timeline which then can be used to import tweets as WordPress posts.</p>
<p>Last week at <a href="http://re-publica.de/" target="_blank">re:publica</a> 13 Sascha Lobo presented <a href="http://reclaim.fm/" target="_blank">Reclaim Social</a>, a WordPress based concept, consisting of some plugins and scripts that allow you to mirror and store your content and activities around the web on your own blog. Because I like the idea I wanted to give it a try and installed the <a href="http://feedwordpress.radgeek.com/" target="_blank">FeedWordPress</a> plugin along with some PHP scripts  and duct tape from their <a href="http://reclaim.fm/#tech-specs" target="_blank">tech specs</a> on our new Coworking website.<span id="more-8914"></span></p>
<h2>Here&#8217;s how it works</h2>
<p>Go to <a href="https://dev.twitter.com/" target="_blank">dev.twitter.com</a> and create a new app. After submitting the new app on your application&#8217;s detail page click the &#8220;Create my access token&#8221; button on the bottom of the page. After reloading the page you will find all OAuth settings you need for your Twitter proxy script.</p>
<p><img class="alignnone size-medium wp-image-8920" title="Twitter App Details" src="http://www.openstream.ch/wp-content/uploads/2013/05/coworking-radolfzell-twitter-app-662x483.png" alt="Twitter App Details" width="662" height="483" /></p>
<p>The file proxy/twitter.php reads the configuration from proxy/config.php, so you have to put the customer key and secret as well as the user token (access token) and user secret (access token secret) in the $twitter_oauth_setting array.</p><pre class="crayon-plain-tag">// setup your own app here
// https://dev.twitter.com/apps/new
	$twitter_oauth_setting = array(
	  'consumer_key'    =&gt; 'yyy',
	  'consumer_secret' =&gt; 'yyy',
	  'user_token'      =&gt; 'yyy-yyy',
	  'user_secret'     =&gt; 'yyy',
	);</pre><p>Once you did that and uploaded it to your web server, you can access the feed at www.yourdomain.com/proxy/twitter.php which is also the URL you have to enter in the <em>Syndication Sites</em> section of your <a title="WordPress" href="http://www.openstream.ch/angebot/web-seite/wordpress/">WordPress</a> admin panel.</p>
<p><img class="alignnone size-medium wp-image-8917" title="Syndicated Sources" src="http://www.openstream.ch/wp-content/uploads/2013/05/syndicated-sources-662x100.png" alt="Syndicated Sources" width="662" height="100" /></p>
<p>The FeedWordPress has many configuration settings, but those are documented elsewhere. I had everything up and running in 30 minutes, so it should take you even less with help of this little tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/developer-blog/importing-your-twitter-timeline-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress, Responsive Design und mehr</title>
		<link>http://www.openstream.ch/blog/responsive-desing-wordpress-konferenz/</link>
		<comments>http://www.openstream.ch/blog/responsive-desing-wordpress-konferenz/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 21:47:38 +0000</pubDate>
		<dc:creator>Marianne Jehle</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[newsletter]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[socialmedia]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=8340</guid>
		<description><![CDATA[WordPress Konferenz in Zürich Internet Briefing veranstaltete gestern am 5. März die WordPress Konferenz in Zürich. In einer Runde mit passionierten Bloggern ist nicht weiter verwunderlich, dass schon einige Artikel direkt im Anschluss veröffentlicht waren. Die Vorteile sind: Slides und Zusammenfassungen gibt es schon, vielen Dank! Vom kleinsten zum grössten Bildschirm entwickeln Responsive Design, ein [...]]]></description>
			<content:encoded><![CDATA[<h2>WordPress Konferenz in Zürich</h2>
<p><img class="alignright  wp-image-8290" style="border: none;" title="WordPRess" src="http://www.openstream.ch/wp-content/uploads/2013/03/WordPRess.png" alt="WordPress" width="199" height="199" /><br />
<a href="http://internet-briefing.ch/">Internet Briefing</a> veranstaltete <strong>gestern</strong> am 5. März die <a href="http://blog.internet-briefing.ch/2013/02/21/wordpress-konferenz/">WordPress Konferenz</a> in Zürich. In einer Runde mit passionierten Bloggern ist nicht weiter verwunderlich, dass schon einige Artikel direkt im Anschluss veröffentlicht waren.</p>
<p>Die Vorteile sind: Slides und Zusammenfassungen gibt es schon, vielen Dank!<br />
<span id="more-8340"></span></p>
<h2>Vom kleinsten zum grössten Bildschirm entwickeln</h2>
<p>Responsive Design, ein Design welches auf verschiedenen Bildschirmgrössen gut rauskommt, ist eine der Herausforderungen für Entwickler, Designer und Anwender.</p>
<p>Michael Oeser empfiehlt unter anderem</p>
<ul>
<li>ein Theme am kleinsten Objekt zu entwicklen und von dort auf immer grössere Bildschirme erweitern</li>
<li>sog. Off Canvas einzusetzen, also Elemente nicht alle einzubinden sondern extern zu laden</li>
</ul>
<p>Ein Tip von Silvan Hagen: <a title="Wordpress" href="http://www.openstream.ch/angebot/web-seite/wordpress/">WordPress</a> nicht mit Features und Optionen zu überladen. Spätestens beim nächsten Upgrade erinnern wir uns wieder daran!<br />
Seine Frage-Runde, wer denn WordPress nutzt, wer schon am WP Code gearbeitet hat etc. schliesst er mit der Frage &#8220;Und wer hat der Community schon mal etwas zurückgegeben?&#8221;</p>
<div id="attachment_8350" class="wp-caption alignright" style="width: 672px"><img class=" wp-image-8350" title="WP Konferenz" src="http://www.openstream.ch/wp-content/uploads/2013/03/WP-Konferenz1-662x483.png" alt="WordPress Konferenz" width="662" height="483" />
<p class="wp-caption-text">Verena Parzer Epp über die WordPress Webseite von Avenir Suisse</p>
</div>
<h2>Wie zuhause</h2>
<p>Natürlich besuche ich eine WordPress Konferenz mit der Idee, Lösungen mit &#8220;nach Hause&#8221; zu nehmen, aber irgendwie entsteht auch ein familiäres Gefühl, wenn man andere mit den gleichen Grenzen erlebt. Multilinguale Lösungen (z.B mit <a href="http://wpml.org/de/" target="_blank">wpml</a>), die Synchronisation mit anderen Systemen und Datenbanken bleiben komplexe Angelegenheiten.</p>
<h2>Social Media und E-Mail Marketing</h2>
<p>Dass ein  WordPress-Blog in Kombination mit Social Media &amp; Newsletter, gute Dienste im Bereich Suchmaschinenoptimierung und Marketing leisten, ist inzwischen keine Frage mehr, wann welche  Plattform oder welches Tool am besten einzusetzen ist dagegen schon.</p>
<p><a href="http://www.google.com/alerts" target="_blank">Google Alert</a> und <a href="http://paper.li/" target="_blank">Paper.li</a> sind dabei als weitere Ideen zur Recherche bei mir hängengeblieben. <a href="www.mailchimp.com/" target="_blank">MailChimp</a> war mit Sicherheit das meist erwähnte Tool für den Newsletterversand.</p>
<h2>WordPress und Sicherheit</h2>
<p>Auch zu diesem Thema kamen wertvolle Hinweise aus den Reihen der Teilnehmer, die kurz darauf per Twitter mit Link zum passenden <a href="http://swiss-kyburz.ch/wordpress-richtig-absichern-teil-2/" target="_blank">Blogbeitrag </a>oder zur <a href="http://wordpress.org/extend/plugins/limit-login-attempts/" target="_blank">Info von WP</a> ergänzt wurden. Mitschreiben fällt künftig aus &#8211; den passenden Hashtag (hier WPKonferenz) verfolgen und man hat alles parat oder kann nachfragen <img src='http://www.openstream.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>ECO &amp; Green</h2>
<p>Zwischen den Zeilen war Nachhaltigkeit immer wieder Thema. Sei es bezügl. Kundenprojekte, über die sich Teilnehmer austauschten, das Thema des eigenen Blogs oder in einer der Präsentationen. Klasse!</p>
<p>Bin überzeugt, dem ein oder anderen wieder über den Weg zu laufen und freu mich drauf!</p>
<p>Slides:<br />
<a href="http://required.ch/presentations/silvan/developing-for-wordpress/#/" target="_blank">Silvan Hagen: Developing for WorPress &#8211; Do´s &amp; Dont´s</a> mit vielen Tips &amp; Tools<br />
<a href="http://de.slideshare.net/blogwerk/wp-konferenz-korr?ref=http://www.blogwerk.com/2013/03/06/rueckblick-auf-die-wordpress-konferenz-201/">Michael Oeser: Responsive Webdesign mit WordPress<br />
Karin Friedli und Michael Sebel: WordPress für die Corporate Website</a></p>
<p>weitere Blogbeiträge:<br />
<a href="http://www.blogwerk.com/2013/03/06/rueckblick-auf-die-wordpress-konferenz-201" target="_blank">blogWERK.com </a>und <a href="http://swiss-kyburz.ch/wordpress-konferenz-zurich/" target="_blank">swiss-kyburz.ch</a> waren schneller und haben bereits Artikel über die WordPress Konferenz verfasst.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/blog/responsive-desing-wordpress-konferenz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Responsive WordPress Themes and Frameworks</title>
		<link>http://www.openstream.ch/developer-blog/best-responsive-wordpress-themes-and-frameworks/</link>
		<comments>http://www.openstream.ch/developer-blog/best-responsive-wordpress-themes-and-frameworks/#comments</comments>
		<pubDate>Mon, 31 Dec 2012 11:22:32 +0000</pubDate>
		<dc:creator>Nick Weisser</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=7928</guid>
		<description><![CDATA[WordPress is really an amazing open source eco system. Just looking at how many different free and paid responsive themes and frameworks there are already is mind-blowing! The new WordPress default theme Twenty Twelve is an elegant, readable, and fully responsive theme that makes your site content look its best on any device, but having [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright  wp-image-7943" style="border: none;" title="Responsive Web Design" src="http://www.openstream.ch/wp-content/uploads/2012/12/responsive-web-design-216x153.jpg" alt="Responsive Web Design" width="151" height="107" />WordPress is really an amazing open source eco system. Just looking at how many different free and paid responsive themes and frameworks there are already is mind-blowing!</p>
<p>The new WordPress default theme <a href="http://theme.wordpress.com/themes/twentytwelve/" target="_blank">Twenty Twelve</a> is an elegant, readable, and fully responsive theme that makes your site content look its best on any device, but having tested it on mobile devices myself, I can confirm that e.g. the main navigation styles are very basic and early beta IMHO.</p>
<p>Although I would prefer to build sites based on the new default theme, I thought it might be worth looking at other free (as in Open Source) responsive <a title="Wordpress" href="http://www.openstream.ch/angebot/web-seite/wordpress/">WordPress</a> themes out there and I was not disappointed. Although there are many more, this article presents a small selection of responsive WordPress themes for developers and frameworks that are actively being developed.</p>
<p>Click on the title to get redirected to each project. The latest update date will give you a good idea on how active the project is being developed. The following listing is in chronological order.<span id="more-7928"></span></p>
<h2><a href="http://www.rootstheme.com/" target="_blank">Roots</a></h2>
<p>Roots is a starting WordPress theme based on <a href="http://html5boilerplate.com/" target="_blank">HTML5 Boilerplate</a> &amp; <a href="http://twitter.github.com/bootstrap/" target="_blank">Bootstrap</a> from Twitter.</p>
<ul>
<li>License: <a href="http://www.opensource.org/licenses/mit-license.php" target="_blank">MIT License</a></li>
<li>Latest Update: December 26, 2012</li>
</ul>
<h2><a href="http://themble.com/bones/" target="_blank">Bones</a></h2>
<p>Built around the HTML5 Boilerplate, Bones is a rock solid foundation to start any WordPress project. Keep what you need, remove what you don&#8217;t. It&#8217;s totally up to you.</p>
<ul>
<li>License: <a href="http://en.wikipedia.org/wiki/WTFPL" target="_blank">WTFPL</a></li>
<li>Latest Update: December 26, 2012</li>
</ul>
<h2><a href="http://themeid.com/responsive-theme/" target="_blank">Responsive</a></h2>
<p>Responsive Theme is a flexible foundation with fluid grid system that adapts your website to mobile devices and the desktop or any other viewing environment.</p>
<ul>
<li>License: <a href="http://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">GNU GPLv3</a></li>
<li>Latest Update: December 24, 2012</li>
</ul>
<p><img class="size-medium wp-image-7947 alignnone" title="Responsive WordPress Demo" src="http://www.openstream.ch/wp-content/uploads/2012/12/responsive-wordpress-demo-662x450.png" alt="Responsive WordPress Demo" width="662" height="450" /></p>
<p>&nbsp;</p>
<h2><a href="https://github.com/drewsymo/Foundation" target="_blank">Foundation, for WordPress</a></h2>
<p>Foundation, for WordPress, is a blank starter theme built on <a href="http://foundation.zurb.com/" target="_blank">ZURB&#8217;s Foundation Framework</a>.</p>
<p>It features clean semantic code, smart use of WordPress functions and the WordPress Shortcode API.</p>
<ul>
<li>License: <a href="http://www.opensource.org/licenses/mit-license.php" target="_blank">MIT License</a></li>
<li>Latest Update: November 2, 2012</li>
</ul>
<p><img class="alignnone size-medium wp-image-7948" title="Responsive WordPress Theme powered by Zurb Foundation" src="http://www.openstream.ch/wp-content/uploads/2012/12/responsive-wordpress-theme-zurb-foundation-662x202.png" alt="Responsive WordPress Theme powered by Zurb Foundation" width="662" height="202" /></p>
<h2><a href="http://whiteboardframework.com/" target="_blank">Whiteboard Framework</a></h2>
<p>Whiteboard is not like most other WordPress Frameworks out there. While most other WordPress Frameworks include a mess of styles, functions, and content areas that have to be cleaned out for nearly every project, Whiteboard remains a true WordPress Framework. Whiteboard includes only the core WordPress structure and does not get fancy with unnecessary functions. While Whiteboard does include Less Framework and a minimal theme, these can be easily removed with the exclusion of a line of HTML each.</p>
<ul>
<li>License: <a href="http://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank">GNU GPLv3</a></li>
<li>Latest Update: September 12, 2012</li>
</ul>
<h2><a href="http://themefortress.com/reverie/" target="_blank">Reverie</a></h2>
<p>Versatile HTML5 Responsive WordPress Framework also based on the Power of <a href="http://foundation.zurb.com/" target="_blank">Foundation</a>.</p>
<ul>
<li>License: <a href="http://www.opensource.org/licenses/mit-license.php" target="_blank">MIT License</a></li>
<li>Latest Update: July 3, 2012</li>
</ul>
<p>I have looked at the demos of all of these themes and frameworks and like most of them. Yesterday, I tested Reverie with WordPress 3.5 and had problems with the main navigation which made me conclude that a project that has not been updated in more than 6 months cannot really be relied on and is questionable to be used in production.</p>
<p>If you know of any other responsive WordPress themes and/or frameworks that are actively being developed, please leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/developer-blog/best-responsive-wordpress-themes-and-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Does WordPress WYSIWYG Editor Treat Your HTML Code</title>
		<link>http://www.openstream.ch/developer-blog/how-does-wordpress-wysiwyg-editor-treat-your-html-code/</link>
		<comments>http://www.openstream.ch/developer-blog/how-does-wordpress-wysiwyg-editor-treat-your-html-code/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 12:19:19 +0000</pubDate>
		<dc:creator>Tim Bezhashvyly</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=3916</guid>
		<description><![CDATA[WordPress grew into a great CMS system. However some end-users who&#8217;d like to use both WYSIWYG and HTML editors can be quite a surprised with the way they HTML code gets treated. WordPress tries to maintain high HTML5 standards and also to make its visual editor to look as smart as possible, so switching from [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress grew into a great CMS system. However some end-users who&#8217;d like to use both WYSIWYG and HTML editors can be quite a surprised with the way they HTML code gets treated.<span id="more-3916"></span> WordPress tries to maintain high HTML5 standards and also to make its visual editor to look as smart as possible, so switching from HTML to WYSIWYG will clean your code a bit. Keeping the following things in mind while writing your HTML code inside of WordPress content editor may save you some nerves:</p>
<ol>
<li>All empty tag container (e.g. &lt;div..&gt;&lt;/div&gt;) will be stripped.</li>
<li>All code formatting (e.g. new lines, indents) will be changed.</li>
<li>Paragraph tags will be hidden but not stripped.</li>
<li>A space before closing /&gt; of self-containing tags will be added in case you have not put it there.</li>
<li><a title="Wordpress" href="http://www.openstream.ch/angebot/web-seite/wordpress/">WordPress</a> will also put all in-line elements not contained into block elements into paragraph container.</li>
<li>&amp;nbsp;s and &lt;br/&gt;s will be stripped.</li>
<li>All blank attributes of all tags will be stripped (critical for &lt;a&gt; tags).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/developer-blog/how-does-wordpress-wysiwyg-editor-treat-your-html-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Network (MU) URL Rewrite Issue</title>
		<link>http://www.openstream.ch/developer-blog/wordpress-network-mu-url-rewrite-issue/</link>
		<comments>http://www.openstream.ch/developer-blog/wordpress-network-mu-url-rewrite-issue/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 08:48:09 +0000</pubDate>
		<dc:creator>Tim Bezhashvyly</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[mu]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[permalink]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=4018</guid>
		<description><![CDATA[If you migrate your WordPress website into multi-website network (previously known as WordPress MU) you may get you rewrite rules automatically altered. This will happen in cases when your permalink structure differs from default. All rewrites that have variable prefix like ([0-9]{4})/([0-9]{1,2}) will get some slug added in front. In my case it was &#8220;blog/&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p>If you migrate your WordPress website into multi-website network (previously known as WordPress MU) you may get you rewrite rules automatically altered. This will happen in cases when your permalink structure differs from default.<span id="more-4018"></span> All rewrites that have variable prefix like ([0-9]{4})/([0-9]{1,2}) will get some slug added in front. In my case it was &#8220;blog/&#8221;. This is done in purpose to prevent <a title="Wordpress" href="http://www.openstream.ch/angebot/web-seite/wordpress/">WordPress</a> category slugs to conflict with symlinks of your network websites. This is quite wise of WordPress but only if your network is utilizing directory type URL for your websites. In case you use subdomain structure or even separate domains you might not be happy with this additional token of your URL.</p>
<p>To get rid of it you have to strip this new token directly from the wp_X_options table where X is id of the website you want to strip it for. This is quite handy because you can disable it just for certain websites and also keep this token different for the rest. So pull the required string with the following query:</p><pre class="crayon-plain-tag">SELECT * FROM `wp_X_options` WHERE `option_name` = 'rewrite_rules'</pre><p>Unfortunately WordPress is keeping its rewrite rules serialized so it would be quite a task too strip this slug from the database directly. Instead you can use the simple script below to unserialize the rewrites array, strip the required slug and serialize it back. Just put your serialized string instead of &#8230; and replace &#8220;blog&#8221; token inside of preg_replace function with your slug.</p>
<p></p><pre class="crayon-plain-tag">$str = '..';
$str = unserialize($str);
$new_str = array();
while(list($key, $val) = each($str)){
$new_str[preg_replace('/^blog//i', '', $key)] = $val;
}
echo serialize($new_str);</pre><p></p>
<p>Also in the same table find an entry with <code>option_name</code> = &#8216;permalink_structure&#8217; and wipe the slug out of there also.</p>
<p>You are done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/developer-blog/wordpress-network-mu-url-rewrite-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Parent Category Recursive</title>
		<link>http://www.openstream.ch/developer-blog/wordpress-parent-category-recursive/</link>
		<comments>http://www.openstream.ch/developer-blog/wordpress-parent-category-recursive/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 13:42:17 +0000</pubDate>
		<dc:creator>Tim Bezhashvyly</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[cat_is_ancestor_of]]></category>
		<category><![CDATA[cat_is_ancestor_of_recursive]]></category>
		<category><![CDATA[get_category]]></category>
		<category><![CDATA[get_category_parents]]></category>
		<category><![CDATA[get_cat_id]]></category>
		<category><![CDATA[get_query_var]]></category>
		<category><![CDATA[get_the_category]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=3731</guid>
		<description><![CDATA[On the long and curvy road of WordPress development such tasks are normal when you need to represent your posts (or categories) from different categories in a different way. If your website structure is limited to just two levels the generic cat_is_ancestor_of() function will serve you nicely. It takes two parameters. The first one is [...]]]></description>
			<content:encoded><![CDATA[<p>On the long and curvy road of WordPress development such tasks are normal when you need to represent your posts (or categories) from different categories in a different way.<span id="more-3731"></span> If your website structure is limited to just two levels the generic <a href="http://codex.wordpress.org/Function_Reference/cat_is_ancestor_of" target="_blank"><strong>cat_is_ancestor_of()</strong></a> function will serve you nicely. It takes two parameters. The first one is ID or object to check if this is the parent category and the second one is the child category. In this case if you want to find out if the category with slug &#8220;music&#8221; is the direct ancestor of current category you can use the following bit:</p>
<blockquote><p>cat_is_ancestor_of(get_cat_id(&#8216;music&#8217;), get_query_var(&#8216;cat&#8217;))</p></blockquote>
<p>Of course you can use the direct IDs for any of parameters. This code can be modified to find out if any of the categories your post belongs to have some specific ancestor.</p>
<blockquote><p>foreach(get_the_category() as $category){</p>
<blockquote><p>if(cat_is_ancestor_of(get_cat_id(&#8216;music&#8217;), $category-&gt;term_id)){</p>
<blockquote><p>&#8230;</p></blockquote>
<p>}</p></blockquote>
<p>}</p></blockquote>
<p>Here we are using another generic WordPress function <a href="http://codex.wordpress.org/Function_Reference/get_the_category" target="_blank"><strong>get_the_category()</strong></a> which returns an array of objects, one object for each category assigned to the post. It takes one optional parameter: the post ID, which defaults to current post ID.</p>
<p>Unfortunately <a title="Wordpress" href="http://www.openstream.ch/angebot/web-seite/wordpress/">WordPress</a> does not have a function in its arsenal to walk through whole directory tree and find out if our post or category have some specific ancestor somewhere deeper then one level down. In this case you can use the following custom function I wrote. I took the source code of WordPress <a href="http://codex.wordpress.org/Function_Reference/get_category_parents" target="_blank"><strong>get_category_parents()</strong></a> function as the origin. Here is the result:</p>
<blockquote><p>function cat_is_ancestor_of_recursive($ancestor_id, $of_id, $visited = array()){</p>
<blockquote><p>$visited[] = $of_id;<br />
$parent = &amp;get_category($of_id);<br />
if(is_wp_error($parent)){</p>
<blockquote><p>return false;</p></blockquote>
<p>}elseif($parent-&gt;term_id == $ancestor_id){</p>
<blockquote><p>return true;</p></blockquote>
<p>}elseif($parent-&gt;parent &amp;&amp; $parent-&gt;parent != $parent-&gt;term_id &amp;&amp; !in_array($parent-&gt;parent, $visited)){</p>
<blockquote><p>return cat_is_ancestor_of_recursive($ancestor_id, $parent-&gt;parent, $visited);</p></blockquote>
<p>}</p></blockquote>
<p>}</p></blockquote>
<p>It takes absolutely the same parameters as <a href="http://codex.wordpress.org/Function_Reference/cat_is_ancestor_of" target="_blank"><strong>cat_is_ancestor_of()</strong></a> but walks the complete tree recursively. The third parameter is for internal use and does not have to be passed when calling the function. It holds the array of categories already checked to prevent infinite loops.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/developer-blog/wordpress-parent-category-recursive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Tipps für die Entwicklung auf mobilen Endgeräten</title>
		<link>http://www.openstream.ch/blog/5-tipps-fuer-die-entwicklung-auf-mobilen-endgeraeten/</link>
		<comments>http://www.openstream.ch/blog/5-tipps-fuer-die-entwicklung-auf-mobilen-endgeraeten/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 19:18:39 +0000</pubDate>
		<dc:creator>Nick Weisser</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[palmos]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wptouch]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=1625</guid>
		<description><![CDATA[In diesem sehr interessanten Interview teilt Shravan Goli von Dictionary.com seine Gedanken über die Transformation eines Online Business in eine Cross Plattform Erfolgsgeschichte. Dictonary.com hat eine für mobile Endgeräte optimierte Webseite mit neun Millionen einmaligen Besuchern monatlich und Apps für Android, iPhone und iPad mit über 30 Millionen Downloads. Am Schluss des Interviews finden sich [...]]]></description>
			<content:encoded><![CDATA[<p>In diesem sehr interessanten Interview teilt Shravan Goli von Dictionary.com seine Gedanken über die Transformation eines Online Business in eine Cross Plattform Erfolgsgeschichte. Dictonary.com hat eine für mobile Endgeräte optimierte Webseite mit neun Millionen einmaligen Besuchern monatlich und Apps für Android, iPhone und iPad mit über 30 Millionen Downloads.</p>
<p><span id="more-2245"></span></p>
<p>Am Schluss des Interviews finden sich 5 Tipps für die Entwicklung auf mobilen Endgeräten:</p>
<ol>
<li>Warten Sie nicht! Ihre Kunden sind bereits auf mobilen Endgeräten, Sie sollten es auch sein</li>
<li>Konzipieren Sie eine grossartige User Experience, die den mobilen Kontext berücksichtigt</li>
<li>Experimentieren Sie mit Monetarisierungsmodellen &#8211; mobile Endgeräte sind anders als der Desktop</li>
<li>Nutzen Sie Bewertungen und Rezensionen zu Ihrem Vorteil</li>
<li>Iterieren, iterieren, iterieren: Gehen Sie inkrementell vor, d.h. entwicklen Sie zyklisch</li>
</ol>
<p><iframe src="http://www.youtube.com/embed/CTmja3_uklM" frameborder="0" width="683" height="389"></iframe></p>
<p>Natürlich hinken wir in Europa und der Schweiz meistens ein paar Jahre hinterher, was die neuesten Trends anbelangt, ich denke aber, dass jede Webseite zumindest einige grundlegende, oft sehr einfach zu realisierende Optimierungen beinhalten sollte. Eine eigene iPhone App wird für die meisten Firmen und selbst Online Shops nicht notwendig sein, eine mühsame Navigation auf einer nicht optimierten Webseite frustriert allerdings die meisten Besucher.</p>
<p>Für WordPress gibt es beispielsweise das <a href="http://www.bravenewcode.com/store/plugins/wptouch-pro/">WPtouch Pro Modul</a>, welches für eine auf WordPress basierte Webseite oder einen auf WordPress basierten Blog optimierte Versionen für iPhone, iPad, Android, Blackberry, Palm OS und Samsung touch bereit stellt.</p>
<p>Die Openstream Webseite wird momentan von TYPO3 auf WordPress migriert, der Openstream Blog läuft bereits auf WordPress. Wenn Sie <a href="http://feeds.feedburner.com/OpenstreamBlog">unseren Blog abonnieren</a> und in den nächsten Wochen nochmals vorbei schauen, werden Sie ebenfalls in den Genuss einer speziell für Ihr mobiles Endgerät optimierten Version kommen <img src='http://www.openstream.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Was halten Sie vom mobilen Trend? Denken Sie, dass es noch zu früh ist, auf den mobilen Zug auf zu springen? Was sind Ihre Tipps oder Erfahrungen für die Entwicklung auf mobilen Endgeräten?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/blog/5-tipps-fuer-die-entwicklung-auf-mobilen-endgeraeten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openstream Blog migriert von Blogger auf WordPress</title>
		<link>http://www.openstream.ch/blog/openstream-blog-migriert-von-blogger-auf-wordpress/</link>
		<comments>http://www.openstream.ch/blog/openstream-blog-migriert-von-blogger-auf-wordpress/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 21:35:55 +0000</pubDate>
		<dc:creator>Nick Weisser</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[saas]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.openstream.ch/?p=81</guid>
		<description><![CDATA[Nach fast 2 1/2 Jahren Blogger haben wir uns dazu entschlossen ab sofort WordPress, eine deutlich flexiblere und sich an Web Standars orientierende Open Source Blog Lösung einzusetzen, obwohl das Indizieren von Google in Echtzeit und die automatischen Upgrades (Stichwort: Software as a Service) ein grosses Plus von Blogger sind.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.openstream.ch/wp-content/uploads/2010/01/wordpress-logo1.png"><img class="size-full wp-image-93 alignleft" title="WordPress" src="http://www.openstream.ch/wp-content/uploads/2010/01/wordpress-logo1.png" alt="WordPress" width="207" height="72" /></a> Nach fast 2 1/2 Jahren Blogger haben wir uns dazu entschlossen ab sofort WordPress, eine deutlich flexiblere und sich an Web Standars orientierende Open Source Blog Lösung einzusetzen, obwohl das Indizieren von Google in Echtzeit und die automatischen Upgrades (Stichwort: Software as a Service) ein grosses Plus von Blogger sind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.openstream.ch/blog/openstream-blog-migriert-von-blogger-auf-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
