Coppermine的搜索引擎优化
[ 2007-01-11 22:13:48 | Author: seaboat ]
Coppermine是套不错的图库程序,我用它搭了一个叫“藏画”的网站。
发现它的HTML代码中少了点东西:
<meta name="description" content="..." />
<meta name="keywords" content="..." />
看上去对搜索引擎不够友好,因此改了一下代码,增加这两行代码。以下是修改纪录:
lang/chinese_gb.php
Comments Feed: http://www6.webng.com/seaboat/feed.asp?q=comment&id=551
发现它的HTML代码中少了点东西:
<meta name="description" content="..." />
<meta name="keywords" content="..." />
看上去对搜索引擎不够友好,因此改了一下代码,增加这两行代码。以下是修改纪录:
lang/chinese_gb.php
$seo_meta_description = '藏画,中国书画艺术精品收藏';
$seo_meta_keywords = '极乐客,极客,奇客,中国,书法,国画,绘画,国学,艺术,音乐,古典,收藏,兴趣,爱好,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
lang/chinese_big5.php$seo_meta_keywords = '极乐客,极客,奇客,中国,书法,国画,绘画,国学,艺术,音乐,古典,收藏,兴趣,爱好,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
$seo_meta_description = '藏畫,中國書畫藝術精品收藏';
$seo_meta_keywords = '極樂客,極客,奇客,中國,書法,國畫,繪畫,國學,藝術,音樂,古典,收藏,興趣,愛好,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
lang/japanese.php$seo_meta_keywords = '極樂客,極客,奇客,中國,書法,國畫,繪畫,國學,藝術,音樂,古典,收藏,興趣,愛好,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
$seo_meta_description = '中国の絵画と書道作品の収集';
$seo_meta_keywords = '中国,書道,書法,絵画,国学,芸術,音楽,古典,収集,興味,趣味,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
lang/*.php$seo_meta_keywords = '中国,書道,書法,絵画,国学,芸術,音楽,古典,収集,興味,趣味,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
$seo_meta_description = 'Collection of painting and calligraphy work of China';
$seo_meta_keywords = 'China,calligraphy,penmanship,painting,Chinese classical literature,art,music,classics,collection,interest,hobby,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
include/themes.inc.php$seo_meta_keywords = 'China,calligraphy,penmanship,painting,Chinese classical literature,art,music,classics,collection,interest,hobby,China,Geek,Arts,Paint,Hobby,Copermine,Galery,CPG';
function pageheader($section, $meta = '')
{
global $CONFIG, $THEME_DIR;
global $template_header, $lang_charset, $lang_text_dir;
global $seo_meta_description, $seo_meta_keywords;
$seo_meta = "<meta name=\"description\" content=\"$seo_meta_description\" />";
$seo_meta .= "\n<meta name=\"keywords\" content=\"$seo_meta_keywords\" />";
$meta .= $seo_meta;
... ...
我只懂得中文(简体/繁体)、英文、日文,其他语言不懂,因此语言文件只能用英文的关键字。
{
global $CONFIG, $THEME_DIR;
global $template_header, $lang_charset, $lang_text_dir;
global $seo_meta_description, $seo_meta_keywords;
$seo_meta = "<meta name=\"description\" content=\"$seo_meta_description\" />";
$seo_meta .= "\n<meta name=\"keywords\" content=\"$seo_meta_keywords\" />";
$meta .= $seo_meta;
... ...
[Last Modified By seaboat, at 2007-10-08 08:19:58]
Comments Feed: http://www6.webng.com/seaboat/feed.asp?q=comment&id=551
View Mode: Show All |
Comments: 1 |
Trackbacks: 0 | Toggle Order | Views: 800
[ 2009-10-22 14:22:12 ]
In this process, the media is crucial; blogs, and mass media. ,






