keyword標簽有利搜索的修改
更新時間:2007年02月15日 00:00:00 作者:
在KS_Cls\KS_RefreshCls.asp中分別搜索到{$GetArticleKeyWord}和{$GetPictureKeyWord}和{$GetDownKeyWord}分別在之后加上下面的一句,一定要看清楚了,
FileContent = Replace(FileContent, "{$GetArticleKeyWord}", Replace(RefreshRS("KeyWords"), "|", ","))
FileContent = Replace(FileContent, "{$GetPictureKeyWord}", Replace(RefreshRS("KeyWords"), "|", ","))
FileContent = Replace(FileContent, "{$GetDownKeyWord}", Replace(RefreshRS("KeyWords"), "|", ","))
如果使用keyword作瀏覽器meta信息時,需要作以上修改。因為關鍵字是用英文逗號分割的,這樣的修改也不會影響到數(shù)據(jù)庫和程序用“|”運行。
FileContent = Replace(FileContent, "{$GetArticleKeyWord}", Replace(RefreshRS("KeyWords"), "|", ","))
FileContent = Replace(FileContent, "{$GetPictureKeyWord}", Replace(RefreshRS("KeyWords"), "|", ","))
FileContent = Replace(FileContent, "{$GetDownKeyWord}", Replace(RefreshRS("KeyWords"), "|", ","))
如果使用keyword作瀏覽器meta信息時,需要作以上修改。因為關鍵字是用英文逗號分割的,這樣的修改也不會影響到數(shù)據(jù)庫和程序用“|”運行。
相關文章
kesion 科訊不用登錄實現(xiàn)digg的修改方法
科訊4.5的系統(tǒng)增加了dig功能,可是不注冊的用戶無法digg是個不好的地方,本來國內(nèi)的民眾就不喜歡回復,一個digg要注冊時很難的了,所以該了下。2008-01-01