<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Petralian Blogs</title>
    <description>Petralian Blogs</description>
    <link>http://petralian.dyndns.org/petralian61/</link>
    <language>en</language>
    <pubDate>Sun, 17 Jan 2010 19:50:42 +0800</pubDate>
    <generator>TYPOlight webCMS</generator>
    <item>
      <title>Design a theme for Magento 1.4</title>
      <description><![CDATA[<p>
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=petralian" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_twitter"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=petralian"></script> </p> <h2>Where do I start?</h2> <p>There are 2 very important directories you need when wanting to create a theme for Magento 1.4</p> <ul class="unIndentedList"> <li>Directory 1: app/design/frontend/<em>&lt;interface name&gt;</em>/<em>&lt;theme name&gt;</em>/</li> <li> Directory 2: skin/frontend/<em>&lt;interface name&gt;</em>/<em>&lt;theme name&gt;</em>/</li> </ul> <p>These directories contain all the files necessary for creating a Magento theme. Directory 1 contains the layout settings and html files of your pages, and directory 2 contains all the styling information (CSS and imag</p> <h2>A helpful theme</h2> <p>I started out with the Magento Blank Interface which is included with Magento 1.4. This is a very basic interface and theme which allows you to start almost from scratch.</p> <p>First start by creating a folder in the "app/design/frontend/" directory with the name of your interface and in there a folder with the name of your theme. Next you do the same thing, but in the "skin/frontend/" directory.</p> <p>&nbsp;</p> <p><img title="tl_files/v5/blog/folders-program.PNG" src="tl_files/v5/blog/folders-program.PNG" alt="tl_files/v5/blog/folders-program.PNG" width="208" height="379" /><img title="tl_files/v5/blog/folders-design.PNG" src="tl_files/v5/blog/folders-design.PNG" alt="tl_files/v5/blog/folders-design.PNG" width="173" height="276" /></p> <p>The easiest way to learn how the blank theme works, is to copy and paste everything from the "skin/frontend/default/blank/" directory into the folder you just created. This makes sure you have some basic styling already, which you can easily adapt to your needs.</p> <p>To start using your new Interface and theme, you must let Magento know to use your adapted "blank" theme as the new default one. This can be done by accessing the Magento admin panel and going to the Design configuration tab (System - Configuration - Design).</p> <p>&nbsp;</p> <p><a class="fancyimg" href="tl_files/v5/blog/design-settings.PNG"><img title="design settings" src="tl_files/v5/blog/design-settings.PNG" alt="design settings" width="463" height="261" /></a></p> <p>Then you need to fill in the Interface name in the "Current package name" field, and the name of your theme (-folder) in the Default field. If everything is working correctly, you should now see your empty theme being used on the Magento front-end.</p> <p><a class="fancyimg" href="tl_files/v5/blog/blank-theme.png"><img title="tl_files/v5/blog/blank-theme.png" src="tl_files/v5/blog/blank-theme.png" alt="tl_files/v5/blog/blank-theme.png" width="463" height="418" /></a></p> <p><em>Note: Do not forget to disable the system cache by going to System -&gt; Cache Management and disabling all the caches. Else the changes won't be reflected in the front end.</em></p> <p><a class="fancyimg" href="tl_files/v5/blog/cache.PNG"><img title="tl_files/v5/blog/cache.PNG" src="tl_files/v5/blog/cache.PNG" alt="tl_files/v5/blog/cache.PNG" width="463" height="255" /></a></p> <h2>Theme Hierarchy</h2> <p>There is a very important thing you need to know of how Magento works: </p> <p>There is a certain hierarchy in the themes. To make sure nothing breaks when a certain file is not available in a theme, Magento automatically falls back to the theme lower in the hierarchy. The base theme (Default) contains all the necessary files and is the final fallback option. This means you can just copy the files you want to change to the new theme folder (with the same folder structure as the original files and folders) while the others can be left as they are.</p> <p>This makes it easier to adjust your theme when there is an update of Magento and it also makes it easy to adjust certain parts of your site, for example if you want a seasonal version of your design. You can just override the files needed with a new theme and leave the others alone.</p>]]></description>
      <link>http://petralian.dyndns.org/petralian61/blogs_reader/items/design-a-theme-for-magento-14.html</link>
      <pubDate>Tue, 09 Feb 2010 15:38:00 +0800</pubDate>
      <guid>http://petralian.dyndns.org/petralian61/blogs_reader/items/design-a-theme-for-magento-14.html</guid>
    </item>
    <item>
      <title>Clean your CSS code</title>
      <description><![CDATA[<p>
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=petralian" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_twitter"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=petralian"></script> </p> <p>I often browse the web looking for new goodies and tools to make my life as a designer / programmer easier and more productive. </p> <p>Yesterday I was looking for a program to clean, style and compress CSS code because it happens more as one person works on one CSS sheet. Also compressing bigger CSS files are a good thing as it speeds up loading the website.</p> <p>I found CSStidy, a small online smart php written program that takes your CSS code and does exacly what needs to be done with it. CSStidy has several useful options on it like regrouping selectors or sorting attributes and properties but I would advice you to keep a backup of the old CSS file before blindly using it and overwriting the old file. I liked it so much I decided to host it here on the Petralian server.</p> <p>You can access CSStidy 1.3 here: <a href="csstidy">http://www.petralian.com/csstidy</a>, and for the original project please go here:&nbsp; <a href="http://csstidy.sourceforge.net/index.php">http://csstidy.sourceforge.net/index.php</a>.</p>]]></description>
      <link>http://petralian.dyndns.org/petralian61/blogs_reader/items/clean-your-css-code.html</link>
      <pubDate>Thu, 14 Jan 2010 15:38:00 +0800</pubDate>
      <guid>http://petralian.dyndns.org/petralian61/blogs_reader/items/clean-your-css-code.html</guid>
    </item>
    <item>
      <title>SEO Basics</title>
      <description><![CDATA[<h2><img style="border-bottom: 1px solid #d1d1d1;" title="tl_files/v5/news/h_writeforweb.jpg" src="tl_files/v5/news/h_writeforweb.jpg" alt="tl_files/v5/news/h_writeforweb.jpg" width="518" height="270" /></h2> <p> 
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=petralian" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_twitter"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=petralian"></script> </p> <h2>What is SEO?</h2> <p>Search Engine Optimization or SEO is the technique that improves the amount of traffic your website generates. The more people visit your webisite (and return on a frequent basis), the more your monthly website traffic volume goes up and the better you rank on Google and other search engines. There are many approaches to improving the ranking of your website, un-paid (natural, organic or algorithmic) and paid SEO are the most typical advertised SEO techniques. <br /><br />While un-paid SEO for some niche businesses does the trick in gaining good web ranking, the paid SEO is usually the best option for companies that are entering a well established market or want to gain the edge over their competitors. There are many companies claiming to guarantee you the first page of Google, even if you are having a small flash website that is totally not optimized and good for the web...</p> <p>The first rule of SEO is to try and understand the way search engines work and using this knowlegde to build a website that is structured according to those rules. While it seems like a very simple job, creating an SEO optimized site is not all that easy, following the hierarchy of html tags and using them where they should be used, employing relevant keywords and adding / editing the website in a manner that keeps in line with the keywords you gave it requires skill, on top of that... you have to remember <a href="news-reader/items/article-writing-for-the-web.html" target="_self">surfers do not read but scan web pages</a>!</p> <h2><img title="White Hat SEO" src="tl_files/v5/news/whitehat.jpg" alt="White Hat SEO" width="30" height="30" /> White Hat SEO</h2> <p>White hat SEO is what you should be aiming for... SEO friendly source code is the biggest contributor to good ranking. Menus, titles, image alts, the use of keywords in internet optimized webtext contribute to search engine spiders being able to find what they need. It is also always a good thing to back the web site with an extra dose of white hat SEO like inbound links, frequent relevant site updates, and perhaps even reciprocal linking, the latter will need budget most of the times.</p> <h2><img title="Black Hat SEO" src="tl_files/v5/news/blackhat.jpg" alt="Black Hat SEO" width="30" height="30" /> Black Hat SEO</h2> <p>White hat's evil brother is black hat SEO... While keyword stuffing, link farms, article spinning and spam indexing might get you a good rank in days, there are rarely cases that get away with it, black hat SEO will get you banned from search engines and once banned you can forget about a good ranking. Besides getting banned those techniques actually degrade the relevance of your seach results and the user experience so much that your site gives a cheap and broken impression to your customers.</p> <p>In conclusion...<br /><br />1. Watch out when SEO company X explains to you they can get your company ranked #1 on Google or Baidu in less as a month and inquire about what methods that company is using. <br />2. You can contact Petralian for SEO related services, we can take on your SEO proposal or forward you to our trusted SEO partner depending on your project size.</p> <h2><br /><img title="Links" src="tl_files/v5/news/th_links.gif" alt="Links" width="73" height="27" /><br /></h2> <p><a onclick="window.open(this.href); return false;" href="http://en.wikipedia.org/wiki/Search_engine_optimization">Wikipedia on SEO</a><br /><a onclick="window.open(this.href); return false;" href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=35291">Google on SEO<br /></a><a onclick="window.open(this.href); return false;" href="http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf">Google SEO Starters Guide</a> (PDF)</p>]]></description>
      <link>http://petralian.dyndns.org/petralian61/blogs_reader/items/seo-basics.html</link>
      <pubDate>Sat, 14 Nov 2009 14:48:00 +0800</pubDate>
      <guid>http://petralian.dyndns.org/petralian61/blogs_reader/items/seo-basics.html</guid>
    </item>
    <item>
      <title>Writing for the web</title>
      <description><![CDATA[<h2><img style="border-bottom: 1px solid #d1d1d1;" title="tl_files/v5/news/h_writeforweb.jpg" src="tl_files/v5/news/h_writeforweb.jpg" alt="tl_files/v5/news/h_writeforweb.jpg" width="518" height="270" /></h2> <p> 
<div class="addthis_toolbox addthis_default_style">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=petralian" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_twitter"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=petralian"></script> </p> <h2>Users "Scan" Pages</h2> <p>Users spend ~ 4.4 seconds for every extra 100 words on a page, knowing this it is obvious that online writing requires a totally different approach as offline writing.<br /><br />A dated article from <a href="http://www.useit.com/jakob/">Jakob Nielsen</a> in 1997 explains that web users in general do not read but scan web pages. If one thing is more true that is that now (over 10 years later) a lot of websites still make the same mistake of having too much text without usable content. Not only do users scan web pages but news letters and forums share the same ill fate (<a href="http://www.useit.com/alertbox/newsletters.html">if not worse</a>).</p> <h2>How to Write?<br /></h2> <p> Web pages have to exist out of <strong>scannable text</strong>...</p> <ul> <li>Highlighted <strong>keywords</strong> (different color, hypertext links, typeface or even font family variations) </li> <li>Meaningful <strong>sub-headings</strong> </li> <li>Bulleted <strong>lists </strong>(like the one you are reading now)</li> <li><strong>One idea</strong> per paragraph (users will skip over any additional ideas if the first words in a paragraph are not catching) </li> <li><strong>Half the word count</strong> (or less) than conventional writing </li> <li>The inverted pyramid style, starting with the conclusion</li> </ul> <p> <br /><strong>Inverted pyramid style:</strong><br /><br /><img style="float: left;" title="tl_files/v5/news/pyramid.gif" src="tl_files/v5/news/pyramid.gif" alt="tl_files/v5/news/pyramid.gif" />&nbsp;&nbsp;&nbsp; 1: Conclusion <br /><br />&nbsp;&nbsp;&nbsp; 2: Supportive article<br /><br />&nbsp;&nbsp;&nbsp; 3: Background</p> <p> <strong>Creditibility </strong>is another important aspect, because it is unclear where the information comes from you can increase your creditibilty with high quality graphics, good writing and most of all... <a href="http://www.useit.com/papers/webwriting/">relevant outbound links</a>. Links to other sites often testify that the author is not afraid to show his sources.</p> <p>Surfers <strong>hate </strong>promotional writing style with boastful subjective claims like: hottest ever. Your credibility suffers when users clearly see that the site exaggerates.</p> <h2>F for Fast!<br /></h2> <p><a href="http://www.useit.com/alertbox/reading_pattern.html">Eye tracking studies</a> also showed users scan the content for keywords of interest. This study shows the importance of following the guidelines for writing for the web! Some reminders: </p> <ul> <li><strong>Users won't read your text thoroughly</strong>. They only scan for what is important so use keywords and highlight them!</li> <li><strong>The first two paragraphs must state the most important information</strong>. Use the inverted pyramid!</li> <li><strong>Start subheads, paragraphs, and bullet points with information-carrying words</strong> The first two workds count, the rest is only to back up the first</li> </ul> <h2><br /><img title="Links" src="tl_files/v5/news/th_links.gif" alt="Links" width="73" height="27" /><br /></h2> <p> <a onclick="window.open(this.href); return false;" href="http://www.sun.com/980713/webwriting/">Writing for the web</a><br /><a onclick="window.open(this.href); return false;" href="http://www.useit.com/alertbox/">Alertbox</a><br /><a onclick="window.open(this.href); return false;" href="http://webdesign.about.com/od/writing/a/aa061598.htm">About.com Writing for the Web</a></p> <p> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> </p>]]></description>
      <link>http://petralian.dyndns.org/petralian61/blogs_reader/items/writing-for-the-web.html</link>
      <pubDate>Sun, 03 May 2009 13:17:00 +0800</pubDate>
      <guid>http://petralian.dyndns.org/petralian61/blogs_reader/items/writing-for-the-web.html</guid>
    </item>
  </channel>
</rss>