<?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>iGlauser</title> <atom:link href="http://iglauser.com/feed/" rel="self" type="application/rss+xml" /><link>http://iglauser.com</link> <description>Enhancing the Web</description> <lastBuildDate>Wed, 09 Jun 2010 09:53:08 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Wordpress Theme Release Checklist</title><link>http://iglauser.com/2010/05/wordpress-theme-release-checklist/</link> <comments>http://iglauser.com/2010/05/wordpress-theme-release-checklist/#comments</comments> <pubDate>Mon, 24 May 2010 17:09:02 +0000</pubDate> <dc:creator>Ivan</dc:creator> <category><![CDATA[Wordpress]]></category><guid isPermaLink="false">http://iglauser.com/?p=397</guid> <description><![CDATA[When developing a new Wordpress theme for a site there are a number of things to check before the theme is released. Naturally, all the things in the list are not mandatory for every site. For example, if a theme is created for a specific customer that has no need for comments, such a thing [...]]]></description> <content:encoded><![CDATA[<p>When developing a new Wordpress theme for a site there are a number of things to check before the theme is released. Naturally, all the things in the list are not mandatory for every site. For example, if a theme is created for a specific customer that has no need for comments, such a thing is not necessary to include. It is however good to have a personal list that you quickly can read through and verify that you haven&#8217;t forgotten any crucial part. Here is my personal list that I use.</p><ul><li>Validate with W3C standards. Make sure all templates and parts of the site are validated.</li><li>Test the site on hand-held devices, like for example the iPhone and Android-based phones.</li><li>Make sure the header has all it should, including correct doctype above it, RSS feed, etc. Also remove the bloginfo(&#8216;version&#8217;) part.</li><li>Make sure wp_head() and wp_footer() are called properly.</li><li>Set content width in functions.php.</li><li>Include a readme.txt and theme information with up-to-date information.</li><li>Does the theme have a screenshot.jpg?</li><li>Information about help and support on the dashboard.</li><li>Proper 404 handling.</li><li>Is the_excerpt() and the_content() used correctly?</li><li>Does previous/next posts work as the should?</li><li>Does attachments display as they should? Leftalign, rightalign and aligncenter for images.</li><li>Style for block quotes, tables, ordered and unordered lists, headings 1 to 6, etc.</li><li>Remove unused files, images and resources from the theme folder.</li><li>Check that widgets are functioning as they should in the widget areas.</li><li>Are RSS and Atom feeds set up correctly?</li><li>Edit links for posts and pages on the front-end?</li><li>Custom logo to the Wordpress back-end?</li><li>Support for Gravatars?</li><li>If comments are used, make sure there are support for threaded comments down to at-least five levels.</li><li>Does the theme support localization?</li><li>Does the theme work with all plugins deactivated? Should it work with all plugins deactivated?</li><li>Search functionality?</li><li>Image galleries?</li><li>Are dates displayed correctly?</li><li>Should there be any theme customization (option pages) available?</li></ul><p>This list is in no way final or complete and I will probably extended and change it as I go on and continue building sites. It is however a good reference point for me to go back to each time I am about to release a new theme or site based on Wordpress.</p> ]]></content:encoded> <wfw:commentRss>http://iglauser.com/2010/05/wordpress-theme-release-checklist/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HTML5 Video Instead of Flash Splash Screen</title><link>http://iglauser.com/2010/05/html5-video-instead-of-flash-splash-screen/</link> <comments>http://iglauser.com/2010/05/html5-video-instead-of-flash-splash-screen/#comments</comments> <pubDate>Tue, 18 May 2010 21:11:58 +0000</pubDate> <dc:creator>Ivan</dc:creator> <category><![CDATA[HTML5]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[fallback]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[splash screen]]></category> <category><![CDATA[video]]></category><guid isPermaLink="false">http://iglauser.com/?p=476</guid> <description><![CDATA[I had a client that absolutely wanted a Flash splash screen on his site. What I normally do is try to explain all the drawbacks of such a solution and try to convince them not to use a Flash splash screen and instead put a movie in the content of the first page so that [...]]]></description> <content:encoded><![CDATA[<p>I had a client that absolutely wanted a Flash splash screen on his site. What I normally do is try to explain all the drawbacks of such a solution and try to convince them not to use a Flash splash screen and instead put a movie in the content of the first page so that the visitor still easily can see and navigate to other parts of the site without having to get irritated on an annoying Flash movie. If you do not know what I mean when I refer to annoying splash screen movie you can just search the web for the words <a href="http://www.google.com/search?q=Flash+splash+screen+pros+cons">Flash and splash screen</a> and you will find many articles on the subject.</p><p>As I sat down and analyzed the problem I played with the thought of creating a HTML5 based splash screen without having to use Flash. I wanted the movie to automatically play in full screen. I also wanted the user to easily continue on to the main page by clicking anywhere inside the browser presentation area. Since I am a big fan of Wordpress I also wanted to see if there was an easy way to implement this solution on a Wordpress site.</p><p>I started of searching the web for HTML5 video solutions with Flash fallbacks and found <a href="http://camendesign.com/code/video_for_everybody">this site</a>. I followed the example there and tested it out in different browsers on Windows. It showed that all but IE8 and Safari worked fine. Safari (v. 4.0.5) played the movie extremely slow for some reason and IE8 showed the Flash movie instead since it do not support HTML5 video tags.</p><p>I experimented a little and combined the <a href="http://wordpress.org/extend/plugins/splashscreen/">splashscreen plugin</a> for Wordpress, some HTML5 from the<a href="http://camendesign.com/code/video_for_everybody"> video for everybody </a>example and some Javascript for <a href="http://diveintohtml5.org/detect.html">detecting if the browser support HTML5</a>.</p><pre class="brush: xml;">

&lt;body bgcolor=&quot;#000000&quot;&gt;

&lt;a onclick=&quot;setsplash()&quot; href=&quot;&quot;&gt;

&lt;video width=&quot;100%&quot; height=&quot;100%&quot; autobuffer autoplay loop style=&quot;position: absolute; top: 0px; left: 0px;&quot;&gt;

&lt;source src=&quot;/media/myvideo.mp4&quot; type=&quot;video/mp4&quot;&gt;&lt;/source&gt;
&lt;source src=&quot;/media/myvideo.ogg&quot; type=&quot;video/ogg&quot;&gt;&lt;/source&gt;

 &lt;script type=&quot;text/javascript&quot;&gt;
 function supports_video() {
 return !!document.createElement('video').canPlayType;
 }
 &lt;/script&gt;

 &lt;script type=&quot;text/javascript&quot;&gt;
 if (!supports_video()) { setsplash(); window.location.reload(); }
 &lt;/script&gt;

&lt;/video&gt;

&lt;/a&gt;

&lt;/body&gt;
</pre><p>The video tag has its width and height set to 100% to fill the browser screen. The in-line style is not what I recommend but added there just for laziness and to reduce the code in this post. It should be put in a CSS style sheet.</p><p>Note that this solution is not something that I recommend since I generally is against splash screens.</p> ]]></content:encoded> <wfw:commentRss>http://iglauser.com/2010/05/html5-video-instead-of-flash-splash-screen/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Power of cURL</title><link>http://iglauser.com/2009/05/power-of-curl/</link> <comments>http://iglauser.com/2009/05/power-of-curl/#comments</comments> <pubDate>Thu, 07 May 2009 20:21:23 +0000</pubDate> <dc:creator>Ivan</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[cURL]]></category> <category><![CDATA[install]]></category> <category><![CDATA[manual]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[XAMPP]]></category><guid isPermaLink="false">http://www.iglauser.com/?p=221</guid> <description><![CDATA[cURL is a powerful and easy to use tool for transfering data using URL syntax. If you are into web developing and you haven&#8217;t heard of it until now, I think that you at least should try it out to see what it can do. Here are some easy-to-follow steps to download, install and run [...]]]></description> <content:encoded><![CDATA[<p><img class="size-full wp-image-236 alignright" title="cURLicon" src="http://www.iglauser.com/wp-content/uploads/2009/05/ds-curlicon.png" alt="cURLicon" width="99" height="37" /><a href="http://curl.haxx.se/">cURL</a> is a powerful and easy to use tool for <a href="http://en.wikipedia.org/wiki/CURL">transfering data using URL syntax</a>. If you are into web developing and you haven&#8217;t heard of it until now, I think that you at least should try it out to see what it can do. Here are some easy-to-follow steps to download, install and run cURL.</p><p>First of all you have to download cURL. This can be done <a href="http://curl.haxx.se/download.html">here</a>. I recommend Windows users to download the binary files with SSL disabled. Instructions for installing cURL in other environments can be found in the <a href="http://curl.haxx.se/docs/">cURL documentation</a>. To install on Windows, copy the file curl.exe to you Windows System32 folder and open the command prompt. How to do this can be found <a href="http://en.wikipedia.org/wiki/Command_Prompt">here</a>. Now write <code>curl</code> in the command prompt and hit Return. You should get a response similar to this:</p><pre class="brush: plain;">curl: try 'curl --help' or 'curl --manual' for more information</pre><p>This means that you have installed it correctly and that the command prompt can find cURL. Now type <code>curl</code> followed by the URL to your favorite web page, e.g. <code>curl http://www.iglauser.com</code> and see what happens.</p><p>If you like me, is using a lot of PHP when developing sites, you can find useful information of how to control cURL through PHP in the <a href="http://se2.php.net/curl">PHP: cURL Manual</a>.</p><p>If you are running a <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> server, cURL is by default disabled. To activate cURL for your XAMPP server follow these steps:</p><p>1. Go to the XAMPP directory of your server<br /> 2. Open bin directory in the Apache folder<br /> 3. Open the php.ini file with a text editor<br /> 4. Search for the text “;extension=php_curl.dll” and remove the semicolon (;) from the text<br /> 5. Save the changes to the php.ini file<br /> 6. Restart your apache server</p><p>Good luck cURL&#8217;ing!</p> ]]></content:encoded> <wfw:commentRss>http://iglauser.com/2009/05/power-of-curl/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS Reset</title><link>http://iglauser.com/2008/10/reset-in-css/</link> <comments>http://iglauser.com/2008/10/reset-in-css/#comments</comments> <pubDate>Thu, 16 Oct 2008 19:03:44 +0000</pubDate> <dc:creator>admin</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Eric Meyer]]></category> <category><![CDATA[reset]]></category> <category><![CDATA[Smashing Magazine]]></category> <category><![CDATA[YUI 2]]></category><guid isPermaLink="false">http://www.iglauser.com/?p=16</guid> <description><![CDATA[Different browsers have different presentation default for CSS styles. This includes different top and bottom margins for headers, indentation, indent strategies for unordered lists, default line height, and much more. To spend less time struggling with browser default presentation differences, most CSS style sheets and CSS frameworks has a CSS reset included in them. There are [...]]]></description> <content:encoded><![CDATA[<p>Different browsers have different presentation default for CSS styles. This includes different top and bottom margins for headers, indentation, indent strategies for unordered lists, default line height, and much more. To spend less time struggling with browser default presentation differences, most CSS style sheets and CSS frameworks has a CSS reset included in them.</p><p>There are plenty of CSS reset examples out there. A simple one such as the following resets the margins for a bunch of elements. Put it at the top of your CSS file and it will do just fine for most occasions.</p><pre class="brush: css;">html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td {
  margin: 0; padding: 0;
}</pre><p>If you want a more complete CSS reset I can recommend the <a href="http://developer.yahoo.com/yui/reset/">YUI 2: Reset CSS</a>.</p><pre class="brush: css;">body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  margin:0;
  padding:0;
}
table {
  border-collapse:collapse;
  border-spacing:0;
}
fieldset, img {
  border:0;
}
address, caption, cite, code, dfn, em, strong, th, var {
  font-style:normal;
  font-weight:normal;
}
ol, ul {
  list-style:none;
}
caption, th {
  text-align:left;
}
h1, h2, h3, h4, h5, h6 {
  font-size:100%;
  font-weight:normal;
}
q:before, q:after {
  content:'';
}
abbr, acronym {
  border:0;
}</pre><p>If you want to put the reset in a separate file, give the file a name, e.g. reset.css and add the following to your header:</p><pre class="brush: xml;">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://yourdomain.com/locationofprojectscssfiles/reset.css&quot;&gt;</pre><p>The downside of having the CSS reset in a separate file is that you will get an extra HTTP request for retrieving the file. The upside on the other hand is that you can easily share the same CSS reset code between different projects. Just remember to include the line above in the header in such case.</p> ]]></content:encoded> <wfw:commentRss>http://iglauser.com/2008/10/reset-in-css/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 7/12 queries in 0.019 seconds using disk

Served from: iglauser.com @ 2010-07-30 04:24:35 -->