<?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>Stroep &#187; wordpress</title> <atom:link href="http://blog.stroep.nl/tag/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://blog.stroep.nl</link> <description>Just a collection of random works - Mark Knol</description> <lastBuildDate>Tue, 10 Jan 2012 20:09:53 +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>Stroep &#8211; New design</title><link>http://blog.stroep.nl/2009/08/new-design/</link> <comments>http://blog.stroep.nl/2009/08/new-design/#comments</comments> <pubDate>Mon, 10 Aug 2009 23:13:40 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Stroep]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[design]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=715</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/stroep-v2-500.jpg" alt="Stroep v2" title="stroep-v2-500" width="500" height="391" class="size-full wp-image-721" /> <br/> Almost 1 year since my first post. I already updated my blog to a newer Wordpress installation. But since my design was getting older, I was tired looking at it. It looks a little bit messy. I think the layout (top nav, left content, right sidebar) interacts nice; so I keep this layout. But the design was a little bit overdone and I was not totally happy and I hacked multiple times layout things to it. More browsers didn't like my site anymore. ]]></description> <content:encoded><![CDATA[<p>Almost 1 year since my first post. I already updated my blog to a newer WordPress installation. But since my design was getting older, I was tired looking at it. It looks a little bit messy. I think the layout (top nav, left content, right sidebar) interacts nice; so I keep this layout. But the design was a little bit overdone and I was not totally happy and I hacked multiple times layout things to it. More browsers didn&#8217;t like my site anymore.</p><div id="attachment_717" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.stroep.nl/wp-content/stroep-v1-500.jpg" alt="Stroep v1" title="stroep-v1-500" width="500" height="393" class="size-full wp-image-717" /><p class="wp-caption-text">Stroep v1</p></div><p><em>I just want stroep.nl has to look better. </em></p><p>Last time I downloaded a theme as basic for my design and edited it. First I felt a little bit ashamed doing this. I am a designer and I can design and build my own theme. But.. I don&#8217;t have the time to reinvent the wheel of creating themes. So I don&#8217;t feel ashamed anymore. I think it&#8217;s smart using good templates as start for creating personal(!) blogs. Oops.. I did it again <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I used this <a href="http://linetech-template-hive.blogspot.com/">Linetech</a> as start for the design. It&#8217;s a great theme. I easily modified it to my stroep-style.<br /> I love the sidebar from my previous design. You can switch between comments/recent post. So I kept this principle. I pimped my tag-cloud too. It has random colors. Don&#8217;t ask me why; I think it just looks cool and I never seen it before too btw. Speaking of random; the header images shows some random art too.</p><div id="attachment_721" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.stroep.nl/wp-content/stroep-v2-500.jpg" alt="Stroep v2" title="stroep-v2-500" width="500" height="391" class="size-full wp-image-721" /><p class="wp-caption-text">Stroep v2</p></div><p>I always wanted a clean dark layout with art in the header. I found some great <a href="http://graphicssoft.about.com/od/photoshopdownloads/ig/Photoshop-Patterns/Wood-Pattern-Textures.htm">wood-patterns</a>. These are great because I really think this patterns make the blog more &#8216;friendly&#8217; in comparison to a noisy background or a solid dark color. I know dark layouts have downsides; It&#8217;s less readable. Well for now I can live with it. The pro of a dark design is it makes art/photography look more beautiful. This blog is mostly about generative art or topics about flash related stuff, so I think its worth giving a dark design a try.</p><p>I also removed 2 advertising-blocks, and just added it 1 to the sidebar. Nobody clicks it anyway. So it doesn&#8217;t have to break my new layout (yet). If someone wants to have a banner on this site (which has something to do with design/art/programming or related things), just <a href="/about/">contact me</a>. I have about 1000 visitors a month.</p><p>My blog looks better (not perfectly the same) in modern browsers. If you use IE6 you get a nice update message. My philosophy is we all need to stop supporting old crappy browsers and notify unlearned or conservative users. I used transparent PNG&#8217;s, rounded corners with CSS, and all without any fix for browsers who doesn&#8217;t support it. For my blog I don&#8217;t care and to be honest I feel forceful not having to support &#8216;them&#8217;.</p><p>Hope you like it! Let me know what you guys think.</p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/08/new-design/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Hyper cache &#8211; cache and compression</title><link>http://blog.stroep.nl/2009/08/cache-and-compression/</link> <comments>http://blog.stroep.nl/2009/08/cache-and-compression/#comments</comments> <pubDate>Mon, 03 Aug 2009 23:22:49 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Other]]></category> <category><![CDATA[cache]]></category> <category><![CDATA[compression]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=696</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/wordpress.jpg" alt="Hyper cache plugin" title="Hyper cache plugin" width="100" height="100" class="alignleft size-full wp-image-576" />I installed the '<a href="http://wordpress.org/extend/plugins/hyper-cache/">Hyper cache</a>'-plugin yesterday. It minifies my output-html and posts are saved as static files on the server and the plugin enables gzip-compression. It automatically clears cache and starts over after one day. I don't like to promote shit, but this plugin rocks! :D]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/wordpress.jpg" alt="Hyper cache plugin" title="Hyper cache plugin" width="100" height="100" class="alignleft size-full wp-image-576" />I installed the &#8216;<a href="http://wordpress.org/extend/plugins/hyper-cache/">Hyper cache</a>&#8216;-plugin yesterday. It minifies my output-html and posts are saved as static files on the server and the plugin enables gzip-compression. It automatically clears cache and starts over after one day. I don&#8217;t like to promote shit, but this plugin rocks! <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p><p><strong>Minifiy html profit</strong></p><table width="300" border=0 cellspacing=1 cellpadding=1><tr><td width="150">Homepage index before:</td><td>45,5 Kb</td></tr><tr><td>Homepage index after:</td><td>44,7 Kb</td></tr><tr><td><strong>Total:</strong></td><td><strong>0.8 Kb</strong></td></tr></table><p>Well, this doesn&#8217;t change the world. But check this out:</p><p><strong>G-zip compression profit</strong><br /> <small></p><table width="300" border=0 cellspacing=1 cellpadding=1><tr><td width="150">Documents (2 files)</td><td>18 KB (49 KB uncompressed)</td></tr><tr><td>Images (44 files)</td><td>124 KB</td></tr><tr><td>Scripts (6 files)</td><td>35 KB (112 KB uncompressed)</td></tr><tr><td>Style Sheets (1 file)</td><td>3 KB (21 KB uncompressed)</small></td></tr><tr><td><strong>Total:</strong></td><td><strong>180 KB (305 KB uncompressed)</strong></td></tr></table><p>Do you see? My content is 305 KB without compression. Now it is served as 180 KB! <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Anyway; G-zip compression is very good if you need to safe bandwidth, but don&#8217;t forget you have some higher server load. I guess it also uses some more CPU at the client side. If you want to learn more about g-zip compression, it is already better explained on <a href="http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/">betterExplained.com</a>.</p><p>Sending compressed data is very interesting. I think the world would be better place if every wordpress-installation has a cache plugin. <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/08/cache-and-compression/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>TinyURL on every WordPress-post</title><link>http://blog.stroep.nl/2009/03/tinyurl-on-every-wordpress-post/</link> <comments>http://blog.stroep.nl/2009/03/tinyurl-on-every-wordpress-post/#comments</comments> <pubDate>Fri, 06 Mar 2009 20:23:51 +0000</pubDate> <dc:creator>Mark Knol</dc:creator> <category><![CDATA[Code snippets]]></category> <category><![CDATA[twitter]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://blog.stroep.nl/?p=453</guid> <description><![CDATA[<img src="http://blog.stroep.nl/wp-content/tinyurl.jpg" alt="" title="tinyurl" width="100" height="100" class="alignleft size-full wp-image-592" />Just a quick but handy tip I've found on <a href="http://www.smashingmagazine.com/2009/03/04/15-useful-twitter-plugins-and-hacks-for-wordpress/">this post</a> from <a href="http://www.smashingmagazine.com">smashing magazine</a>.A lot of people who are using <a href="http://www.twitter.com/">twitter</a>, use <a href="http://tinyurl.com/">tinyURL</a> to create very small links for longer URL's of blogposts or cool links. Its very powerful solution and cost just a little bit time to create, but you can help 'the twittering people' by automatically create the tinyURL-link in your post.'Read more' to find out how you can do this with WordPress. It cost less than 2 minutes too implement :) ]]></description> <content:encoded><![CDATA[<p><img src="http://blog.stroep.nl/wp-content/tinyurl.jpg" alt="" title="tinyurl" width="100" height="100" class="alignleft size-full wp-image-592" />Just a quick but handy tip I&#8217;ve found on <a href="http://www.smashingmagazine.com/2009/03/04/15-useful-twitter-plugins-and-hacks-for-wordpress/">this post</a> from <a href="http://www.smashingmagazine.com">smashing magazine</a>.</p><p>A lot of people who are using <a href="http://www.twitter.com/">twitter</a>, use <a href="http://tinyurl.com/">tinyURL</a> to create very small links for longer URL&#8217;s of blogposts or cool links. Its very powerful solution and cost just a little bit time to create, but you can help &#8216;the twittering people&#8217; by automatically create the tinyURL-link in your post.<br style='clear:both'/>Here’s how you can do this in WordPress. It cost less than 2 minutes too implement <img src='http://blog.stroep.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Just go to <em>design > theme editor > functions.php</em> and add this function</p><div class="bbCSH" style="font-family: monospace;"> <span style="color: #FF0000; font-weight: bold;">function</span> getTinyUrl<span style="color: #000000;">&#40;</span><span style="color: #0000FF;">$url</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> &nbsp;<br /> &nbsp; &nbsp; &nbsp;<span style="color: #0000FF;">$tinyurl</span> = <span style="color: #000066;">file_get_contents</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">&quot;http://tinyurl.com/api-create.php?url=&quot;</span>.<span style="color: #0000FF;">$url</span><span style="color: #000000;">&#41;</span>; &nbsp;<br /> &nbsp; &nbsp; &nbsp;<span style="color: #006600;">return</span> <span style="color: #0000FF;">$tinyurl</span>; &nbsp;<br /> <span style="color: #000000;">&#125;</span><br /> &nbsp;</div><p>Basically you can use this function for every site, but for WordPress it&#8217;s handy to use the permalink to create the URL:</p><p>In the <em>theme editor > single.php</em> you can add this line where ever you want to show the link to the tidyURL.</p><div class="bbCSH" style="font-family: monospace;"><span style="color: #FF0000; font-weight: bold;">&lt;?php</span> &nbsp;<br /> &nbsp;<span style="color: #0000FF;">$turl</span> = getTinyUrl<span style="color: #000000;">&#40;</span>get_permalink<span style="color: #000000;">&#40;</span><span style="color: #0000FF;">$post</span>-&gt;<span style="color: #006600;">ID</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>; &nbsp;<br /> &nbsp;<span style="color: #000066;">echo</span> <span style="color: #ff0000;">&#8216;Tiny URL: &lt;a href=&quot;&#8217;</span>.<span style="color: #0000FF;">$turl</span>.<span style="color: #ff0000;">&#8216;&quot;&gt;&#8217;</span>.<span style="color: #0000FF;">$turl</span>.<span style="color: #ff0000;">&#8216;&lt;/a&gt;&#8217;</span>;<br /> <span style="color: #FF0000; font-weight: bold;">?&gt;</span></div> ]]></content:encoded> <wfw:commentRss>http://blog.stroep.nl/2009/03/tinyurl-on-every-wordpress-post/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
