
2008年5月4日
W3Techs在2012年1月, 發(fā)出最新的"全球互聯(lián)網(wǎng)CMS使用情況報告",該統(tǒng)計基于對全球Alexa排名前100W的網(wǎng)站做分析而得出.
排名顯示W(wǎng)ordPress依然排名第一,Joomla排名第二,Drupal排名第三.
統(tǒng)計數(shù)據(jù)說明:
- 71%的網(wǎng)站沒有使用內(nèi)容管理系統(tǒng)
- 15.7%的網(wǎng)站使用了WordPress
- 使用內(nèi)容管理系統(tǒng)的網(wǎng)站中WordPress 占有54.2%份額
下圖展現(xiàn)了互聯(lián)網(wǎng)使用內(nèi)容管理系統(tǒng)的百分比情況.
內(nèi)容管理系統(tǒng)(CMS)中使用率小于1%系統(tǒng)有:
- Contenido
- Google Sites
- MODx
- Serendipity
- Umbraco
- CommonSpot
- b2evolution
- DokuWiki
- Dynamicweb CMS
- Kentico
- Magnolia
- Textpattern
- Convio
- Imperia
- Amiro.CMS
- Infopark CMS Fiona
- Tiki Wiki CMS Groupware
- Posterous
- WebGUI
- mojoPortal
- Danneo
- Geeklog
- CMSimple
- fCMS
- InterRed
- NQcontent
- Percussion
- Graffiti
- Jadu CMS
- Contensis
- Government Site Builder
- ZMS
- MidCOM
- Jieqi CMS
- Rainbow
- GetSimple
- AxCMS.net
- CoreMedia
- Amaxus
- Komodo
- Papaya CMS
- Sense/Net
- YAF.NET
- Blogg.se
- Bricolage
- Crowd Fusion
- ImpressCMS
- Apache Lenya
- Artiphp
- ImpressPages CMS
- Melody
- ocPortal
- Bigace
- gpEasy
- AdVantShop
- Django CMS
- phpCOIN
轉(zhuǎn)載:
水下江湖
posted @
2012-01-09 12:02 jiang 閱讀(453) |
評論 (0) |
編輯 收藏
1.在 /conf/Catalina/localhost/ 下創(chuàng)建 project.xml.
注意: Catalina中的第一個字母要大寫,因為在/conf/server.xml中有" Service name="Catalina" ",已經(jīng)將它的名字確定,并且linux是區(qū)分大小寫的
2.project.xml 的寫法:
<?xml version='1.0' encoding='utf-8'?>
<Context
path="/project"
docBase="/home/jiang/projec/WebRoot"
reloadable="true"
crossContext="true"
workDir="/home/jiang/projec/work"
>
</Context>
3.運行tomcat6就可以了
posted @
2008-05-13 10:23 jiang 閱讀(1488) |
評論 (0) |
編輯 收藏
把一個長的字符串變成短的字符串,并且在每一行末尾加入 \n
/**
* 計算字符串的 ascii 碼長度
*
* @param s
* @return
*/
public int strLength(String s) {
int result = 0;
for (int i = 0; i < s.length(); i++) {
if (isDoublebyteWord(s.substring(i, i + 1))) {
result += 2;
} else {
result += 1;
}
}
return result;
}
/**
* 判斷是否雙字節(jié)字符
*
* @param str
* @return
*/
public boolean isDoublebyteWord(String str) {
System.out.println(str);
byte[] b;
int temp;
for (int i = 0; i < str.length(); i++) {
b = str.substring(i, i + 1).getBytes();
temp = b[0];
if (temp > 0) {
return false;
}
}
return true;
}
/**
* 公割字符串
* @param s 字符串
* @param len 一小段的長度
* @return
*/
public static String changeString(String s, int len) {
LongStringToShort lts=new LongStringToShort();
String result = "";
len = (int) len / 8;
int totalLen = lts.strLength(s);
// 錯誤調(diào)用
if (s.length() < 1 || len < 1)
return "";
// 只有一小段,不分割
if (totalLen < len)
return s;
// 計算該字符串應(yīng)該分幾段
int num = (int) totalLen / len;
if (((float) totalLen / len) > num)
num++;
System.out.println("應(yīng)該分" + num + "段" + len);
int sl = 0;
for (int i = 0; i < s.length(); i++) {
String temp = s.substring(i, i + 1);
if (lts.isDoublebyteWord(temp)) {
sl += 2;
} else {
sl += 1;
}
result += temp;
if (sl > (len - 1)) {
System.out.println("hello");
sl = 0;
result += "\n";
continue;
}
}
return result;
}
posted @
2008-05-04 15:41 jiang 閱讀(2174) |
評論 (0) |
編輯 收藏