<?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>solemone design&#039;art &#187; Free Stuff</title>
	<atom:link href="http://solemone.de/free-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://solemone.de</link>
	<description>Design Inspiration Blog of solemone</description>
	<lastBuildDate>Sun, 13 May 2012 12:00:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>List your Behance Feed in WordPress without a Plugin</title>
		<link>http://solemone.de/webdesign/list-your-behance-feed-in-wordpress-without-a-plugin/</link>
		<comments>http://solemone.de/webdesign/list-your-behance-feed-in-wordpress-without-a-plugin/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 13:31:00 +0000</pubDate>
		<dc:creator>solemone</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[behance]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[thumbnail]]></category>

		<guid isPermaLink="false">http://www.solemone.de/?p=817</guid>
		<description><![CDATA[List your Behance feed in WordPress is very similar to list any other feed. You can use the integrated functions from WordPress. The only problem is that the thumbnail images from the Behance feed have no tag for themselves. So we have to get it out of the project &#60;description&#62; XML tag. This happens with [...]]]></description>
			<content:encoded><![CDATA[<p>List your Behance feed in WordPress is very similar to list any other feed. You can use the integrated functions from WordPress. The only problem is that the thumbnail images from the Behance feed have no tag for themselves. So we have to get it out of the project &lt;description&gt; XML tag. This happens with a small function, which grabs the &lt;img&gt; from the description string. Check it out:</p>
<p><span id="more-817"></span>
<pre><code class="language-php brush: php" style="min-width:732px;">&lt;?php
// include feed.php from WordPress to fetch the feed
include_once(ABSPATH.WPINC.&#039;/feed.php&#039;);

// function to get the image out of the description tag in the feed
// http://www.catswhocode.com/blog/10-php-code-snippets-for-working-with-strings
function GetBetween($content,$start,$end){
	$r = explode($start, $content);
	if (isset($r[1])){
		$r = explode($end, $r[1]);
		return $r[0];
	}
	return &#039;&#039;;
}

// put your behance feed in the string http://www.behance.net/YOURFEED.xml
$rss = fetch_feed(&#039;http://www.behance.net/solemone.xml&#039;);

// set the number of items, now there are 6 items
$maxitems = $rss-&gt;get_item_quantity(6);

// get the items
$rss_items = $rss-&gt;get_items(0, $maxitems);
?&gt;

&lt;ul id=&quot;behance&quot;&gt;

&lt;?php
// handle if there is no feed or empty feed
if (!$rss_items) :
	echo &#039;&lt;li&gt;No items.&lt;/li&gt;&#039;;
else :
	// start the loop for the items in feed
	foreach ( $rss_items as $item ) :
?&gt;
	&lt;li&gt;
		&lt;a href=&quot;&lt;?php echo $item-&gt;get_permalink(); ?&gt;&quot; title=&quot;&lt;?php echo $item-&gt;get_title(); ?&gt;&quot;&gt;
		&lt;?php
		// you can also place the title here if you like
		// echo $item-&gt;get_title();

		// here you get the image out of the description tag in the feed
		echo &#039;&lt;img &#039;.GetBetween($item-&gt;get_description(), &#039;&lt;img&#039;, &#039;&gt;&#039;).&#039;&gt;&#039;;
		?&gt;
		&lt;/a&gt;
	&lt;/li&gt;
	&lt;?php endforeach; ?&gt;
&lt;/ul&gt;
&lt;?php endif; ?&gt;
</code></pre>
<p>PS: The images have a embedded style attribute, which you can also delete with a <a href="http://www.catswhocode.com/blog/10-php-code-snippets-for-working-with-strings">PHP String function</a>. Or you give the styles in your stylesheet a !important hack.</p>
]]></content:encoded>
			<wfw:commentRss>http://solemone.de/webdesign/list-your-behance-feed-in-wordpress-without-a-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AS3 fullsize background image with pixel pattern</title>
		<link>http://solemone.de/flash/as3-fullsize-background-image/</link>
		<comments>http://solemone.de/flash/as3-fullsize-background-image/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 18:28:20 +0000</pubDate>
		<dc:creator>solemone</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.solemone.de/?p=705</guid>
		<description><![CDATA[I have written a small class, which you may be interested.  With this class you can create a fullsize background image which fits to the width of the stage. The height of the image is proportional to the width. So it´s good to use an image with a ratio of 4:3 otherwise empty bars can show [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a small class, which you may be interested.  With this class you can create a fullsize background image which fits to the width of the stage. The height of the image is proportional to the width. So it´s good to use an image with a ratio of 4:3 otherwise empty bars can show up.[loadprettifier]</p>
<p>To round it up I create a pixel pattern overlay so the image quality is acceptable by streching it. Known from other sites&#8230;</p>
<p><span id="more-705"></span><a id="downloadbutton" title="download the files" href="http://www.solemone.de/wp-content/uploads/2009/11/as3FullsizeBackgroundImage.zip">Download<span> &#8211; get the source</span></a></p>
<p><a id="previewbutton" title="show a demo" href="http://solemone.de/wp-content/uploads/2009/11/fullsizebackgroundflash/index.html" target="_blank">Demo<span> &#8211; see an example</span></a></p>
<p>So thats the way to do it:</p>
<pre><code class="language-as3 brush: as3" style="min-width:900px;">
// import the class
import com.fullsizeBackgroundImage.fullsizeBackgroundImage;

// create a new object, give the url to the image as string
var backgroundImage:fullsizeBackgroundImage = new fullsizeBackgroundImage("images/background.jpg");

// add the object to stage
stage.addChild(backgroundImage);
</code></pre>
<p>If you have any question about the script feel free to leave a comment <img src='http://solemone.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://solemone.de/flash/as3-fullsize-background-image/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

