<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Such AS Blog</title> <link>http://such.as</link> <description>Showfom's English Blog</description> <lastBuildDate>Fri, 09 Sep 2011 10:45:03 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/suchas" /><feedburner:info uri="suchas" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item><title>How To: 2 Ways to Add Colorful Tag Cloud in WordPress</title><link>http://such.as/2-ways-to-add-colorful-tag-cloud-in-wordpress/</link> <comments>http://such.as/2-ways-to-add-colorful-tag-cloud-in-wordpress/#comments</comments> <pubDate>Thu, 17 Jun 2010 19:45:15 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Skills]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Colorful Tag Cloud]]></category> <category><![CDATA[Simple Tags]]></category> <category><![CDATA[Tag Cloud]]></category> <category><![CDATA[WordPress Tips]]></category><guid isPermaLink="false">http://such.as/how-to-2-ways-to-add-colorful-tag-cloud-in-wordpress/</guid> <description><![CDATA[Using the wp_tag_cloud function can add the tag cloud in any of your WordPress pages. It can easily tells readers which topics your blog have. Usually, the Tag Cloud is simple with black or white text links, don’t you think &#8230; <a href="http://such.as/2-ways-to-add-colorful-tag-cloud-in-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Using the <a href="http://codex.wordpress.org/Template_Tags/wp_tag_cloud" target="_blank">wp_tag_cloud</a> function can add the tag cloud in any of your WordPress pages. It can easily tells readers which topics your blog have.</p><p>Usually, the Tag Cloud is simple with black or white text links, don’t you think it is bored with your eyes? Now, let me tell you 2 ways to add colorful tag cloud in your WordPress.</p><p>Here is the screenshot of my Blog:</p><p><a href="http://ki.ki.ki/kiki/2011/09/09/873b2fd05d101a72957232d8f8e84087.png"><img title="How To: 2 Ways to Add Colorful Tag Cloud in WordPress" src="http://ki.ki.ki/kiki/2011/09/09/873b2fd05d101a72957232d8f8e84087.png" border="0" alt="How To: 2 Ways to Add Colorful Tag Cloud in WordPress" width="199" height="157" /></a><br /> <span id="more-7"></span></p><h2>1. Use Simple Tags WordPress Plugin</h2><p>If you install Simple Tags, you can easily add colorful tag cloud in your WordPress blog,</p><p>Just follow these steps:</p><p>Install <a title="Simple Tags" href="http://wordpress.org/extend/plugins/simple-tags/" target="_blank">Simple Tags</a></p><p>Go to Dashboard &gt; Settings &gt; Simple Tags &gt; Tag Cloud</p><p><a href="http://ki.ki.ki/kiki/2011/09/09/8b7e6c49a662e23692601ebd0d7a34dd.png"><img title="How To: 2 Ways to Add Colorful Tag Cloud in WordPress" src="http://ki.ki.ki/kiki/2011/09/09/8b7e6c49a662e23692601ebd0d7a34dd.png" border="0" alt="How To: 2 Ways to Add Colorful Tag Cloud in WordPress" width="640" height="292" /></a></p><p>(You can configure in this page)</p><p>Insert code <code>&lt;?php st_tag_cloud(); ?&gt;</code> in your sidebar.php of your current WordPress theme</p><h2>2. Use simple php code</h2><p>Author: <a href="http://wanwp.com/tips-tricks/howto-make-a-colorful-tag-cloud/">bingu</a></p><p>I don’t like using too many plugins, so I choose this way.</p><p>Edit functions.php of your current WordPress theme, insert these codes:</p><div class="source" style="background-color: #f9f7ed; font-family: &amp;quot;[object HTMLOptionElement]&amp;quot;,&amp;quot;Consolas&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Courier New&amp;quot;; color: #000000;"><span style="color: #0000aa;">function</span> <span style="color: #00aa00;">colorCloud</span>(<span style="color: #aa0000;">$text</span>) <span style="color: #000000;">{</span><br /> <span style="color: #aa0000;">$text</span> <span style="color: #000000;">=</span> <span style="color: #00aaaa;">preg_replace_callback</span>(<span style="color: #aa5500;">'|&lt;a (.+?)&gt;|i'</span><span style="color: #000000;">,</span> <span style="color: #aa5500;">'colorCloudCallback'</span><span style="color: #000000;">,</span> <span style="color: #aa0000;">$text</span>);<br /> <span style="color: #0000aa;">return</span> <span style="color: #aa0000;">$text</span>;<br /> <span style="color: #000000;">}</span><br /> <span style="color: #0000aa;">function</span> <span style="color: #00aa00;">colorCloudCallback</span>(<span style="color: #aa0000;">$matches</span>) <span style="color: #000000;">{</span><br /> <span style="color: #aa0000;">$text</span> <span style="color: #000000;">=</span> <span style="color: #aa0000;">$matches</span><span style="color: #000000;">[</span><span style="color: #009999;">1</span><span style="color: #000000;">];</span><br /> <span style="color: #aa0000;">$color</span> <span style="color: #000000;">=</span> <span style="color: #00aaaa;">dechex</span>(<span style="color: #00aaaa;">rand</span>(<span style="color: #009999;">0</span><span style="color: #000000;">,</span><span style="color: #009999;">16777215</span>));<br /> <span style="color: #aa0000;">$pattern</span> <span style="color: #000000;">=</span> <span style="color: #aa5500;">'/style=(\'|\")(.*)(\'|\")/i'</span>;<br /> <span style="color: #aa0000;">$text</span> <span style="color: #000000;">=</span> <span style="color: #00aaaa;">preg_replace</span>(<span style="color: #aa0000;">$pattern</span><span style="color: #000000;">,</span> <span style="color: #aa5500;">"style=</span><span style="color: #aa5500;">\"</span><span style="color: #aa5500;">color:#</span><span style="color: #aa5500;">{</span><span style="color: #aa0000;">$color</span><span style="color: #aa5500;">}</span><span style="color: #aa5500;">;$2;</span><span style="color: #aa5500;">\"</span><span style="color: #aa5500;">"</span><span style="color: #000000;">,</span> <span style="color: #aa0000;">$text</span>);<br /> <span style="color: #0000aa;">return</span> <span style="color: #aa5500;">"&lt;a </span><span style="color: #aa5500;">$text</span><span style="color: #aa5500;">&gt;"</span>;<br /> <span style="color: #000000;">}</span><br /> <span style="color: #000000;">add_filter</span>(<span style="color: #aa5500;">'wp_tag_cloud'</span><span style="color: #000000;">,</span> <span style="color: #aa5500;">'colorCloud'</span><span style="color: #000000;">,</span> <span style="color: #009999;">1</span>);</div><p>Then add wp_tag_cloud function:</p><div class="source" style="background-color: #ffffff; font-family: &amp;quot;None&amp;quot;,&amp;quot;Consolas&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Courier New&amp;quot;; color: #000000;"><span style="color: #4c8317;">&lt;?php</span> <span style="color: #000000;">wp_tag_cloud</span>(<span style="color: #aa5500;">'smallest=8&amp;largest=24&amp;number=50'</span>); <span style="color: #4c8317;">?&gt;<br /> </span></div><p>or add Tag Cloud in widget</p><p>That’s all, you can change the numbers 8, 24, 50, which stands for smallest font size , representing the smallest font, the largest font and tags numbers.</p><p>Now you can see the cool colorful tag cloud in your WordPress!</p> ]]></content:encoded> <wfw:commentRss>http://such.as/2-ways-to-add-colorful-tag-cloud-in-wordpress/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How To: 2 Ways to Add Smilies to Your WordPress Blog</title><link>http://such.as/2-ways-to-add-smilies-to-your-wordpress-blog/</link> <comments>http://such.as/2-ways-to-add-smilies-to-your-wordpress-blog/#comments</comments> <pubDate>Tue, 01 Jun 2010 13:52:58 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[Skills]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress Plugins]]></category> <category><![CDATA[WordPress Smilies]]></category> <category><![CDATA[WordPress Tips]]></category><guid isPermaLink="false">http://such.as/2-ways-to-add-smilies-to-your-wordpress-blog/</guid> <description><![CDATA[Smilies, also known as “emoticons”, are glyphs used to convey emotions in your writing. They are a great way to brighten up posts. If you want to attract more visitors to comment on your blog, adding smilies is an effective &#8230; <a href="http://such.as/2-ways-to-add-smilies-to-your-wordpress-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Smilies, also known as “emoticons”,  are glyphs used to convey emotions in your writing. They are a great way to brighten up posts.</p><p>If you want to attract more visitors to comment on your blog, adding smilies is an effective method.</p><p>Here is the screenshots in comment area of my blog:</p><p><a href="http://ki.ki.ki/kiki/2011/09/09/a69a61ff7151ae9cdb24db0fb5707ed4.png"><img title="2 Ways to Add Smilies to Your WordPress Blog" src="http://ki.ki.ki/kiki/2011/09/09/a69a61ff7151ae9cdb24db0fb5707ed4.png" border="0" alt="2 Ways to Add Smilies to Your WordPress Blog" width="610" height="117" /></a></p><p>For more information about smilies of WordPress, please check WordPress Codx ( <a title="http://codex.wordpress.org/Using_Smilies" href="http://codex.wordpress.org/Using_Smilies">http://codex.wordpress.org/Using_Smilies</a> )</p><p><span id="more-5"></span></p><p>I will introduce two easy ways to add your own smilies to your WordPress blog</p><h2>1. WordPress Plugins</h2><p>I personally recommend use <a title="Custom Smilies" href="http://wordpress.org/extend/plugins/custom-smilies-se/">Custom Smilies SE</a> ( <a href="http://goto8848.net/projects/custom-smilies/">author’s blog page</a> ) as your WordPress Smilies Plugin, because you can add your own smilies images on your blog:</p><p><a href="http://ki.ki.ki/kiki/2011/09/09/7a700636fdf7dbe4aea3a72c625df089.png"><img title="2 Ways to Add Smilies to Your WordPress Blog" src="http://ki.ki.ki/kiki/2011/09/09/7a700636fdf7dbe4aea3a72c625df089.png" border="0" alt="2 Ways to Add Smilies to Your WordPress Blog" width="644" height="192" /></a></p><p>Also, you can add smilies when posting in WordPress dashboard:</p><p><a href="http://ki.ki.ki/kiki/2011/09/09/9c79d1e2ba2824b7ea8478c75c6f91d5.png"><img title="2 Ways to Add Smilies to Your WordPress Blog" src="http://ki.ki.ki/kiki/2011/09/09/9c79d1e2ba2824b7ea8478c75c6f91d5.png" border="0" alt="2 Ways to Add Smilies to Your WordPress Blog" width="216" height="317" /></a></p><p>There are many other WordPress smilies plugins:</p><p><a title="Top 10 Best WordPress Smilies Plugins For Your Blog" href="http://www.blogsdna.com/914/top-10-best-wordpress-smilies-plugins-for-your-blog.htm">http://www.blogsdna.com/914/top-10-best-wordpress-smilies-plugins-for-your-blog.htm</a></p><h2>2. Using a simple php script</h2><p>Many other bloggers, just like me, don’t like using plugins but want to customize your WordPress themes.</p><p>Usually, a WordPress plugin may increase your MySQL database size, so not using a plugin is a good habit.</p><p>Now, let me tech you how to do it without a WordPress plugin.</p><p>First, download this php sript:</p><p><a title="WordPress Smilies PHP Script" href="http://x.com.sb/suchas/smiley.zip">http://x.com.sb/suchas/smiley.zip</a></p><p>Then, upload <code>smiley.php</code> to your <code>themes folder</code>, such as <code>/wp-content/themes/default/smiley.php</code></p><p>Now, go to your WordPress dashboard to edit comments.php of your themes ( appearance ), insert this line where you find textarea in your comments.php:</p><p><span style="color: #ff0000;">&lt;?php</span> <span style="color: #0000ff;">include</span>(TEMPLATEPATH . <span style="color: #888888;">'/smiley.php'</span>)<span style="color: #0000ff;">;</span> <span style="color: #ff0000;">?&gt;</span></p><p>( Normally insert it below or above these code: textarea name="comment"  )</p><p>So easy, isn't it?</p><p>This simple php script is modified by <a title="WordPress 表情符号" href="http://kan.willin.org/?p=1268">Willin Kan</a>.</p><h2>3. Download QQ Emotions files</h2><p>You may notice that the smilies images on my blog are special, it is from Tencent (QQ.COM, a Chinese IM software).</p><p>Now you can download it from my blog:</p><p>V1 Round Face (from original QQ)</p><p>http://zou.lu/files/uploads/qq-smilies-v1.zip</p><p>V2 Square Face</p><p>http://zou.lu/files/uploads/qq-smilies-v2.zip</p><p>(Replace the image files in <code>/wp-includes/images/smilies/</code> )</p> ]]></content:encoded> <wfw:commentRss>http://such.as/2-ways-to-add-smilies-to-your-wordpress-blog/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Cache Avatar – Cache Gravatar Images Locally</title><link>http://such.as/wordpress-plugin-cache-gravatar/</link> <comments>http://such.as/wordpress-plugin-cache-gravatar/#comments</comments> <pubDate>Wed, 26 May 2010 14:56:37 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Plugins]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[Cache]]></category> <category><![CDATA[Cache Avatar]]></category> <category><![CDATA[Gravatar]]></category> <category><![CDATA[WordPress Plugins]]></category><guid isPermaLink="false">http://such.as/wordpress-plugin-cache-gravatar/</guid> <description><![CDATA[Author: Yinheli Translator: Showfom Screenshots: Description: This WordPress Plugin helps you auto-cache gravatar images in your local web server to make your WordPress load faster. And it can auto-delete the cache files, due to your settings. If you blog has &#8230; <a href="http://such.as/wordpress-plugin-cache-gravatar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h2>Author:</h2><p><a title="Yinheli's Blog" href="http://philna.com/" target="_blank">Yinheli</a></p><h2>Translator:</h2><p><a href="http://such.as/" target="_blank">Showfom</a></p><h2>Screenshots:</h2><p><a href="http://ki.ki.ki/kiki/2011/09/09/dbdbe8dae7b01623f0c1f74bc38fcad0.png"><img title="Cache Avatar – Cache Gravatar Images Locally" src="http://ki.ki.ki/kiki/2011/09/09/dbdbe8dae7b01623f0c1f74bc38fcad0.png" border="0" alt="Cache Avatar – Cache Gravatar Images Locally" width="244" height="134" /></a></p><p><span id="more-4"></span></p><p><a href="http://ki.ki.ki/kiki/2011/09/09/9d4fd9aadc600135c31198436594661c.png"><img title="Cache Avatar – Cache Gravatar Images Locally" src="http://ki.ki.ki/kiki/2011/09/09/9d4fd9aadc600135c31198436594661c.png" border="0" alt="Cache Avatar – Cache Gravatar Images Locally" width="244" height="213" /></a></p><h2>Description:</h2><p>This WordPress Plugin helps you auto-cache gravatar images in your local web server to make your WordPress load faster. And it can auto-delete the cache files, due to your settings.</p><p>If you blog has IPV6 address, but gravatar.com don’t have it. So if visitors who use IPV6 to visit your blog, they will not see the gravatar images.</p><h2>Requires WordPress Version:</h2><p>WordPress 2.7+ , recommended 2.9.2 +</p><h2>Installation:</h2><p>Upload <code>cache-avatar</code> folder into <code>/wp-content/plugins/</code> and activate the plugin in the WordPress admin area.</p><h2>Download Links:</h2><p><a title="Download Cache Avatar from Such.As" href="http://x.com.sb/suchas/cache-avatar.zip">http://x.com.sb/suchas/cache-avatar.zip</a></p><h2>Others:</h2><p>If you have any questions, please leave comments.</p> ]]></content:encoded> <wfw:commentRss>http://such.as/wordpress-plugin-cache-gravatar/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>What is Domain Hacks?</title><link>http://such.as/what-is-domain-hacks/</link> <comments>http://such.as/what-is-domain-hacks/#comments</comments> <pubDate>Wed, 26 May 2010 04:21:34 +0000</pubDate> <dc:creator>Showfom</dc:creator> <category><![CDATA[Domain Hacks]]></category> <category><![CDATA[ccTLDs Domain Names]]></category><guid isPermaLink="false">http://such.as/?p=1</guid> <description><![CDATA[1.What is a domain hacks? It's a domain for wich the name plus the extension can be read as a whole word or a sentence.(Via) A domain hack (sometimes known as a domain name hack) is an unconventional domain name &#8230; <a href="http://such.as/what-is-domain-hacks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h2>1.What is a domain hacks?</h2><p>It's a domain for wich the name plus the extension can be read as a whole word or a sentence.(<a title=" What is a domain hacks?" href="http://www.domainhacks.com/about/">Via</a>)</p><p>A domain hack (sometimes known as a domain name hack) is an unconventional domain name that combines domain levels, especially the top-level domain (TLD), to spell out the full "name" or title of the domain.  Well-known examples include blo.gs, del.icio.us, cr.yp.to, and goo.gl. (<a title="Domain Hack" href="http://en.wikipedia.org/wiki/Domain_hack">Via</a>)<br /> <span id="more-1"></span><br /> The "hacks" represents a trick (as in programming), not an exploit or break-in (as in security).</p><p><strong>One-word samples:</strong><br /> del.icio.us, blo.gs, shouy.in, anim.al, mexi.co, inter.net, ma.gg/ie , doma.in, tr.ee, sha.re, ma.de ...</p><p><strong>Two-word samples:</strong><br /> fish.cat, such.as, buy.it, kiss.me, who.is, used.to, i.am ...</p><p>Domain hacks offer the ability to produce original and funny short domain names.</p><h2>2.Who loves Domain Hacks?</h2><p>Domain hacks have been around for quite some time now, proof with inter.net registered in 1992, but it's only until very recently with the boom of the Web 2.0 and new services such as the now Yahoo-owned social bookmaking del.icio.us and url shortener bit.ly that they have become more than just "cool hacks" but powerful e-brands.</p><p>With the fast growth of .com/.net/.org (gTlds Domains) Registration, fewer and fewer "COOL" domains available, many webmasters have to choose other domain extensions (ccTLDs Domains).</p><p>Resources are limited, the same as domain name industry, and the domain name is a unique object, almost all the people in the world can register a domain name.</p><p>So Domain Hacks are Cooler, Shorter, Smarter Domain Names , mostly ccTLDs Domain Names, and there are only few domains available in the whole world. It's your opportunity to search and register your own Domain Hacks!</p><p><img src="http://ki.ki.ki/kiki/2011/09/09/3ec45557ca3498466500209b8d1c7416.jpg" alt="Domain Hack" /></p> ]]></content:encoded> <wfw:commentRss>http://such.as/what-is-domain-hacks/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> </channel> </rss><!-- Dynamic page generated in 0.120 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-09 05:35:23 -->

