Linux 软件免费装

BlogMechanics KeywordLink

开发者 blogmechanic
martin
更新时间 2017年3月13日 20:21
PHP版本: 2.3 及以上
WordPress版本: 2.7

标签

link replacement keyword

下载

0.2 0.3 0.3.1 0.3.2 0.4 0.4.1 0.4.2 0.4.5 0.5 0.6 0.6.1 0.7 0.7.1

详情介绍:

This plugin is under the GPL License [http://www.opensource.org/licenses/gpl-license.php] Site: http://www.dijksterhuis.org Author: martijn@dijksterhuis.org A plugin that allows you to define keyword/link pairs. The keywords are automatically linked in each of your posts. This is usefull for improving the internal cross referencing pages inside your site or to automatically link to external partners (SEO). You can decided for each link if you would like to: It is possible to CSS style links: To help maintain longer keyword lists it is also possible to import and export lists of keywords to a comma seperated values (CSV) file, handy if you would like to edit the list of keywords in a spreadsheet. Example: "A visit to the UK is not complete without a visit to Stonehenge." Would become: "A visit to the UK is not complete without a visit to Stonehenge." v0.7.1 v0.7 v0.6 v0.5 v0.4.5 v0.4.2 v0.4 v0.3.1 It is now possible to specify per link if you would like to : The replacement routine is also smarter about linking keywords. For example: “magic” will match “magic” , but no longer to “magically”. version 0.2: If you would like to modify the style of the link. For example to make the link bold add the following to your style.css file: .bm_keywordlink { font-weight: bold; }

安装:

(1) unzip the bm_keywordlink.zip file in /wp-content/plugins (2) Active the plugin The plugin is designed for western languages that use spaces between the words to avoid matching against variants of the same word (magic, magician..) [Ralph Wu] mentioned: With a little modification, the plugin can easily work for Chinese, Japanese and so on Asian languages: CHANGE THIS LINE: $regEx = '\'(?!((<.?)|(<a.?)))(\b'. $keyword . '\b)(?!(([^<>]?)>)|([^>]?))\'s' . $case; INTO: $regEx = '\'(?!((<.?)|(<a.?)))('. $keyword . ')(?!(([^<>]?)>)|([^>]?))\'s' . $case;