<?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>labs &#187; Wordpress</title>
	<atom:link href="http://earthpeople.se/labs/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://earthpeople.se/labs</link>
	<description>earth people labs</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:41:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha</generator>
		<item>
		<title>Hashimage WordPress plugin updated</title>
		<link>http://earthpeople.se/labs/2012/01/hashimage-wordpress-plugin-updated/</link>
		<comments>http://earthpeople.se/labs/2012/01/hashimage-wordpress-plugin-updated/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 08:54:50 +0000</pubDate>
		<dc:creator>Mattias Hedman</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[hashimage]]></category>
		<category><![CDATA[hashtag]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wp plugin]]></category>
		<category><![CDATA[wp-admin]]></category>

		<guid isPermaLink="false">http://earthpeople.se/labs/?p=321</guid>
		<description><![CDATA[During summer last year we published a dirty site for displaying images from a certain Twitter hashtag. In august the same year we got the question to make it a WordPress plugin. Said and done, we made a plugin a few hours later. Now, it&#8217;s updated with some new features and released at WordPress plugin [...]]]></description>
			<content:encoded><![CDATA[<p>During summer last year we published a <a href="http://hashimage.com/">dirty site for displaying images from a certain Twitter hashtag</a>. In august the same year we got the question to make it a WordPress plugin. <a title="WordPress plugin for fetching hashtag images" href="http://earthpeople.se/labs/2011/07/wordpress-plugin-for-fetching-hashtag-images/" target="_blank">Said and done, we made a plugin a few hours later</a>. Now, it&#8217;s updated with some new features and released at <a href="http://wordpress.org/extend/plugins/ep-hashimage/" target="_blank">WordPress plugin directory</a>.</p>
<p>The news in the code are:</p>
<ul>
<li>Shortcode for easy use directly in your post or page content.</li>
<li>Timthumb resizing, so you don&#8217;t have to load large images every time.</li>
<li>Displaying clicked images in a lightbox with Slimbox 2.</li>
<li>Admin settings page for thumbnails and lightbox image sizes.</li>
</ul>
<p>We hope you enjoy this plugin.</p>
<fb:like 
		href="http://earthpeople.se/labs/2012/01/hashimage-wordpress-plugin-updated/" 
		layout="standard" 
		show_faces="false" 
		width="450" 
		
		action="like" 
		colorscheme="light" 
		style="margin-top:5px;"
		class="fb_edge_widget_with_comment fb_iframe_widget"></fb:like>]]></content:encoded>
			<wfw:commentRss>http://earthpeople.se/labs/2012/01/hashimage-wordpress-plugin-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EP Social Widget &#8211; Tiny social widget for wordpress</title>
		<link>http://earthpeople.se/labs/2012/01/ep-social-widget-tiny-social-widget-for-wordpress/</link>
		<comments>http://earthpeople.se/labs/2012/01/ep-social-widget-tiny-social-widget-for-wordpress/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 12:29:17 +0000</pubDate>
		<dc:creator>Mattias Hedman</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wp plugin]]></category>
		<category><![CDATA[wp widget]]></category>

		<guid isPermaLink="false">http://earthpeople.se/labs/?p=310</guid>
		<description><![CDATA[When started, it is so much easier to continue. Today we have released our very tiny social wordpress widget. It is simple, this plugin will add and widget on your site in witch you can choose to display a RSS, Twitter, Facebook or Flickr icon, linked to you profiles or thoes sites and your sites [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://earthpeople.se/labs/wp-content/uploads/2012/01/screenshot-1.png"><img class="size-full wp-image-311 alignright" title="screenshot-1" src="http://earthpeople.se/labs/wp-content/uploads/2012/01/screenshot-1.png" alt="" width="264" height="73" /></a></p>
<p>When started, it is so much easier to continue. Today we have released our very tiny social wordpress widget. It is simple, this plugin will add and widget on your site in witch you can choose to display a RSS, Twitter, Facebook or Flickr icon, linked to you profiles or thoes sites and your sites RSS feed.</p>
<p>More information at the <a href="http://wordpress.org/extend/plugins/ep-social-widget/" target="_blank">WordPress plugin directory</a>.</p>
<p><strong>Update Jan 13: </strong>Added Google Plus<br />
<strong>Updated Jan 30: </strong>Added Youtube &amp; rewriten CSS</p>
<fb:like 
		href="http://earthpeople.se/labs/2012/01/ep-social-widget-tiny-social-widget-for-wordpress/" 
		layout="standard" 
		show_faces="false" 
		width="450" 
		
		action="like" 
		colorscheme="light" 
		style="margin-top:5px;"
		class="fb_edge_widget_with_comment fb_iframe_widget"></fb:like>]]></content:encoded>
			<wfw:commentRss>http://earthpeople.se/labs/2012/01/ep-social-widget-tiny-social-widget-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Our first released WP plugin &#8211; EP Comments Export</title>
		<link>http://earthpeople.se/labs/2012/01/our-first-released-wp-plugin-ep-comments-export/</link>
		<comments>http://earthpeople.se/labs/2012/01/our-first-released-wp-plugin-ep-comments-export/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 09:46:17 +0000</pubDate>
		<dc:creator>Mattias Hedman</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[export comments]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress.org]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wp plugin]]></category>

		<guid isPermaLink="false">http://earthpeople.se/labs/?p=302</guid>
		<description><![CDATA[WordPress is a system we have been using a lot , since years back. Today, for the first time, we release a plugin to the WordPress plugin directory. The plugin, with the name EP Comments Export, lets you easily export all comments and comment meta data from a specific post, page or custom post type. [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress is a system we have been using a lot , since years back. Today, for the first time, we release a plugin to the WordPress plugin directory.</p>
<p>The plugin, with the name EP Comments Export, lets you easily export all comments and comment meta data from a specific post, page or custom post type. The export will be saved as a .csv file for you to download. To download the .csv file, just click the new icon added in the all posts/page list.</p>
<p>Today you can only export comments. There are plans on making it possible to import an exported .csv file to a post.</p>
<p>You find more information and the plugin at <a href="http://wordpress.org/extend/plugins/ep-comments-export/" target="_blank">wordpress.org plugin directory</a>.</p>
<fb:like 
		href="http://earthpeople.se/labs/2012/01/our-first-released-wp-plugin-ep-comments-export/" 
		layout="standard" 
		show_faces="false" 
		width="450" 
		
		action="like" 
		colorscheme="light" 
		style="margin-top:5px;"
		class="fb_edge_widget_with_comment fb_iframe_widget"></fb:like>]]></content:encoded>
			<wfw:commentRss>http://earthpeople.se/labs/2012/01/our-first-released-wp-plugin-ep-comments-export/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress plugin for fetching hashtag images</title>
		<link>http://earthpeople.se/labs/2011/07/wordpress-plugin-for-fetching-hashtag-images/</link>
		<comments>http://earthpeople.se/labs/2011/07/wordpress-plugin-for-fetching-hashtag-images/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 22:54:27 +0000</pubDate>
		<dc:creator>peder fjällström</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[hashtag]]></category>
		<category><![CDATA[instagram]]></category>
		<category><![CDATA[plixi]]></category>
		<category><![CDATA[twitpic]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wp plugin]]></category>

		<guid isPermaLink="false">http://earthpeople.se/labs/?p=255</guid>
		<description><![CDATA[Some time ago i made a quick and dirty site for displaying images from a certain Twitter hashtag. Some hours ago i was asked to tweak this into a WordPress plugin, and here we go. This is just tested on my environment, but should be alright on any WordPress 3+ installation on PHP5 with libcurl. [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago i made a quick and <a href="http://hashimage.com">dirty site for displaying images from a certain Twitter hashtag</a>. Some hours ago i was asked to tweak this into a WordPress plugin, and here we go. This is just tested on my environment, but should be alright on any WordPress 3+ installation on PHP5 with libcurl.</p>
<p>It currently works with twitpic, instagram, yfrog, plixi, flickr. Adding more services is quite easy and can be done on request. URL&#8217;s are being curled and cached for 10-12 minutes using the built-in WP_Cache.</p>
<p>The plugin, when enabled, exposes a template tag which you can add to your theme:</p>
<pre>&lt;?php
if(function_exists('hashimage')){
 echo '&lt;ul&gt;';
 echo hashimage('hashtag=unicorn&amp;limit=5');
 echo '&lt;/ul&gt;';
}
?&gt;</pre>
<p>I can&#8217;t be bothered add this to the official WordPress repo, but please download it (or fork it!):<br />
<a href="https://github.com/EarthPeople/Hashimage-WP">https://github.com/EarthPeople/Hashimage-WP</a></p>
<p>Some notes:<br />
- The Twitter API only returns the latest results when searching on hashtag, so the result set is limited due to this.<br />
- CSS is up to you. Really. I can&#8217;t do CSS. It&#8217;s magic to me.</p>
<fb:like 
		href="http://earthpeople.se/labs/2011/07/wordpress-plugin-for-fetching-hashtag-images/" 
		layout="standard" 
		show_faces="false" 
		width="450" 
		
		action="like" 
		colorscheme="light" 
		style="margin-top:5px;"
		class="fb_edge_widget_with_comment fb_iframe_widget"></fb:like>]]></content:encoded>
			<wfw:commentRss>http://earthpeople.se/labs/2011/07/wordpress-plugin-for-fetching-hashtag-images/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>setting up a wp dev environment on a live site</title>
		<link>http://earthpeople.se/labs/2010/05/setting-up-a-wp-dev-environment-on-a-live-site/</link>
		<comments>http://earthpeople.se/labs/2010/05/setting-up-a-wp-dev-environment-on-a-live-site/#comments</comments>
		<pubDate>Fri, 07 May 2010 14:42:04 +0000</pubDate>
		<dc:creator>peder fjällström</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://earthpeople.se/labs/?p=134</guid>
		<description><![CDATA[developing a wordpress site on the domain it eventually will live on has plenty of advantages (and ok, a few obvious disadvantages not covered in this post&#8230;). no need to fiddle around in the db looking for hardcoded urls to the development domain name and when it&#8217;s time to launch &#8211; you don&#8217;t need to [...]]]></description>
			<content:encoded><![CDATA[<p>developing a wordpress site on the domain it eventually will live on has plenty of advantages (and ok, a few obvious disadvantages not covered in this post&#8230;). no need to fiddle around in the db looking for hardcoded urls to the development domain name and when it&#8217;s time to launch &#8211; you don&#8217;t need to bother with db export/imports and stuff.</p>
<p>but &#8211; how to do this when there&#8217;s already an existing site live on this domain? actually it&#8217;s accomplished pretty easily.</p>
<p>make a folder on your live site, call it something like &#8220;dev&#8221;, put this into the index.php file within this folder:</p>
<pre>if(isset($_GET["mode"])&amp;&amp;$_GET["mode"]=="dev"){
	setcookie("dev","true", time()+3600*24*7, "/");
	header("Location: /dev");
}else if(isset($_GET["mode"])&amp;&amp;$_GET["mode"]=="live"){
	setcookie("dev", "", time()-1000, "/");
	header("Location: /dev");
}
if(isset($_COOKIE["dev"])){
	echo "DEVELOPMENT MODE IN YOUR BROWSER: ON | <a href="?mode=live">SWITCH</a>";
}else{
	echo "DEVELOPMENT MODE IN YOUR BROWSER: OFF | <a href="?mode=dev">SWITCH</a>";
}
</pre>
<p>when a user enters /dev on your live site and clicks ON, a cookie will be set. this cookie can then be checked for, and the server can make a decision wether to show the old site or the development site.</p>
<p>next upload wordpress the usual way to the docroot of the site, and install. make sure you don&#8217;t overwrite any existing files on the server when uploading.</p>
<p>lastly &#8211; let&#8217;s make that cookie work for us. open the file wp-blog-header.php, located in the docroot, and replace the contents with this:</p>
<pre>if(isset($_COOKIE["dev"])){ # does the user have the dev cookie?
	if ( !isset($wp_did_header) ) {
		$wp_did_header = true;
		require_once( dirname(__FILE__) . '/wp-load.php' );
		wp();
		require_once( ABSPATH . WPINC . '/template-loader.php' );
	}
}else{
	header("Location: currentindex.htm"); # no? then show the current page
}
</pre>
<p>one word of warning though &#8211; do not run wordpress auto update while developing the site this way. doing so will remove the cookie-check in wp-blog-header.php and exposing your development site to the world. should you need to run the automatic update, remember to make the changes to wp-blog-header.php again.</p>
<p>when you&#8217;re ready to go live with your shiny new wordpress site &#8211; just remove the cookie check from wp-blog-header.php and let the world in. that&#8217;s it folks!</p>
<fb:like 
		href="http://earthpeople.se/labs/2010/05/setting-up-a-wp-dev-environment-on-a-live-site/" 
		layout="standard" 
		show_faces="false" 
		width="450" 
		
		action="like" 
		colorscheme="light" 
		style="margin-top:5px;"
		class="fb_edge_widget_with_comment fb_iframe_widget"></fb:like>]]></content:encoded>
			<wfw:commentRss>http://earthpeople.se/labs/2010/05/setting-up-a-wp-dev-environment-on-a-live-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

