<?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:media="http://search.yahoo.com/mrss/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0" xml:base="http://www.sourcesqr.com/zh-hant/blog">
  <channel>
    <title>SourceSquare</title>
    <link>http://www.sourcesqr.com/zh-hant/blog</link>
    <description />
    <language>zh-hant</language>
          <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/sourcesqr-seo-blog-cn" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="sourcesqr-seo-blog-cn" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
    <title>Drupal Commerce: Adjusting Stock from Code</title>
    <link>http://www.sourcesqr.com/zh-hant/drupal-commerce-adjusting-stock-from-code</link>
    <description>&lt;p&gt;Recently I have been working on a project using &lt;a href="http://drupalcommerce.org"&gt;Drupal Commerce&lt;/a&gt; to build a Jewelry online shop for client. At one point we needed to find a way to adjust the stock of a product that is referenced by another product through the use of Entity Reference field, and unforutnately the current implementation of DC does not provided the needed feature in Rules, hence we had to do it through Code.&lt;/p&gt;
&lt;p&gt;After some testing, turned out the stock data is not simply stored in just 1 table (or perhaps there was something that we did wrong? :P), though thanks to the awesome work from &lt;a href="http://www.commerceguys.com"&gt;Commerce Guys&lt;/a&gt; they have already implemented some very useful functions that will ease the pain digging through the data structure. The following steps already assume that you have &lt;a href="http://drupal.org/project/commerce_stock"&gt;commerce_stock&lt;/a&gt; module installed already.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new rule&lt;/li&gt;
&lt;li&gt;Add an event that relates to order, in our case "Completeting the checkout process".&lt;/li&gt;
&lt;li&gt;Add a loop. Choose "commerce_order:commerce-line-items" in Data selector. That should provide you with line item objects for the PHP code.&lt;/li&gt;
&lt;li&gt;Add an "Execute custom PHP code" action.&lt;/li&gt;
&lt;li&gt;Choose Commerce Product. You should see that there is a Commerce Line Item type of variable made available to you. in our case, the we have is $list_item.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The line item object should give you the id and type of the product along with various other information. From there you can use &lt;a href="http://api.drupalcommerce.org/api/Drupal%20Commerce/sites%21all%21modules%21commerce%21modules%21product%21commerce_product.module/function/commerce_product_load/DC"&gt;commerce_product_load&lt;/a&gt;($product_id) and &lt;a href="http://api.drupalcommerce.org/api/Drupal%20Commerce/sites%21all%21modules%21commerce_stock%21commerce_stock.rules.inc/function/commerce_stock_adjust/DC"&gt;commerce_stock_adjust&lt;/a&gt;($product) to adjust stock in a blink:&lt;/p&gt;
&lt;p&gt;&lt;div class="codeblock geshifilter"&gt;&lt;code&gt;&lt;span style="color: #000000"&gt;&lt;span style="color: #0000BB"&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;global&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$language&lt;/span&gt;&lt;span style="color: #007700"&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;(&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$list_item&lt;/span&gt;&lt;span style="color: #007700"&gt;)&amp;nbsp;{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Check&amp;nbsp;if&amp;nbsp;the&amp;nbsp;field&amp;nbsp;was&amp;nbsp;translated&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$lang&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;nbsp;isset(&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$list_item&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;commerce_product&lt;/span&gt;&lt;span style="color: #007700"&gt;[&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$language&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;language&lt;/span&gt;&lt;span style="color: #007700"&gt;])&amp;nbsp;?&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$language&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;language&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;LANGUAGE_NONE&lt;/span&gt;&lt;span style="color: #007700"&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Get&amp;nbsp;the&amp;nbsp;product&amp;nbsp;id&amp;nbsp;from&amp;nbsp;line&amp;nbsp;item&amp;nbsp;($list_item)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$product_id&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$list_item&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;commerce_product&lt;/span&gt;&lt;span style="color: #007700"&gt;[&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$lang&lt;/span&gt;&lt;span style="color: #007700"&gt;][&lt;/span&gt;&lt;span style="color: #0000BB"&gt;0&lt;/span&gt;&lt;span style="color: #007700"&gt;][&lt;/span&gt;&lt;span style="color: #DD0000"&gt;'product_id'&lt;/span&gt;&lt;span style="color: #007700"&gt;];&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Load&amp;nbsp;product&amp;nbsp;entity&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$product&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;commerce_product_load&lt;/span&gt;&lt;span style="color: #007700"&gt;(&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$product_id&lt;/span&gt;&lt;span style="color: #007700"&gt;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Decrease&amp;nbsp;stock&amp;nbsp;by&amp;nbsp;1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;commerce_stock_adjust&lt;/span&gt;&lt;span style="color: #007700"&gt;(&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$product&lt;/span&gt;&lt;span style="color: #007700"&gt;,&amp;nbsp;-&lt;/span&gt;&lt;span style="color: #0000BB"&gt;1&lt;/span&gt;&lt;span style="color: #007700"&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Apparently Drupal Commerce's commerce_stock module has rules can do all this already out of the box. However if your have products referencing other products that need to adjust the stock all together, this code will come in handy :).&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/drupal-commerce-adjusting-stock-from-code#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/drupal-commerce-adjusting-stock-from-code#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/category/drupal">Drupal</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/drupal-commerce">drupal commerce</category>
 <pubDate>Mon, 09 Apr 2012 22:00:12 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">221 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Using Views Programmatically - HKDUG Meetup with Jason Yee (Jyee)</title>
    <link>http://www.sourcesqr.com/zh-hant/using-views-programmatically-hkdug-meetup-with-jason-yee-jyee</link>
    <description>&lt;p&gt;We had our monthly Hong Kong Drupal User Group meetup last week (thanks to &lt;a href="http://www.cnngo.com"&gt;CNNGo.com&lt;/a&gt; for the always wonderful venue), and this time it is a little bit different. Jason (&lt;a href="http://drupal.org/user/712186"&gt;jyee&lt;/a&gt; at Drupal.org) from Aten Design Group, one of the organizers of the upcoming &lt;a href="http://denver2012.drupal.org/"&gt;Denver Drupalcon 2012&lt;/a&gt; and a well known contrib module developer has joined us for the evening, and shared some of his thought on "Using Views Programmatically".&lt;/p&gt;
&lt;p&gt;For those of you who missed the presentation, here is a video of the same presentation Jason did back in &lt;a href="http://denver2012.drupal.org/"&gt;Drupalcon Colorado 2011:&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;object width="640" height="506" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"&gt;&lt;param value="true" name="allowfullscreen" /&gt;&lt;param value="always" name="allowscriptaccess" /&gt;&lt;param value="high" name="quality" /&gt;&lt;param value="true" name="cachebusting" /&gt;&lt;param value="#000000" name="bgcolor" /&gt;&lt;param name="movie" value="http://www.archive.org/flow/flowplayer.commercial-3.2.1.swf" /&gt;&lt;param value="config={'key':'#$aa4baff94a9bdcafce8','playlist':['format=Thumbnail?.jpg',{'autoPlay':false,'url':'Drupal_Camp_Colorado_2011__Using_Views_Programmatically.mp4'}],'clip':{'autoPlay':true,'baseUrl':'http://www.archive.org/download/Drupal_Camp_Colorado_2011__Using_Views_Programmatically/','scaling':'fit','provider':'h264streaming','showCaptions':true},'canvas':{'backgroundColor':'#000000','backgroundGradient':'none'},'plugins':{'controls':{'playlist':false,'fullscreen':true,'height':26,'backgroundColor':'#000000','autoHide':{'fullscreenOnly':true}},'h264streaming':{'url':'http://www.archive.org/flow/flowplayer.pseudostreaming-3.2.1.swf'},'captions':{'url':'http://www.archive.org/flow/flowplayer.captions-3.2.0.swf','captionTarget':'content'},'content':{'display':'block','url':'http://www.archive.org/flow/flowplayer.content-3.2.0.swf','bottom':26,'left':0,'width':640,'height':50,'backgroundGradient':'none','backgroundColor':'transparent','textDecoration':'outline','border':0,'style':{'body':{'fontSize':'14','fontFamily':'Arial','textAlign':'center','fontWeight':'bold','color':'#ffffff'}}}},'contextMenu':[{},'-','Flowplayer v3.2.1']}" name="flashvars" /&gt;&lt;embed src="http://www.archive.org/flow/flowplayer.commercial-3.2.1.swf" type="application/x-shockwave-flash" width="640" height="506" allowfullscreen="true" allowscriptaccess="always" cachebusting="true" bgcolor="#000000" quality="high" flashvars="config={'key':'#$aa4baff94a9bdcafce8','playlist':['format=Thumbnail?.jpg',{'autoPlay':false,'url':'Drupal_Camp_Colorado_2011__Using_Views_Programmatically.mp4'}],'clip':{'autoPlay':true,'baseUrl':'http://www.archive.org/download/Drupal_Camp_Colorado_2011__Using_Views_Programmatically/','scaling':'fit','provider':'h264streaming','showCaptions':true},'canvas':{'backgroundColor':'#000000','backgroundGradient':'none'},'plugins':{'controls':{'playlist':false,'fullscreen':true,'height':26,'backgroundColor':'#000000','autoHide':{'fullscreenOnly':true}},'h264streaming':{'url':'http://www.archive.org/flow/flowplayer.pseudostreaming-3.2.1.swf'},'captions':{'url':'http://www.archive.org/flow/flowplayer.captions-3.2.0.swf','captionTarget':'content'},'content':{'display':'block','url':'http://www.archive.org/flow/flowplayer.content-3.2.0.swf','bottom':26,'left':0,'width':640,'height':50,'backgroundGradient':'none','backgroundColor':'transparent','textDecoration':'outline','border':0,'style':{'body':{'fontSize':'14','fontFamily':'Arial','textAlign':'center','fontWeight':'bold','color':'#ffffff'}}}},'contextMenu':[{},'-','Flowplayer v3.2.1']}"&gt; &lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;For those of you who missed the fun part after the meetup, sorry we do not have any videos nor scripts for you, but you can share our joy with a few pics we took in the meetup (thanks to &lt;a href="http://groups.drupal.org/user/1354343"&gt;circlelo&lt;/a&gt; for the pics).&lt;/p&gt;
&lt;p&gt;&lt;a class="lightbox-processed" rel="lightbox" href="http://www.sourcesqr.com/sites/default/files/images/hkdug-using-views-programmatically-01.jpg"&gt;&lt;img src="http://www.sourcesqr.com/sites/default/files/images/hkdug-using-views-programmatically-01-600.jpg" alt="HKDUG Meetup 23/11/2011" title="" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a class="lightbox-processed" rel="lightbox" href="http://www.sourcesqr.com/sites/default/files/images/hkdug-using-views-programmatically-02.jpg"&gt;&lt;img src="http://www.sourcesqr.com/sites/default/files/images/hkdug-using-views-programmatically-02-600.jpg" alt="HKDUG Meetup 23/11/2011" title="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/using-views-programmatically-hkdug-meetup-with-jason-yee-jyee#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/using-views-programmatically-hkdug-meetup-with-jason-yee-jyee#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/drupal-7">drupal 7</category>
 <category domain="http://www.sourcesqr.com/zh-hant/category/events">Events</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/hkdug">hkdug</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/views">views</category>
 <pubDate>Mon, 28 Nov 2011 07:30:27 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">212 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Steve Jobs 1955-2011</title>
    <link>http://www.sourcesqr.com/zh-hant/steve-jobs-1955-2011</link>
    <description>&lt;p&gt;&lt;html&gt;&lt;br /&gt;
  &lt;img src="http://www.sourcesqr.com/sites/default/files/images/stevejobs-rip.png" alt="Steve Jobs   1955-2011" /&gt;&lt;/html&gt;&lt;/p&gt;
&lt;h1 class="stevejobs-color"&gt;Steve Jobs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1955-2011&lt;/h1&gt;
&lt;p&gt;
  &lt;center&gt;&lt;br /&gt;
    Your inspirations will live in your Designs, in Apple, and in All of Us who admired you, forever.&lt;br/&gt;&lt;br/&gt;May you rest in peace.&lt;br /&gt;
  &lt;/br/&gt;&lt;/br/&gt;&lt;/center&gt;
  &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/steve-jobs-1955-2011#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/steve-jobs-1955-2011#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/1">Featured</category>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/2">General</category>
 <pubDate>Fri, 07 Oct 2011 02:35:54 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">211 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Print Taxonomy Terms in Blocks and page.tpl.php in Drupal 7</title>
    <link>http://www.sourcesqr.com/zh-hant/print-taxonomy-terms-in-blocks-and-page-tpl-php-in-drupal-7</link>
    <description>&lt;p&gt;
	I recently have started working on a &lt;strong&gt;Drupal 7&lt;/strong&gt; project creating a comparatively simple brochure website. To my surprises a lot of familiar functions, syntax and platform for simple things have changed dramatically! Certainly many functions and handlers are become easier and simpler to do, however there are a lot of simple procedures gets to be more complicated.&lt;/p&gt;
&lt;p&gt;
	Getting the Taxonomy term in page.tpl.php is one of them.&lt;/p&gt;
&lt;h3&gt;
	Drupal 6 - Taxonomy Term using $term object&lt;/h3&gt;
&lt;p&gt;
	Back in &lt;strong&gt;Drupal 6&lt;/strong&gt;, Taxonomy terms are embedded in $node object. To print the taxnomy term, all you need to do is get it directly from the $node object:&lt;/p&gt;
&lt;p&gt;
&lt;div class="codeblock geshifilter"&gt;&lt;code&gt;&lt;span style="color: #000000"&gt;&lt;span style="color: #0000BB"&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007700"&gt;foreach&amp;nbsp;(&amp;nbsp;(array)&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$node&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;taxonomy&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;as&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$term&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;)&amp;nbsp;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;$term-&amp;gt;name&amp;nbsp;has&amp;nbsp;the&amp;nbsp;taxonomy&amp;nbsp;term&amp;nbsp;name&lt;br /&gt;//&amp;nbsp;$term-&amp;gt;tid&amp;nbsp;has&amp;nbsp;the&amp;nbsp;taxonomy&amp;nbsp;term&amp;nbsp;id&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007700"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;h3&gt;
	Drupal 7 - Taxonomy Term Reference CCK field&lt;/h3&gt;
&lt;p&gt;
	In Drupal 7 however, taxonomy terms are no longer embedded in $node object. They are now CCK fields that can be added to individual content type on the fly. However, it uses a CCK field type called &amp;quot;Term Reference&amp;quot;, which means instead of storing the actually Taxonomy term in the Node, it stores the reference id of the taxonomy term. The actual Taxonomy terms are now now stored in a different table called taxonomy_term_data.&lt;/p&gt;
&lt;p&gt;
	You can use the following snippet to retrieve the taxonomy term(s) in Drupal 7 instead.&lt;/p&gt;
&lt;p&gt;
&lt;div class="codeblock geshifilter"&gt;&lt;code&gt;&lt;span style="color: #000000"&gt;&lt;span style="color: #0000BB"&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Load&amp;nbsp;full&amp;nbsp;$node&amp;nbsp;object.&amp;nbsp;IMPORTANT!&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$node&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;node_load&lt;/span&gt;&lt;span style="color: #007700"&gt;(&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$node&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;nid&lt;/span&gt;&lt;span style="color: #007700"&gt;);&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Get&amp;nbsp;the&amp;nbsp;reference&amp;nbsp;id&amp;nbsp;of&amp;nbsp;the&amp;nbsp;taxonomy&amp;nbsp;term.&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$tid&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$node&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;field_tags&lt;/span&gt;&lt;span style="color: #007700"&gt;[&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$node&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;language&lt;/span&gt;&lt;span style="color: #007700"&gt;][&lt;/span&gt;&lt;span style="color: #0000BB"&gt;0&lt;/span&gt;&lt;span style="color: #007700"&gt;][&lt;/span&gt;&lt;span style="color: #DD0000"&gt;'tid'&lt;/span&gt;&lt;span style="color: #007700"&gt;];&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;Query&amp;nbsp;database&amp;nbsp;table&amp;nbsp;taxonomy_term_data&amp;nbsp;with&amp;nbsp;$tid&amp;nbsp;from&amp;nbsp;$node&amp;nbsp;object.&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$term&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;db_query&lt;/span&gt;&lt;span style="color: #007700"&gt;(&lt;/span&gt;&lt;span style="color: #DD0000"&gt;'SELECT&amp;nbsp;n.name&amp;nbsp;FROM&amp;nbsp;{taxonomy_term_data}&amp;nbsp;n&amp;nbsp;WHERE&amp;nbsp;n.tid&amp;nbsp;=&amp;nbsp;:tid'&lt;/span&gt;&lt;span style="color: #007700"&gt;,&amp;nbsp;array(&lt;/span&gt;&lt;span style="color: #DD0000"&gt;':tid'&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;=&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$tid&lt;/span&gt;&lt;span style="color: #007700"&gt;));&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;//&amp;nbsp;db_query&amp;nbsp;in&amp;nbsp;Drupal&amp;nbsp;7&amp;nbsp;returns&amp;nbsp;a&amp;nbsp;stdClass&amp;nbsp;object.&amp;nbsp;Value&amp;nbsp;names&amp;nbsp;are&amp;nbsp;corresponding&amp;nbsp;to&amp;nbsp;the&amp;nbsp;fields&amp;nbsp;in&amp;nbsp;your&amp;nbsp;SQL&amp;nbsp;query&amp;nbsp;(in&amp;nbsp;our&amp;nbsp;case&amp;nbsp;"n.name")&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #007700"&gt;foreach&amp;nbsp;(&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$term&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700"&gt;as&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$record&lt;/span&gt;&lt;span style="color: #007700"&gt;)&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;print&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;$record&lt;/span&gt;&lt;span style="color: #007700"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;name&lt;/span&gt;&lt;span style="color: #007700"&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/print-taxonomy-terms-in-blocks-and-page-tpl-php-in-drupal-7#comments"&gt;5 Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/print-taxonomy-terms-in-blocks-and-page-tpl-php-in-drupal-7#comments</comments>
 <pubDate>Fri, 08 Jul 2011 07:03:47 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">210 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>建立網站和博客 Blog 常用辭彙 Glossary</title>
    <link>http://www.sourcesqr.com/zh-hant/website-and-blog-launch-glossary</link>
    <description>&lt;p&gt;
	&lt;img alt="建立網站和博客 Blog 常用辭彙 Glossary" src="http://www.sourcesqr.com/sites/default/files/images/glossary-icon-lg.png" style="width: 224px; height: 223px; float: right;" /&gt;我剛開始網頁編程和搜尋引擎行銷相關的工作時，最令我頭痛的就是每天到要面對數十個不認識的專門辭彙，隨時可能要花半天的時間在網上找這找那的，十分耗費時間，所以整理了一個&lt;strong&gt;建立網站和博客 Blog 常用辭彙 Glossary&lt;/strong&gt;，希望能幫大家節省一點點寶貴的時間。&lt;/p&gt;
&lt;h1&gt;
	A&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Above the Fold&lt;/strong&gt; - 打開一個網頁時不需要垂直滾動就能看到的頁面範圍，這是每一頁最有價值的位置。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;AdSense&lt;/strong&gt; - Google AdSense 是一項可增加線上發佈商獲利機會的免費計劃，透過這項計劃，即可在各式各樣的線上內容中顯示相關廣告，賺取廣告收入。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Affiliate&lt;/strong&gt;&amp;nbsp; - &lt;strong&gt;（電子）商務夥伴&lt;/strong&gt;，又名聯合行銷夥伴，他們會在自己的網頁或博客中推廣別人的產品或服務，從中抽取部分交易收益作為中介費或佣金。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Affiliate Program&lt;/strong&gt; - &lt;strong&gt;電子商務伙伴計劃&lt;/strong&gt;，又名聯合行銷計劃，是有內容、產品或服務供應商設立的計劃，計劃的營運方式是把部分營業額與提供聯合行銷服務的合作夥伴分享所帶來的直接收益。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Archives&lt;/strong&gt; - &lt;strong&gt;檔案匯總&lt;/strong&gt;，其實是指舊或過期的博客文章的匯總，通常都是按發表日期排序。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Analytics&lt;/strong&gt; - &lt;strong&gt;網站分析&lt;/strong&gt;，通常是指一些關於你的博客或網站流量和關鍵字等的數據。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Analytics Program&lt;/strong&gt; - &lt;strong&gt;網站分析系統&lt;/strong&gt;，用於收集你的網站流量相關的數據，然後提供各種不同類型的圖表作分析用途。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;AJAX&lt;/strong&gt; - Asynchronous JavaScript and XML (&lt;strong&gt;异步 JavaScript 和 XML&lt;/strong&gt;) - 網站從服務器存取資料的技術，能有效降低數據在服務器和網頁（瀏覽器）之間交換的數量（大約是原來的5%），有效控制服務器的負載量和頻寬。&lt;/p&gt;
&lt;h1&gt;
	B&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Backlink&lt;/strong&gt; - &lt;strong&gt;反向連結&lt;/strong&gt; - &lt;a href="http://www.sourcesqr.com/zh-hant/what-is-backlink"&gt;反向連結&lt;/a&gt;一些從第三方網站連結到你的博客文章或網站的連結。反向連結在搜尋引擎優化 (SEO) 中有舉足輕重的作用，被譽為是「網絡世界的貨幣」。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Blog&lt;/strong&gt; - &lt;strong&gt;博客&lt;/strong&gt;，一種網站類型，通常博客的內容都是按發表日期倒序排列，而內容都是公開樣訪客留言和按內容發表意見。博客包括個人日記、企業資訊甚至極專業的技術討論文章。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Blogger&lt;/strong&gt; - &lt;strong&gt;博客&lt;/strong&gt;，這裡是指在博客發表文章的人。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Blogroll&lt;/strong&gt; - 和該博客有關的一些外部連結，通常都是放在側邊欄 (sidebar)。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Blook&lt;/strong&gt; - 用個別博客的文章編修而成的讀物。&lt;/p&gt;
&lt;h1&gt;
	C&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Captcha&lt;/strong&gt; - &lt;strong&gt;反垃圾留言的系統&lt;/strong&gt;，一般都是透過要求訪客輸入經過特別處理的字串來判定留言的是真正的訪客還是垃圾留言程式。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Cascading Style Sheet (CSS)&lt;/strong&gt; - &lt;strong&gt;層疊樣式表&lt;/strong&gt;，又稱串樣式列表，一種用來為HTML或XML加入圖像和樣式的語法。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Cloud Hosting&lt;/strong&gt; - &lt;strong&gt;雲端寄存&lt;/strong&gt;，一種特殊的服務器寄存服務，特點是系統空間和資源分佈在數台互相連結的服務起器，需要時才會比分派給所需的系統或程式，系統或數據不再局限於單一服務器，大大提高了系統的安全性和擴充性。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Comment&lt;/strong&gt; - &lt;strong&gt;訪客留言&lt;/strong&gt;，由訪客針對個別網頁內容或博客文章的留言或意見。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Commenter&lt;/strong&gt; - &lt;strong&gt;留言的訪客&lt;/strong&gt;，在個別網頁內容或博客文章留言的訪客。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Content Management System (CMS)&lt;/strong&gt; - &lt;strong&gt;內容管理系統&lt;/strong&gt;，一個用作管理網頁內容或博客文章的系統或平台，用戶可以從世界各地連接網站或博客發表文章，省卻在本機更改內容再上載的程序。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Contextual Ads&lt;/strong&gt; - &lt;strong&gt;上下文廣告&lt;/strong&gt;，根據個別博客文章或網頁內容提供相關、符合文章內容的廣告的系統。AdSense (同上) 是其中最受歡迎的上下文廣告系統。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Control Panel&lt;/strong&gt; - &lt;strong&gt;控制面板&lt;/strong&gt;，這裡是指網頁寄存服務 (CMS, 同上) 提供的控制面板，提供控制網頁寄存帳戶、管理網站檔案，數據分析和數據庫管理等功能。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;cPanel&lt;/strong&gt; - 一款常見的網頁寄存控制面板。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;CMS&lt;/strong&gt; - 參考 &lt;strong&gt;Content Management System 內容管理系統&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;	&lt;strong&gt;CSS&lt;/strong&gt; - 參考 &lt;strong&gt;Cascading Style Sheet 層疊樣式表&lt;/strong&gt;。&lt;/p&gt;
&lt;h1&gt;
	D&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Database&lt;/strong&gt; - &lt;strong&gt;數據庫&lt;/strong&gt;，管理給儲存數據化的資料；博客的數據庫通常儲存了文章的數據，到適當的時候再提取出來整理給訪客閱讀。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Dedicated Server&lt;/strong&gt; - 由網頁寄存公司提供的&lt;strong&gt;專用服務器&lt;/strong&gt;，只存放一個客戶的博客或網頁，而且客戶能自己管理專用服務器的所有資源和設定。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Domain Name&lt;/strong&gt; - &lt;strong&gt;網域&lt;/strong&gt;，又稱域名，是一個包括文字和數字的字串，代表一個網站、博客或網絡服務在網上的存取位置。在瀏覽器的網址列輸入域名就能進入該域名所代表的網站（例: YourDomainName.com)&lt;/p&gt;
&lt;h1&gt;
	E&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;E-commerce Site &lt;/strong&gt;- &lt;strong&gt;電子商務網站&lt;/strong&gt; - 是一些提供網上買賣／交易功能的網站。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Encryption&lt;/strong&gt; - &lt;strong&gt;電子加密&lt;/strong&gt; - 把數據或檔案作加密處理。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Extension&lt;/strong&gt; - 又稱 &lt;strong&gt;Domain Name Extension 網域擴展名&lt;/strong&gt;，通常代表網域所屬組織／網站的地區或服務性質。(例: .com, .org, .edu, .com.hk, edu.hk)&lt;/p&gt;
&lt;h1&gt;
	F&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Feed&lt;/strong&gt; - &lt;strong&gt;消息來源&lt;/strong&gt; - 是一種資料格式，網站提供 Feed 將最新資訊讓用戶訂閱，用戶可以透過各種閱讀器 (例: Google Reader) 閱讀 Feed 的內容。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Feed Reader&lt;/strong&gt; - &lt;strong&gt;Feed 閱讀器&lt;/strong&gt;，用來管理訂閱及閱讀不同博客和網站的 Feed 內容的軟件。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;File Transfer Protocol &lt;/strong&gt;- &lt;strong&gt;文件傳輸協議&lt;/strong&gt; - 用戶可以透過這種 FTP 文件傳輸協議把檔案由本機上傳到網頁寄存服務供訪客下載。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;FTP&lt;/strong&gt; - 參考 &lt;strong&gt;File Transfer Protocol&lt;/strong&gt;。&lt;/p&gt;
&lt;h1&gt;
	G&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Gravatar &lt;/strong&gt;- 由 Automattic 公司開發的網絡服務，讓用戶上載代表自己的頭像和個人資料，當用戶在別的使用 Gravatar 服務的博客留言就會自動從 Gravatar 服務器讀取該訪客訊息 (例：電郵地址）和頭像。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Guest Posting&lt;/strong&gt; - &lt;strong&gt;客席文章發表&lt;/strong&gt; - 在別人的博客上發表客席文章，藉以增加自己的暴光率和增加反向連結。&lt;/p&gt;
&lt;h1&gt;
	H&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Home page&lt;/strong&gt; - &lt;strong&gt;網站主頁&lt;/strong&gt;，一般是只當訪客在網址列輸入你的域名而到達的第一頁內容。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Hosting Company&lt;/strong&gt; - &lt;strong&gt;網頁寄存公司&lt;/strong&gt; - 一些提供服務器資源給網站和博客寄放網站檔案和數據庫的公司。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;HTML&lt;/strong&gt; - &lt;strong&gt;超文本置標語言&lt;/strong&gt;，構成網頁的編碼，所有顯示給訪客的網頁和資訊都必須要是 HTML 格式編碼的。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Hyperlink&lt;/strong&gt; - &lt;strong&gt;超連結&lt;/strong&gt; - 把兩個網頁連接的連結，可以是文字或圖像。&lt;/p&gt;
&lt;h1&gt;
	I&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Index Page&lt;/strong&gt; - 參考 &lt;strong&gt;Home Page&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;IP Address&lt;/strong&gt; - &lt;strong&gt;IP位址&lt;/strong&gt; - 由四個三位數字造成，是一種在 Internet 上的给主機指定位置的方式。&lt;/p&gt;
&lt;h1&gt;
	J&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Javascript&lt;/strong&gt; - 一種輔助 HTML 的編程，為網頁和博客加入更多活動的元素。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;JQuery&lt;/strong&gt; - 一個由 構Javascript 成的編程架構 (framework)，把大量常用的功能預先歸納在架構內，大大省卻網頁設計人員為常用功能（例：文檔存取）編程的時間。&lt;/p&gt;
&lt;h1&gt;
	K&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Keyword Research&lt;/strong&gt; - 又稱 &lt;strong&gt;Keyword Analysis&lt;/strong&gt;，&lt;strong&gt;關鍵字分析&lt;/strong&gt; - 收集特定和你的博客或網站有關連的關鍵字的搜尋量和相關數據再加以分析，以定出最適合的關鍵字加以運用，最常用於決定博客文章的題目。&lt;/p&gt;
&lt;h1&gt;
	L&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Link&lt;/strong&gt; - 參考 &lt;strong&gt;Hyperlink&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Linkbaiting&lt;/strong&gt; - &lt;strong&gt;連結誘餌&lt;/strong&gt; - 為了誘使其他網站反向連結而特別製作的內容（增加暴光率及搜尋引擎排名）。&lt;/p&gt;
&lt;h1&gt;
	M&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Meta Tags&lt;/strong&gt; - &lt;strong&gt;Meta Tags&lt;/strong&gt; 是個放在網頁的 HTML 編程碼上方 &amp;lt;head&amp;gt; 及 &amp;lt;/head&amp;gt; 標籤間的句式，主要目的是告訴搜尋引擎關於該網頁的準確資料，較常見的 Meta Tags 有 &amp;quot;Title&amp;quot;, &amp;quot;Description&amp;quot; 和 &amp;quot;Keywords&amp;quot;；Meta Tags 並不會在網頁內容中出現。&lt;/p&gt;
&lt;h1&gt;
	N&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Niche Blog&lt;/strong&gt; - 意指一些關於&lt;strong&gt;專門內容的博客&lt;/strong&gt;，跟一般的個人博客（日常生活為題）或公司博客（一般都是關於公司資訊或 Press Release）有所區別。&lt;/p&gt;
&lt;h1&gt;
	&lt;strong&gt;P&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Page&lt;/strong&gt; - &lt;strong&gt;網頁&lt;/strong&gt;，在博客來說就是按時倒序的博客文章以外的頁面，(例: 關於我們，聯絡我們)。&lt;/p&gt;
&lt;p&gt;
	&lt;a href="http://www.sourcesqr.com/zh-hant/what-is-pagerank-pr"&gt;&lt;strong&gt;PageRank&lt;/strong&gt;&lt;/a&gt; - PageRank 是 Google 自行開發的評分基準，目的是把每一頁已登錄的網頁（對，每一頁）都按一個標準選色計算出每個網頁的實用律，作為計算每一個網頁在 SERP (Search Engine Result Page) 排名的主要元件。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Permalink&lt;/strong&gt; - 在使用 CMS 時內容的內部連結經常都會改變，而 Permalink 是固定、供外部反向連結的網址。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Photoblog&lt;/strong&gt; - 以展示相片為主的博客。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;PHP&lt;/strong&gt; - &lt;strong&gt;Hypertext Preprocessor &lt;/strong&gt;- 在網頁上用來開發命令列腳本程式和使用者端的GUI應用程式。PHP可以在許多的不同種的伺服器、作業系統、平台上執行，也可以和許多資料庫系統結合。現時三個最受歡迎的 CMS (Drupal, Wordpress &amp;amp; Joomla) 都是使用 PHP 編寫的。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Plugin&lt;/strong&gt; - &lt;strong&gt;插件&lt;/strong&gt; - 一系列用來增加 CMS 功能的工具。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Podcast&lt;/strong&gt; - 跟博客文章相似都是按時倒序列出的，但內容是以聲音檔或視頻為主。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Post&lt;/strong&gt; - &lt;strong&gt;博客文章&lt;/strong&gt;，通常在博客上按時倒序列出。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;PPC &lt;/strong&gt;- &lt;strong&gt;Pay Per Click&lt;/strong&gt; - 網上廣告的一種，按點擊廣告的次數收費。&lt;/p&gt;
&lt;h1&gt;
	R&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Raw Access Logs&lt;/strong&gt; - 又稱為 raw logs 或 server logs，紀錄所有訪客活動；一些網站分析工具就是使用這些 raw logs 紀錄，整理然後以圖表方式展示。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;RSS&lt;/strong&gt; - &lt;strong&gt;Really Simple Syndication&lt;/strong&gt;，Feed 的一種，博客或其他動態內容供應商 (例如 Podcast) 發佈和整合資訊的渠道。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Registrar&lt;/strong&gt; - 全名 &lt;strong&gt;Domain Name Registrar&lt;/strong&gt;，協助公眾註冊和管理域名的機構。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Relevance&lt;/strong&gt; - 又稱 Keyword Relevance 關鍵字關聯，是訪客搜尋所用的關鍵字和你網頁的內容的關聯；關鍵字關聯度越低，你網頁出現在搜尋結果 (SERP) 的機會就會越低。&lt;/p&gt;
&lt;h1&gt;
	S&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Search Engine Marketing SEM&lt;/strong&gt; - &lt;strong&gt;搜尋引擎行銷&lt;/strong&gt;，通過一連串針對搜尋引擎的行銷策略，達到增加網站的訪客流量的目的。(搜尋引擎行銷包括的範圍很廣泛，Search Engine Optimization SEO搜尋引擎優化和 PPC 網上廣告就是其中較普遍的行銷策略）&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Search Engine Optimization SEO&lt;/strong&gt; - &lt;strong&gt;搜尋引擎優化&lt;/strong&gt;，就是一系列針對搜尋引擎的分析及優化程序，提升網頁和關鍵字的關聯，以提高網頁在搜尋結果 (SERP) 的排名為目標的行銷策略。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Secure Socket Layer SSL&lt;/strong&gt; - 網絡通訊的加密技術，是用戶與服務器之間的通訊不被攻擊者竊取。&lt;/p&gt;
&lt;p&gt;	&lt;strong&gt;SERP&lt;/strong&gt; - &lt;a href="http://www.sourcesqr.com/zh-hant/what-is-serp-search-engine-result-page"&gt;&lt;strong&gt;Search Engine Result Page&lt;/strong&gt; &lt;strong&gt;搜尋結果&lt;/strong&gt;&lt;/a&gt; - 在搜尋引擎根使用關鍵字搜尋顯示搜尋結果的頁面。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Shared Hosting&lt;/strong&gt; - &lt;strong&gt;共享網頁寄存&lt;/strong&gt; - 多個用戶、多網站共享一台網頁寄存服務器的資源，這是最經濟的網頁寄存方式，不過因為要服務起資源需要共用的關係，共享網頁寄存是不適合大流量的網頁使用。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Spam&lt;/strong&gt; - &lt;strong&gt;垃圾留言&lt;/strong&gt;，通常是和目標文章不相干的留言。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Splog&lt;/strong&gt; - 又稱 &lt;strong&gt;spam blog&lt;/strong&gt; 或&lt;strong&gt; link farm&lt;/strong&gt;，就是為了作為提供一個反向連結的來源以設立的網站或博客，內容一般到是從別的網站或博客抄襲過來的文章，是以往一種相當普遍的搜尋引擎行銷策略（在我們 SourceSquare 卻是被禁止的行為）。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Static&lt;/strong&gt; - 又稱 &lt;strong&gt;static web page&lt;/strong&gt;，就是固定的，不能通過 CMS 修改的網頁。&lt;/p&gt;
&lt;h1&gt;
	T&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Tag&lt;/strong&gt; - &lt;strong&gt;標籤 &lt;/strong&gt;- 把內容以關鍵字分類的標籤，作用跟文章分類 (category) 相似。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Theme&lt;/strong&gt; - &lt;strong&gt;博客&lt;/strong&gt;或網頁的設計或主題。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Trackback&lt;/strong&gt; - 當有其他網站連結到該文章時就會出現的提示訊息，用以加強博客與博客之間的交流。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Traffic&lt;/strong&gt; - &lt;strong&gt;網站流量&lt;/strong&gt; - 訪客在單一網站架構內的的流量和流向。&lt;/p&gt;
&lt;h1&gt;
	&lt;strong&gt;U&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;URL&lt;/strong&gt; - &lt;strong&gt;Uniform Resource Locator 統一資源定位符&lt;/strong&gt; - 又被成為網頁地址，和域名 (domain) 相似都是指示位置的字串，不同的是 URL 指示的是單一網頁，以不像域名般指示一個網站的位置。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Unique Visitor&lt;/strong&gt; - &lt;strong&gt;單一瀏覽人數 &lt;/strong&gt;- 指定時間以內的單一訪問，超過一次的訪問都只算一次。&lt;/p&gt;
&lt;h1&gt;
	&lt;strong&gt;V&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Video Blog&lt;/strong&gt; - 主要由視頻構成的博客。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Visit&lt;/strong&gt; - &lt;strong&gt;瀏覽人數&lt;/strong&gt; - 一段特定時間來你的網站或博訪問的數量。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Visitor&lt;/strong&gt; - &lt;strong&gt;訪客&lt;/strong&gt; - 訪問／閱讀你網頁的人。&lt;/p&gt;
&lt;h1&gt;
	W&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;Web Page&lt;/strong&gt; - &lt;strong&gt;單一網頁&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Weblog&lt;/strong&gt; - 參考 &lt;strong&gt;Blog&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Webmaster&lt;/strong&gt; - &lt;strong&gt;網主&lt;/strong&gt;，管理網站的人員&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Website&lt;/strong&gt; - &lt;strong&gt;網站&lt;/strong&gt;，由單一網域內的網頁所組成。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Website Template &lt;/strong&gt;- &lt;strong&gt;網站主題 &lt;/strong&gt;- 預先完成的網站設計，網上已經有相當多這種預先設計的網站主題供下載或購買，相對一個全新的網站設計較經濟，缺點是有可能有其他的網站已經在使用相同的網站主題。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Widget&lt;/strong&gt; - &lt;strong&gt;微件&lt;/strong&gt; - 是一小塊可以在任意一個基於 HTML 的網頁上執行的代碼，通常用作顯示第三方的資訊，例如 Twitter 和 Facebook Page 等等都是一些常見的微件。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;WYSIWYG Editor&lt;/strong&gt; - &lt;strong&gt;全名 &amp;quot;What you see is what you get&amp;quot; 編輯器&lt;/strong&gt;，作用是幫助沒有 HTML 編程經驗的用戶處理簡單的 HTML 格式，在 CMS 網站和博客非常普遍。&lt;/p&gt;
&lt;h1&gt;
	X&lt;/h1&gt;
&lt;p&gt;
	&lt;strong&gt;XHTML&lt;/strong&gt; - 全稱&lt;strong&gt; extensible hypertext markup language&lt;/strong&gt; &lt;strong&gt;可擴展超文本置標語言&lt;/strong&gt;，類似 HTML 的編程語言，但結構更加嚴謹卻用途廣泛廣泛。&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;XML&lt;/strong&gt; - 全稱 &lt;strong&gt;extensible markup language&lt;/strong&gt; &lt;strong&gt;可擴展標記語言&lt;/strong&gt;，是一種類似 HTML 的編程語言，只要是用於傳送及攜帶數據信式，不是用來表現或展示數據。跟 HTML 不一樣，XML 是可以用於瀏覽器以外的地方。&lt;/p&gt;
&lt;p&gt;
	這個辭彙集是根據 &lt;a href="http://insider.pk/" target="_blank"&gt;Insider.pk&lt;/a&gt; 的 &lt;a href="http://insider.pk/website-and-blog-launch-glossary/" target="_blank"&gt;Website and Blog Launch Glossary&lt;/a&gt; 更新及翻譯，「&lt;a href="http://www.sourcesqr.com/website-and-blog-launch-glossary"&gt;建立網站和博客 Blog 常用辭彙&lt;/a&gt;」的&lt;a href="http://www.sourcesqr.com/website-and-blog-launch-glossary"&gt;英文版本&lt;/a&gt;請參考這裡。&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/website-and-blog-launch-glossary#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/website-and-blog-launch-glossary#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/blog">blog</category>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/4">Glossary</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/search-marketing">search marketing</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/web-design">web design</category>
 <pubDate>Thu, 24 Mar 2011 03:58:46 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">192 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Why Has Drupal CMS Become Our Choice of Development Platform?</title>
    <link>http://www.sourcesqr.com/zh-hant/why-has-drupal-cms-become-our-choice-of-development-platform</link>
    <description>&lt;p&gt;&lt;/p&gt;&lt;p&gt;
	&lt;img alt="Image of Various CMS Systems" src="http://www.sourcesqr.com/sites/default/files/images/drupal7_admin.png" /&gt;Before we jump right into &lt;a href="http://www.drupal.org" target="_blank"&gt;Drupal CMS&lt;/a&gt;, perhaps we should start why the market is obsessed with designing websites with CMS.&lt;/p&gt;
&lt;h2&gt;
	What is CMS? Why CMS?&lt;/h2&gt;
&lt;p&gt;
	&lt;strong&gt;&amp;quot;CMS&amp;quot; (Content Management System)&lt;/strong&gt; is THE hip, trendy term on the Internet in 2010s. As elegantly described in Wikipedia, a &lt;a href="http://en.wikipedia.org/wiki/Content_management_system" target="_blank"&gt;Web CMS&lt;/a&gt; is basically a system that &amp;quot;simplifies the publication of web content to web sites and mobile devices -- in particular, allowing content creators to submit content without requiring technical knowledge of HTML or the uploading of files.&amp;quot;&lt;/p&gt;
&lt;p&gt;
	Generally speaking, the rise of CMS is due to the huge success of Blog platforms like blogger.com. Ever since the launch of blogger.com in 1999, next thing I know everyone has started publishing on the Internet, and the volume of new content published online exploded in folds ever since.&lt;/p&gt;
&lt;p&gt;
	With the increasingly popular online marketing concepts like &lt;a href="http://www.sourcesqr.com/drupal-vs-wordpress-vs-joomla-how-do-we-choose-between-the-three"&gt;SEO (Search Engine Marketing)&lt;/a&gt; and social media marketing, which both dictate that a successful website in 21st century requires a very rapid content creation rate (perhaps we could talk a bit more about these in the future), many individual developers and software companies jumped into developing different versions of CMS to their own likings to serve the market demand, and gradually contributed to the phenomenon growth of CMS products.&lt;/p&gt;
&lt;h2&gt;
	Drupal, Wordpress, Joomla And More&lt;/h2&gt;
&lt;p&gt;
	Among many CMS available in the market today, the most popular ones are Drupal, Wordpress and Joomla. Interestingly, all three of these CMS are open sourced, which means that they are maintained primarily by individual passionate developers around the world, for free. You may think that this may render the project or it&amp;#39;s maintenance unreliable, however surprisingly these CMS products are much more complete and successful compare to it&amp;#39;s commercial alternatives like Magento or Compsite. How Open Source work deserves a separate topic, so perhaps we shall leave that to the next blog post.&lt;/p&gt;
&lt;p&gt;
	There are many hot debates about which of these 3 CMS is better over the others. I will leave that conclusion to the enthusiasts, however if you want to look into these CMS in a more practically and funcitonal manner, you may find out more about our methodology on &lt;a href="http://www.sourcesqr.com/drupal-vs-wordpress-vs-joomla-how-do-we-choose-between-the-three"&gt;how to choose between Drupal, Wordpress and Joomla&lt;/a&gt; for our client projects.&lt;/p&gt;
&lt;p&gt;
	&lt;img alt="Drupal CMS" src="http://www.sourcesqr.com/sites/default/files/images/drupal_7_logo.png" /&gt;&lt;/p&gt;
&lt;h2&gt;
	Why is Drupal Our Choice of CMS?&lt;/h2&gt;
&lt;p&gt;
	We like &lt;a href="http://www.drupal.org" target="_blank"&gt;&lt;strong&gt;Drupal CMS&lt;/strong&gt;&lt;/a&gt; for a lot of reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
		Search engine friendly design out of the box&lt;/li&gt;
&lt;li&gt;
		CCK and Views&lt;/li&gt;
&lt;li&gt;
		Advance form and theme engines&lt;/li&gt;
&lt;li&gt;
		Advance user management...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	But they are not all.&lt;/p&gt;
&lt;p&gt;
	CMS, or every single software product in the world have one thing in common: they all have very unique personalities. Just like working with people, sometimes wrong match of personality could lead to unfavorable result; on the other hand, the result of your work could be unexpectedly good if you have found the right &amp;quot;partner&amp;quot; with the right &amp;quot;personality&amp;quot;, and that&amp;#39;s how we feel about Drupal at SourceSquare.&lt;/p&gt;
&lt;p&gt;
	&lt;em&gt;May be you are like us have a different passion toward another CMS? What would be your choice then?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/why-has-drupal-cms-become-our-choice-of-development-platform#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/why-has-drupal-cms-become-our-choice-of-development-platform#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/2">General</category>
 <category domain="http://www.sourcesqr.com/zh-hant/category/web-design">Web Design</category>
 <pubDate>Mon, 21 Mar 2011 09:42:37 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">190 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Drupal vs Wordpress vs Joomla － 應該怎麼選？</title>
    <link>http://www.sourcesqr.com/zh-hant/drupal-vs-wordpress-vs-joomla-how-do-we-choose-between-the-three</link>
    <description>&lt;p&gt;
	&lt;img alt="Drupal vs Wordpress vs Joomla" src="http://www.sourcesqr.com/sites/default/files/drupal-vs-wordpress-vs-joomla.png" style="width: 618px; height: 418px;" /&gt;&lt;/p&gt;
&lt;p&gt;
	這一直以來令無數 developer 茶餘飯後，茶飯不思廢枕忘餐的辯論：&lt;strong&gt;Drupal vs Wordpress vs Joomla&lt;/strong&gt;，到底應該選哪一個？到底哪一個比較好，比較適合？作為一個 developer 我當然也有偏好，但關係到客戶的網站，作為 Web Design Agency 還是必須得客觀、實際一點的去為了客戶切身的考慮才行。&lt;/p&gt;
&lt;h2&gt;
	根據經驗...&lt;/h2&gt;
&lt;p&gt;
	為客戶設計網頁經常都有接觸過 &lt;a href="http://drupal.org" target="_blank" title="Drupal CMS 官方網頁"&gt;&lt;strong&gt;Drupal&lt;/strong&gt;&lt;/a&gt;，&lt;a href="http://www.wordpress.org" target="_blank" title="Wordpress CMS 官方網頁"&gt;&lt;strong&gt;Wordpress&lt;/strong&gt;&lt;/a&gt; 和 &lt;a href="http://www.joomla.org" target="_blank" title="Joomla CMS 官方網頁"&gt;&lt;strong&gt;Joomla&lt;/strong&gt;&lt;/a&gt; ，有些時候是因應項目的需要而要選用特定的 CMS 平台，有時候則是因為需要修改客戶一直沿用的 CMS 平台而接觸到。總括而言，如果客戶需要一個完成度較高，而又較易上手的 CMS 平台，我一般都會建議使用 &lt;strong&gt;Wordpress&lt;/strong&gt;，因為它的系統架構較簡單，而且用戶介面比 &lt;strong&gt;Drupal&lt;/strong&gt; 和 &lt;strong&gt;Joomla&lt;/strong&gt; 都要易用。如果要設計一個功能簡單的網站（例如： BLOG 網站），&lt;strong&gt;Wordpres&lt;/strong&gt; 可以說是當然之選。&lt;/p&gt;
&lt;p&gt;
	如果是要設計一個小至中型網站，功能方面要求就可能會較高，而且要有一定的靈活性和自由度，遇到這種項目通常我都會建議客戶選用 &lt;strong&gt;Drupal&lt;/strong&gt; 或 &lt;strong&gt;Joomla&lt;/strong&gt;。如果你以前用過 &lt;strong&gt;Worpdress&lt;/strong&gt;，曾經想盡辦法都不能在導航選單建立一個自訂的 menu item，你應該會相當了解 &lt;strong&gt;Wordpress&lt;/strong&gt; 在靈活性方面的確存比 &lt;strong&gt;Drupal&lt;/strong&gt; 和 &lt;strong&gt;Joomla&lt;/strong&gt; 這些企業給的 CMS 仍有一段距離。&lt;/p&gt;
&lt;p&gt;
	如果是為一個「子網站群」(multi-site，即一個 CMS 系統平台擁有多個子網站）、多人管理的企業網站，功能和系統彈性都有極高的要求，我通常都會建議客戶選擇 &lt;strong&gt;Drupal&lt;/strong&gt;；&lt;strong&gt;Drupal&lt;/strong&gt; 在三個 CMS 之中系統框架（framework）功能最多，而且 API 介面極富彈性，適合需要極端客制化的企業網站。當然，靈活的背後還是得付出代價，無論是對用戶還是 developer 來說 Drupal 的學習曲線（Learning Curve）都是相當陡斜，要手到拿來還得需要付出相當努力去好好熟習一下。&lt;/p&gt;
&lt;h2&gt;
	多國語言支援能力&lt;/h2&gt;
&lt;p&gt;
	&lt;strong&gt;Drupal&lt;/strong&gt;，&lt;strong&gt;Wordpress&lt;/strong&gt;、 &lt;strong&gt;Joomla&lt;/strong&gt; 除了本質和功能上的不同以外，還有一個會影響到我們給客戶的建議的因素 -- 多國語言支援。香港是一個比任何一個城市都要國際化的大都會，網頁要求兩種、甚至乎三種語言都是輕鬆平常的事，所以一個 CMS 系統的多國語言支援能力就顯得極為重要，而這方面 Drupal 可以說是最成功的一個 CMS 平台。自 &lt;strong&gt;Drupal 6.x&lt;/strong&gt; （最新版本是 &lt;strong&gt;Drupal 7.x&lt;/strong&gt;）起，他的多語系系統都已內建到CMS平台的核心 （core），無論是將來系統升級或是新增功能／模組都能保證多語系的全面支援，大大減少系統出錯的機會和新增功能的限制。&lt;/p&gt;
&lt;p&gt;
	另一邊廂， &lt;strong&gt;Joomla&lt;/strong&gt; 雖然都能通過安裝 &lt;a href="http://www.joomfish.net" target="_blank" title="Joomla Joom!Fish 多語言支援模組"&gt;Joom!Fish&lt;/a&gt; 模組得到多語系的支援，但和 &lt;strong&gt;Drupal&lt;/strong&gt; 相比 &lt;strong&gt;Joomla&lt;/strong&gt; 的多語系支援和介面對一般（發表文章的）用戶來說非常容易產生混亂，不熟悉系統的用戶丟失文章可是相當普遍。至於 &lt;strong&gt;Wordpress&lt;/strong&gt;，雖然最近數月都沒有機會再跟進，不過從以前 &lt;a href="http://wpml.org" target="_blank" title="Wordpress WPML 多語言支援模組"&gt;WPML&lt;/a&gt; 多語言模組的支援其實只能算還在開發階段，雖然 &lt;strong&gt;Wordpress&lt;/strong&gt; 的易用性較能吸引客戶選用，不過因為多語言的支援方面的缺失還是會令我們建議 &lt;strong&gt;Drupal&lt;/strong&gt; 和 &lt;strong&gt;Joomla&lt;/strong&gt; 給客戶使用，我覺得其實是相當可惜的。&lt;/p&gt;
&lt;h2&gt;
	最難以取捨的地方&lt;/h2&gt;
&lt;p&gt;
	當要從 &lt;strong&gt;Drupal&lt;/strong&gt;, &lt;strong&gt;Wordpress&lt;/strong&gt; 和 &lt;strong&gt;Drupal&lt;/strong&gt; 之中選擇一個建議給客戶，通常最難取捨的情況莫過於網頁設計項目的 Project Scope。&lt;/p&gt;
&lt;p&gt;
	在網頁設計的過程中，客戶永遠都希望 CMS 系統簡單易用、功能齊備、架構靈活而且容易擴充，不過結果卻往往卻會導致兩個完全不同的選擇 -- &lt;strong&gt;Wordpress&lt;/strong&gt; 的靈活性和擴充性低，&lt;strong&gt;Drupal&lt;/strong&gt; 的架構複雜難懂，而 &lt;strong&gt;Joomla&lt;/strong&gt; 就易用性，靈活成和擴充性來說都不是最好的選擇。那到底要怎麼選呢？&lt;/p&gt;
&lt;p&gt;&lt;meta charset="utf-8" /&gt;&lt;/p&gt;
&lt;p&gt;
	如果項目要求多語系支援，現階段來說 Drupal 是我們唯一會推薦的選擇；但如果項目不需要多語系支援的話，這種時候通常都得用「錢」解決問題... 不是付錢去解決問題啦，而是應該從項目成本控制著手。&lt;/p&gt;
&lt;p&gt;
	如果客戶在商討階段已經有明確的擴充意向（無論是他的業務還是網站的擴充計劃），或者在商討階段已把系統的擴充性納入項目的系統要求 （project requirements），我一般都會建議客戶使用功能最小最簡單的 CMS 系統，盡量把擴充性排除在考慮範圍之外。使用較簡單的 CMS 系統較容易控制項目成本和時間表，對客戶和項目來說都是利多於弊。&lt;/p&gt;
&lt;p&gt;&lt;meta charset="utf-8" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
		&lt;strong&gt;Drupal CMS 官方網頁&lt;/strong&gt; (&lt;a href="http://www.drupal.org" target="_blank" title="Drupal CMS 官方網頁"&gt;www.drupal.org&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
		&lt;strong&gt;Wordpress CMS 官方網頁&lt;/strong&gt; (&lt;a href="http://www.wordpress.org" target="_blank" title="Wordpress CMS 官方網頁"&gt;www.wordpress.org&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
		&lt;strong&gt;Joomla CMS 官方網頁&lt;/strong&gt; (&lt;a href="http://www.joomla.org" target="_blank" title="Joomla CMS 官方網頁"&gt;www.joomla.org&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
	&lt;i&gt;你又會怎麼選呢？&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/drupal-vs-wordpress-vs-joomla-how-do-we-choose-between-the-three#comments"&gt;5 Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/drupal-vs-wordpress-vs-joomla-how-do-we-choose-between-the-three#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/drupal">Drupal</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/joomla">Joomla</category>
 <category domain="http://www.sourcesqr.com/zh-hant/category/web-design">Web Design</category>
 <category domain="http://www.sourcesqr.com/zh-hant/tag/wordpress">Wordpress</category>
 <pubDate>Tue, 01 Mar 2011 07:37:03 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">185 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Youtube Is Rolling Out New Expand Feature</title>
    <link>http://www.sourcesqr.com/zh-hant/youtube-is-rolling-out-new-expand-feature</link>
    <description>&lt;p&gt;
	&lt;img alt="Youtube New Expand Feature" src="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-feature.png" style="width: 620px; height: 459px; " /&gt;Just while I was stumbling upon &lt;a href="http://www.youtube.com"&gt;Youtube&lt;/a&gt; looking for a few relaxing video clips to spice up my breakfast, I was surprised and super excited that Youtube has finally started rolling out the most wanted feature (of mine) -- viewers can now &amp;quot;expand&amp;quot; the video to window size!&lt;/p&gt;
&lt;p&gt;
	Ok, it might be quite confusing to those who don&amp;#39;t usually use the expand feature. &amp;quot;Expand&amp;quot; is a button that locates on the lower right corner of every youtube video (this feature is only available if you are watching the clip on Youtube.com). Once you click on it, it will expand the video clip to the size of your browser window, and change the resolution automatically from 360p to 480p.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	It is a very good feature for most people, though if you are using a hi-res monitor, it could still be too small. You certainly could switch the video to fullscreen mode, however not everyone would wanna sit still, do nothing and watch those random people singing their lungs out (don&amp;#39;t get me wrong, I&amp;#39;m a big fan of &lt;a href="http://www.youtube.com/user/jayesslee" target="_blank"&gt;Jayesslee&lt;/a&gt; and &lt;a href="http://www.youtube.com/user/zeldaxlove64" target="_blank"&gt;Christine Grimmie&lt;/a&gt;), and this new enhanced expand feature seems to be the solution for all.&lt;/p&gt;
&lt;p&gt;
	As soon as I pressed the &amp;quot;Expand&amp;quot; button, the video clips was immediately zoomed in to the size of the safari window. Awesome, but that is not all. Google has done a beautiful job so that you can do almost everything without leaving this beautiful expanded video clip.&lt;/p&gt;
&lt;h2&gt;
	Video Controls&lt;a href="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-controls.png" rel="lightbox"&gt;&lt;img alt="Youtube new Expand feature - video playback controls" src="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-controls-small.png" style="float: right; width: 280px; height: 207px; " /&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;
	Video controls is now automatically hidden just like the way it is in fullscreen mode. You can bring up the video controls tool bar by moving your mouse or click anywhere on the video, and it will automatically appear in the middle of the window. Despite of the usual playback control, Youtube has added a thumb up and thumb down buttons for you to show your appreciation (or otherwise...) without leaving the video clip.&lt;/p&gt;
&lt;h2&gt;
	Related videos&lt;/h2&gt;
&lt;p&gt;
	&lt;a href="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-related-videos.png" rel="lightbox"&gt;&lt;img alt="Youtube new in-video expand feature - Related Videos" src="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-related-videos-small.png" style="float: left; width: 280px; height: 207px; " /&gt;&lt;/a&gt;If you move your cursor closer to the bottom of the video, you will get a large roll up menu that shows you all the good stuff related to this video... and you.&lt;/p&gt;
&lt;p&gt;
	You can choose from among Related videos, your feed, your watch later list, top picks in Youtube, and of course the videos you added to favorite, and the result will display in a marquee just right on top of the menu items. This is some very handy feature that allow you to do so much more all in one place without leaving the video screen.&lt;/p&gt;
&lt;h2&gt;
	In-Video Search&lt;a href="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-search.png" rel="lightbox"&gt;&lt;img alt="Youtube new in-video search feature" src="http://www.sourcesqr.com/sites/default/files/images/youtube-new-expand-search-small.png" style="float: right; width: 280px; height: 207px; " /&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;
	This new expand feature is such a well thought out enhancement (and get me thinking if that has anything to do with Google TV...). If you move your cursor closer to the top of the video, a search bar will appear! You can do a search directly in the video, and the results will show up at the bottom of the screen just like the &amp;quot;Related to...&amp;quot; results. This is a brilliant UX enhancement and I believe it will help engaging visitors to stay on Youtube and increase the pageviews.&lt;/p&gt;
&lt;h2&gt;
	Cons? Of Course&lt;/h2&gt;
&lt;p&gt;
	There is one problem, and I think it could very well defeat the purpose of all these user experience enhancement. Whenever I move the cursor outside of the video, I get the &amp;quot;Related To...&amp;quot; tool bar, which pretty much covers half of the window, making it very difficult to watch the video if I want to do something else at the same time. Youtube definitely needs to fix this when they are rolling out this feature officially if they want this new investment a success.&lt;/p&gt;
&lt;p&gt;
	It seems that right now all these features are only available on Safari, which got me thinking though -- shouldn&amp;#39;t they start with Google Chrome instead (maybe it does in Windows, but oh well I wouldn&amp;#39;t know as I only tested with my Mac)? Nonetheless, I love these features and hopefully Youtube will roll them out across all browsers and operation systems very soon.&lt;/p&gt;
&lt;p&gt;
	&lt;em&gt;Do you like these features? Will it be more convincing if this is what the future Google TV gonna look like?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/youtube-is-rolling-out-new-expand-feature#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/youtube-is-rolling-out-new-expand-feature#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/2">General</category>
 <category domain="http://www.sourcesqr.com/zh-hant/category/web-design">Web Design</category>
 <pubDate>Thu, 17 Feb 2011 03:25:44 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">174 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>新年快樂，兔年吉星高照！</title>
    <link>http://www.sourcesqr.com/zh-hant/%E6%96%B0%E5%B9%B4%E5%BF%AB%E6%A8%82%EF%BC%8C%E5%85%94%E5%B9%B4%E5%90%89%E6%98%9F%E9%AB%98%E7%85%A7%EF%BC%81</link>
    <description>&lt;p&gt;
	致親愛的客戶和朋友,&lt;/p&gt;
&lt;p&gt;	我們能有今天的成果全靠各位一直以來對我們的支持和信任，實在要感謝每一位曾給我們寶貴的機會和意見的朋友。我們的團隊已整裝待發，準備好來年盡全力報答大家的支持！&lt;/p&gt;
&lt;p&gt;	&lt;em&gt;&lt;strong&gt;謹祝各位兔年生意興隆，財源廣進，業務蒸蒸日上！&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;a href="http://www.sourcesqr.com/sites/default/files/images/cny-greeting.png" rel="lightbox"&gt;&lt;img alt="" src="http://www.sourcesqr.com/sites/default/files/images/cny-greeting_600.png" style="width: 600px; height: 343px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	Best,&lt;/p&gt;
&lt;p&gt;
	Kelvin Lee&lt;br /&gt;
	Director&lt;br /&gt;
	SourceSquare | Search Marketing Strategies&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/%E6%96%B0%E5%B9%B4%E5%BF%AB%E6%A8%82%EF%BC%8C%E5%85%94%E5%B9%B4%E5%90%89%E6%98%9F%E9%AB%98%E7%85%A7%EF%BC%81#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/%E6%96%B0%E5%B9%B4%E5%BF%AB%E6%A8%82%EF%BC%8C%E5%85%94%E5%B9%B4%E5%90%89%E6%98%9F%E9%AB%98%E7%85%A7%EF%BC%81#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/2">General</category>
 <pubDate>Tue, 01 Feb 2011 05:34:28 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">172 at http://www.sourcesqr.com</guid>
  </item>
  <item>
    <title>Link Request 是什麼？為什麼你不能忽視？</title>
    <link>http://www.sourcesqr.com/zh-hant/why-you-should-care-about-link-requests</link>
    <description>&lt;p&gt;
	你有自己的網站嗎？還是你負責管理你公司的網站？你有沒有收過別的網站管理員向你提出交換連結的要求？我們會告訴你為什麼你需要重視這些 Link Request，和當你收到這些 Link Request 的時候應該怎樣處理；如果你曾經收過這些電郵而你直接把它們丟掉的話，建議你立即到資源回收筒找一下，因為正確處理 Link Request 可能會為你的網頁帶來意想不到的收穫。&lt;/p&gt;
&lt;h2&gt;
	Link Request 是什麼？ Links （網站連結）到底有什麼作用？&lt;/h2&gt;
&lt;p&gt;
	&lt;a href="http://www.sourcesqr.com/sites/default/files/imagepicker/1/why-should-you-care-about-link-request.jpg" rel="lightbox" style="float: right;" title="Why You Should Care About Link Requests"&gt;&lt;img alt="Why You Should Care About Link Requests" class="shadow" src="http://www.sourcesqr.com/sites/default/files/imagepicker/1/why-should-you-care-about-link-request.jpg" style="width: 306px; height: 254px;" /&gt;&lt;/a&gt;現代搜尋引擎都以數以百計的條件去決定一個網頁在搜尋結果的排名，單以 Google 為例，搜尋排名的條件就多達200+（註：「排名」在這裡指搜尋結果排名 [&lt;a href="http://www.sourcesqr.com/zh-hant/what-is-serp-search-engine-result-page" title="什麼是 SERP?"&gt;SERP&lt;/a&gt; Ranking / Position]，不是網站排名 [&lt;a href="http://www.sourcesqr.com/zh-hant/what-is-pagerank-pr" title="什麼是 PageRank (PR#)?"&gt;PageRank&lt;/a&gt;]）。每一個因素的份量都不同，而且還會因應環境，使用者習慣等等而不斷更新，確保搜尋結果質素的同時，防止有人蓄意欺騙搜尋引擎排名。&lt;/p&gt;
&lt;p&gt;
	在眾多影響排名的人數當中，但是涉及 &lt;a href="http://www.sourcesqr.com/zh-hant/what-is-back-link" title="什麼是 backlink?"&gt;backlinks&lt;/a&gt; 連結的就佔總比重的15%，足以直接影響一個網站、甚至乎整個 marketing campign 的成敗。&lt;/p&gt;
&lt;p&gt;
	搜尋結果／網站排名和連結的關係其實很簡單：backlinks 連結的數量、backlinks 連結的關聯、backlinks 連結的質素；換言之，一個網頁越多 backlinks 連結、連結的來源網站題目越相關／相似、backlinks 連結的來源網站的網站排名（&lt;a href="http://www.sourcesqr.com/zh-hant/what-is-pagerank-pr" title="什麼是 PageRank (PR#)?"&gt;PageRank&lt;/a&gt;）越高，你的網頁在搜尋結果的位置就會越高。&lt;/p&gt;
&lt;h2&gt;
	怎樣分析 Link Request&lt;/h2&gt;
&lt;p&gt;
	對於所有SEO專業人員來說，link buildling 是整個SEO企畫其中一個最能左右成敗的元素 -- 除了因應市場和 campaign 的要求製作能吸引人主動連結的內容以外，還會根據分析尋找出合適的網站要求建立連結合作伙伴 (link partner) 關係，互相連結。&lt;/p&gt;
&lt;p&gt;
	坊間有很多形形式式的 link request，不同的SEO團隊會有不同的風格和手法，有原創性十足亦有良莠不齊的，往往令不熟悉SEO campaign 運作的收信者無所適從，白白錯失建立連結伙伴的機會。下面是三個比較常見的情況，我們會解釋一下你為什麼應該或不應該接受一個 link request。&lt;/p&gt;
&lt;h3&gt;
	情況 1: 對方要求你連結到他們的網頁，而他們亦會連結到你的網業&lt;/h3&gt;
&lt;p&gt;
	這是最理想的情況，你只需留意一下要求連結的網站有沒有值得連結的內容、連結該網站的內容對你的讀者有沒有幫助、和那個網站的題目和你的網站有沒有關聯。簡單的說，假設你的網站提供旅遊資訊，我相信你的讀者對一些關於地產市道相關消息的連結應該不會有什麼興趣，可能反而令你的讀者的注意力被分散，得不償失。&lt;/p&gt;
&lt;h3&gt;
	情況 2: 對方要求你連結到他們指定的網以... 就這麼多&lt;/h3&gt;
&lt;p&gt;
	他們可能覺得你的連結有十分有價值，不過肯定他們對你的網站所提供的內容一點興趣也沒有。有流傳說一個網站對外與對內的連結比 (ratio of inbound and outbound links) 也會影響一個網站的排名，信奉這種說法的SEO團隊往往不會相對的承諾連結到你的網站。&lt;/p&gt;
&lt;p&gt;
	如果你覺得他們的內容有用，或者你覺得你的讀者對他們的內容有興趣的話，也不妨連結到他們的網站；你也可以嘗試向他們提出連結的要求，這可以視乎你的心情再決定 :)。&lt;/p&gt;
&lt;h3&gt;
	情況 3: 對方要求你連結到他們的網頁，而他們會從別的網站連結到你的網站&lt;/h3&gt;
&lt;p&gt;
	每一次收到這種 link request 都令人特別氣憤，你只要細心留意一下，不難發現他們所承諾的連結是從一些看起來不怎麼樣、滿是不相關的連結的網站（例如&lt;a href="http://www.adstro-online.com/" rel="nofollow" target="_blank"&gt;這個網頁&lt;/a&gt;）；這種網站一般稱之為 &lt;a href="http://en.wikipedia.org/wiki/Link_farm" target="_blank" title="Link Farm in Wikipedia"&gt;Link Farm&lt;/a&gt;，主要用來作不等價交換連結 -- 對方要求你連結到 A 網站，但卻只提供排名更低的 B 網站的反向連結作回報 -- 用途。除了這些連結本身的價值近乎零以外，若被搜尋引擎發現你的網頁有大量從 Link Farm 網站以來的連結很可能會被降低排名，甚至乎被剔除在搜尋器目錄之外，反而得不償失。&lt;/p&gt;
&lt;h2&gt;
	與對方建立連結&lt;/h2&gt;
&lt;p&gt;
	通常 Link Request 裡都會詳細列出要連結的網址和連結錨文字 (Anchor Text) ，你可以用來參考，不過你不一定要完全按照對方的意思去建立連結。&lt;/p&gt;
&lt;p&gt;
	一般來說最容易及最有效的連結方式就是在任何網站或 Blog 文章的內容裡找出相關的關鍵字然後建立連結，這樣做不單只這些連結看起來自然，而且更能為你的文章內容加以印證，方便讀者之餘又能增加你的文章的可信性，對你的網站其實相當有好處的。&lt;/p&gt;
&lt;p&gt;
	&lt;em&gt;你收過的 Link Request 之中有沒有哪一個是特別有創意的呢？&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="font-size: 1.25em; font-weight: bold;"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td width="60"&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="comment-link" style="font-size: 1.25em; font-weight: bold; padding-bottom: .25em;"&gt;&lt;a href="/zh-hant/why-you-should-care-about-link-requests#comments"&gt;No Comments&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;</description>
     <comments>http://www.sourcesqr.com/zh-hant/why-you-should-care-about-link-requests#comments</comments>
 <category domain="http://www.sourcesqr.com/zh-hant/taxonomy/term/23">link building</category>
 <pubDate>Mon, 08 Nov 2010 04:12:24 +0000</pubDate>
 <dc:creator>Kelvin Lee</dc:creator>
 <guid isPermaLink="false">170 at http://www.sourcesqr.com</guid>
  </item>
  </channel>
</rss>

