<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6227493878504190818</id><updated>2011-07-31T01:51:23.585+08:00</updated><category term='control'/><category term='Join'/><category term='SQL'/><category term='data mining'/><category term='php'/><category term='商务智能'/><category term='Tech'/><category term='Project'/><category term='mexico'/><category term='Geek'/><category term='联接'/><category term='analytics'/><category term='TDWI'/><category term='command'/><category term='数据仓库'/><category term='聚合'/><category term='presentation'/><category term='Database'/><category term='BI'/><category term='Career'/><category term='谷歌'/><category term='猪流感'/><category term='查询'/><category term='数据挖掘'/><category term='flu'/><category term='script'/><category term='windows'/><category term='Data Warehouse'/><category term='code'/><category term='widget'/><category term='google'/><category term='twice'/><title type='text'>PK a.k.a. Primary Key</title><subtitle type='html'>An Information Management Study Blog</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6227493878504190818.post-5873148026413976895</id><published>2009-11-23T05:40:00.005+08:00</published><updated>2009-11-23T07:52:59.965+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='control'/><category scheme='http://www.blogger.com/atom/ns#' term='twice'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='widget'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>How to create a wordpress widget control panel</title><content type='html'>For my curiosity, I tried to create a simple Wordpress widget the other day to find out how it works. There is a ton of posts online to tutor you from scratch. Some of them are very clear and helpful. I recommend the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.lonewolfdesigns.co.uk/wordpress-widgets-control-panels/"&gt;How to create widgets with control panels&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://valums.com/create-wordpress-widget/"&gt;Create a Wordpress widget from scratch&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;As for me, I tried to realize a widget with database activities, i.e. to create and drop tables, insert and update records. There is another one from Wordpress Codex which is ultimately helpful.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://codex.wordpress.org/Creating_Tables_with_Plugins"&gt;&lt;span style="font-size:100%;"&gt;Creating Tables with Plugins&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:100%;"&gt;This post is in no place to substitute any of them listed above. However, when I was trying with my idea, everything works together well except that the code in the control panel method of my widget always gets executed twice! In terms of database, that is redundant data.&lt;br /&gt;&lt;br /&gt;If you did follow those posts, your widget's control panel method will look like this:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="brush: php"&gt;&lt;br /&gt;//Control panel method&lt;br /&gt;function control(){&lt;br /&gt;//essential declaration&lt;br /&gt;global $wpdb;&lt;br /&gt;//set table name again&lt;br /&gt;$table_name = $wpdb-&gt;prefix . "mytable";&lt;br /&gt;//test if the form is submit,that is the save button clicked, get the arguments from the form&lt;br /&gt;if ( isset($_POST['mywidget-submit'])){&lt;br /&gt; //some parameter transaction here&lt;br /&gt;&lt;br /&gt; //prepare query&lt;br /&gt; $insertsql='INSERT INTO '&lt;br /&gt;  .$table_name&lt;br /&gt;  .'(a,b,c,d,e)'&lt;br /&gt;  .'VALUES'&lt;br /&gt;  .'( A,B,C,D,E);';&lt;br /&gt;  //execute query and write into database&lt;br /&gt;  $wpdb-&gt;query( $insertsql );&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;//design the control panel form here and output&lt;br /&gt;$control_form='&lt;input name="mywidget-submit" value="1" type="hidden"&gt;'.'...'&lt;br /&gt;echo $control_form;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;It is absolutely right and working. If you are just using add,update,delete_option (refer to the Wordpress functions) to manipulate your parameters. This is totally fine. In my case, the INSERT statement will be run twice every time the "Save" button is hit on the widget control panel.&lt;br /&gt;&lt;br /&gt;Here is how it works:&lt;br /&gt;When the "Save" button is pressed,the "hidden" input control in our control panel form is submitted and the whole is method is called. Now that we test the value from $_POST if the "hidden" control is submit and run the code to insert the Sql statement.&lt;br /&gt;&lt;br /&gt;I suspect that when it is done, the control panel will be reloaded again by Wordpress however the $_POST['mywidget-submit'] status is never changed. That's why it happens twice every time.&lt;br /&gt;&lt;br /&gt;My solution to this is simple (I believe this is not a perfect one. Let me know if you have others.) To explicitly unset the &amp;amp;_POST['mywidget-submit'] when the code is run, in this case, just after the Sql statement is issued.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: php"&gt;&lt;br /&gt;//unset the post array otherwise the query is run twice&lt;br /&gt;unset($_POST['mywidget-submit']);&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;--the Primekey&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6227493878504190818-5873148026413976895?l=primekey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/5873148026413976895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://primekey.blogspot.com/2009/11/how-to-create-wordpress-widget-control.html#comment-form' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/5873148026413976895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/5873148026413976895'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/2009/11/how-to-create-wordpress-widget-control.html' title='How to create a wordpress widget control panel'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6227493878504190818.post-4454928599142372294</id><published>2009-04-30T17:08:00.006+08:00</published><updated>2009-04-30T17:15:29.318+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mexico'/><category scheme='http://www.blogger.com/atom/ns#' term='谷歌'/><category scheme='http://www.blogger.com/atom/ns#' term='flu'/><category scheme='http://www.blogger.com/atom/ns#' term='data mining'/><category scheme='http://www.blogger.com/atom/ns#' term='数据挖掘'/><category scheme='http://www.blogger.com/atom/ns#' term='聚合'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='analytics'/><category scheme='http://www.blogger.com/atom/ns#' term='presentation'/><category scheme='http://www.blogger.com/atom/ns#' term='猪流感'/><title type='text'>Google Flu Trend 谷歌发布流感趋势实验站点</title><content type='html'>Google发布了墨西哥的猪流感趋势警报:&lt;br /&gt;&lt;blockquote&gt;&lt;a href="http://www.google.org/flutrends/intl/en_mx/index.html" target="_blank"&gt;http://www.google.org/flutrends/intl/en_mx/index.html&lt;/a&gt;&lt;/blockquote&gt;在这个站点上同时还透露了这个实验的细节, 工作原理, 甚至还有原始数据. 先挖个坑, 有空稍微看看.&lt;div class="blogger-post-footer"&gt;--the Primekey&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6227493878504190818-4454928599142372294?l=primekey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/4454928599142372294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://primekey.blogspot.com/2009/04/google-flu-trend.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/4454928599142372294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/4454928599142372294'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/2009/04/google-flu-trend.html' title='Google Flu Trend 谷歌发布流感趋势实验站点'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6227493878504190818.post-157878613447105969</id><published>2009-04-27T09:44:00.003+08:00</published><updated>2009-04-27T10:13:50.795+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data Warehouse'/><category scheme='http://www.blogger.com/atom/ns#' term='数据仓库'/><category scheme='http://www.blogger.com/atom/ns#' term='Project'/><category scheme='http://www.blogger.com/atom/ns#' term='商务智能'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='BI'/><category scheme='http://www.blogger.com/atom/ns#' term='TDWI'/><title type='text'>Data Warehousing Maturity</title><content type='html'>TDWI 's latest publication &lt;a href="http://www.tdwi.org/Publications/display.aspx?Id=7254"&gt;"Gauge Your Data Warehousing Maturity"&lt;/a&gt; presents six stage model for a typical BI system life cycle. It provides sort of guidance on where you are and where you should go in the process of BI/DW.&lt;br /&gt;&lt;br /&gt;Sadly, I have found out the place I work is still sitting somewhere between prenatal and child stage--formatting reports and struggling with all kinds of spreadsheets. Users are not statisfied with what and how they get the data (althoug they are pretty satisfied with their own spreadsheets). One hand, information is bits here and bits there. On the other, it is not possible to "search" for the information as needed. Yet I find it very hard to push forward to the next stage as there seems to be little awareness that data is valuable asset in such an environment that real production only is treated as valuable.&lt;br /&gt;&lt;br /&gt;The article clearly predicts in the end that at final stage of BI system, the system itself should become unnoticed. It is bit of ideal but I believed years ago that IT should not exist as its final form of existence.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;译言的译文&lt;a href="http://www.yeeyan.com/articles/view/80305/38060?orgin=index"&gt;连接在这里&lt;/a&gt;!&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;--the Primekey&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6227493878504190818-157878613447105969?l=primekey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/157878613447105969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://primekey.blogspot.com/2009/04/data-warehousing-maturity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/157878613447105969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/157878613447105969'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/2009/04/data-warehousing-maturity.html' title='Data Warehousing Maturity'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6227493878504190818.post-7010325557896303798</id><published>2009-03-25T21:30:00.013+08:00</published><updated>2009-04-09T16:32:42.524+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='查询'/><category scheme='http://www.blogger.com/atom/ns#' term='Tech'/><category scheme='http://www.blogger.com/atom/ns#' term='Join'/><category scheme='http://www.blogger.com/atom/ns#' term='联接'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Career'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>短路SQL</title><content type='html'>日前在考试时脑子短路了，搞的很低，回来想想发现傻的一比。今天有空赶紧写下来，靠靠靠靠靠。。。唉，鄙视自己一下。&lt;br /&gt;1. having子句是用在group by前面还是后面。正解：后面。Where用来筛选分组前的记录，having用来筛选分组后的记录。&lt;br /&gt;2.两张表(大概是这意思）：&lt;br /&gt;&lt;div&gt;&lt;table  border="0" bordercolor="#000000" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="50%"&gt;&lt;div&gt;&lt;table  border="1" bordercolor="#000000" cellpadding="3" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="50%"&gt;T1.ID&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;T1.Value&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="50%"&gt;1&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;a&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="50%"&gt;2&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;b&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="50%"&gt;3&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;c&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;td width="50%"&gt;&lt;div&gt;&lt;table  border="1" bordercolor="#000000" cellpadding="3" cellspacing="0" height="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="50%"&gt;T2.ID&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;T2.Value&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="50%"&gt;2&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;a&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="50%"&gt;3&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;b&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="50%"&gt;4&lt;br /&gt;&lt;/td&gt;&lt;td width="50%"&gt;c&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;写出以下三个查询的结果：&lt;br /&gt;&lt;blockquote&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;Select T1.value,T2.value from T1 LEFT JOIN T2 ON T1.ID=T2.ID；&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;结果：&lt;br /&gt;a    null&lt;br /&gt;     b    a&lt;br /&gt;     c    b&lt;br /&gt;&lt;blockquote&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;Select T1.value,T2.value from T1 LEFT JOIN T2 ON T1.ID=T2.ID where T1.ID=2；&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;结果：&lt;br /&gt;b    a&lt;br /&gt;&lt;blockquote&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;Select T1.value,T2.value from T1 LEFT JOIN T2 ON T1.ID=T2.ID and T1.ID=2；&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;结果：&lt;br /&gt;a    null&lt;br /&gt;     b    a&lt;br /&gt;     c    null&lt;br /&gt;&lt;br /&gt;这下对了吧?&lt;div class="blogger-post-footer"&gt;--the Primekey&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6227493878504190818-7010325557896303798?l=primekey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/7010325557896303798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://primekey.blogspot.com/2009/03/sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/7010325557896303798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/7010325557896303798'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/2009/03/sql.html' title='短路SQL'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6227493878504190818.post-1635673099424464827</id><published>2009-03-20T22:02:00.001+08:00</published><updated>2009-03-20T22:04:50.771+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geek'/><category scheme='http://www.blogger.com/atom/ns#' term='Tech'/><category scheme='http://www.blogger.com/atom/ns#' term='command'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><title type='text'>Windows Command 输出日期字符串</title><content type='html'>昨天在写一个应用的备份的批处理命令，想要根据备份执行的日期来命名文件。 作为一个很不入门的菜鸟， 我已经连基本的MS-DOS命令都不怎么想的起来了。 同事的脚本是用日期来建一个文件夹， 然后把备份放在里面， 我偏想直接用日期命名文件。 搜了一下， CSDN上有个太监贴， 同样的问题， 最后没有结果。 于是自己琢磨了一下， 结果如下：&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;C:\&gt;date/t&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;2009-03-20 星期五&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;C:\&gt;echo %date:~0,4%%date:~5,2%%date:~8,2%&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;20090320&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;C:\&gt;set var1=%date:~0,4%%date:~5,2%%date:~8,2%&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;C:\&gt;set var1&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;var1=20090320&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;C:\&gt;echo %var1%&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;20090320&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;C:\&gt;echo %date:~0,4%%date:~5,2%%date:~8,2%%date:~11,3%&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: rgb(207, 226, 243);"&gt;20090320星期五&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;当 然，需要根据系统的日期格式进行调整。 然后新建文件的时候只要把这个字符串再加上一些标识符， 比如项目名称就可以每天有不重复的备份文件了。 有些东西，知道了就很简单， 不知道就很挫。 好比， 顺便还发现了Windows自己的makecab.exe程序的一些东西， 挺好用的。 关于makecab.exe能搜到很多， 我就不贴了， 提供别处搜不到的东西才是王道。&lt;div class="blogger-post-footer"&gt;--the Primekey&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6227493878504190818-1635673099424464827?l=primekey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/1635673099424464827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://primekey.blogspot.com/2009/03/ms-dos-csdn-datet-2009-03-20-echo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/1635673099424464827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/1635673099424464827'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/2009/03/ms-dos-csdn-datet-2009-03-20-echo.html' title='Windows Command 输出日期字符串'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6227493878504190818.post-786222260220894452</id><published>2009-02-04T17:14:00.000+08:00</published><updated>2009-03-05T13:20:05.492+08:00</updated><title type='text'>Tiny Tiny Little改动Blogger的Linklist, 让链接从新窗口打开</title><content type='html'>1.&lt;br&gt;实在是一个小得不能再小的改进,也算是结束无所事事的过年.&lt;br&gt;打开Blogger的定制面板, 进入编辑HTML状态, 然后选上&amp;quot;Expand Widget Templates&amp;quot;.&lt;br&gt;在Linklist这个wiget的地方可以找到如下的代码, 添加蓝色的部分便可.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &amp;lt;ul&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:loop values=&amp;#39;data:links&amp;#39; var=&amp;#39;link&amp;#39;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a expr:href=&amp;#39;data:link.target&amp;#39; &lt;font size="4"&gt;&lt;b style="color: rgb(51, 51, 255);"&gt;target=&amp;#39;_blank&amp;#39;&lt;/b&gt;&lt;/font&gt;&amp;gt;&amp;lt;data:&lt;a href="http://link.name/"&gt;link.name/&lt;/a&gt;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/b:loop&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&amp;nbsp;2.&lt;br&gt;试验Gmail的引用格式发布出来是如何的样子.&lt;br&gt;&lt;br&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; 这些是引用的句子.&lt;br&gt;另起一行&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;样式:&amp;lt;blockquotestyle=&amp;quot;border: 1px solid rgb(222, 219, 222); padding: 10px; background-color: rgb(255, 193, 37); font-size: 15px; font-weight: lighter;&amp;quot;&amp;gt; This is quoted text&amp;lt;/blockquote&amp;gt; &lt;br&gt; &lt;/div&gt;&lt;div&gt;&lt;br&gt;3.&lt;br&gt;推荐一首歌: Talk you down by &lt;a href="http://www.thescriptmusic.com/gb/home/"&gt;The Script&lt;/a&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;--the Primekey&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6227493878504190818-786222260220894452?l=primekey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://primekey.blogspot.com/feeds/786222260220894452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://primekey.blogspot.com/2009/02/tiny-tiny-littlebloggerlinklist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/786222260220894452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6227493878504190818/posts/default/786222260220894452'/><link rel='alternate' type='text/html' href='http://primekey.blogspot.com/2009/02/tiny-tiny-littlebloggerlinklist.html' title='Tiny Tiny Little改动Blogger的Linklist, 让链接从新窗口打开'/><author><name>KenJ</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
