您的位置:首页 > 其它

【中文】Joomla1.7扩展介绍之ReReplacer (空中替换)

2011-11-25 16:37 483 查看
ReReplacer

插件分类: Editing => Replace

支持版本:1.5 /1.7

关注程度:【无】

所属类型:组件、插件

NOW: Joomla 17 compatible!

现在兼容Joomla 1.7了!

ReReplacer - search and replace in your websites output.

ReReplacer ——搜索和替换你站点的输出

ReReplacer is a Joomla! component and system plugin that enables you to replace anything in your Joomla! site’s output with whatever you want.

ReReplacer 是一个Joomla!组件和系统插件,它允许你替换joomla网站中的任何输出内容。

ReReplacer will search the text (html) of your pages for your search request and replace it with what you have told it to do.

ReReplacer 将搜索这个页面中文本(HTML),并按你的要求去替换它。

These replacements are on the fly. That means they are not permanent. They are done every time you request a web page in your site.

这些替换件(replacements )是on the fly(动态替换),意味着它们不是不变的,它们在打开你站点页面的任何时间执行。

This gives you great possibilities and power to manipulate the output of your site.

这给了你巨大的可能性和力量去操作你站到的输出。

REGULAR EXPRESSIONS

正则表达式

You have the ability to use powerful regular expressions to search and replace. This opens up endless possibilities. You can do virtually anything with ReReplacer.

你有能力去使用强大的正则表达式去搜索和替换。这开创了无限的可能性,你能用ReReplacer做几乎任何事情。

WHY USE REREPLACER?

为什么使用REREPLACER?

You can use ReReplacer for all kinds of stuff like:

你能为各种各样的东西使用ReReplacer,就像:

* Add/remove/change elements in the html structure of your site

This can help you add extra ways to style elements or change the layout.

*在你的站点HTML中添加/移除/修改 元素。

这能帮助你增加额外的方式去设计元素样式或改变布局。

* Create your own plugin-like tags

*创建你自己的插件——比如tags

You can use quick-codes and replace it with a long bit of text or html code. Like:

{copyright}, !contact_details!, [terms], __FOOTER__, etc.

Via regular expressions you can even make these dynamic, like:

{youtube 123abcABC}, {twitter}nonumber_nl{/twitter}, etc.

你能使用“quick-codes”替换一个长字节的文本或HTML,就像:

{copyright}, !contact_details!, [terms], __FOOTER__, etc.

由经正则表达式,你甚至能让这些是动态的,就像:

{youtube 123abcABC}, {twitter}nonumber_nl{/twitter}, etc.

* Clean up unwanted html

* 清除不想要的HTML

Like: comment tags, meta-generator tag, unwanted copyright code from other extensions, etc.

如同:评论标签、Meta-生成标签,不想要其他扩展的版权代码,等等。

* Replace simple words

* 替换简单的文字

Like: replacing the company name (for mirror sites), correct common spelling errors in your content, replace bad words with ***, etc.

如同:替换这个公司名(从镜像站),内容中常见拼写错误校正,可对Bad words使用***替换,等。

* Replace "Domready" with "load" for IE compatibility of your scripts

* 为了你脚本IE兼容性,用“load”替换“Domready”。

* Replace your image (media) urls with a CDN url.

* 使用一个CDN地址替换你图像(媒体)地址

WHAT REREPLACER IS NOT!

什么是REREPLACER 不能的!

ReReplacer does not touch your database. The replacements are not permanent. So you cannot use ReReplacer to replace stuff for good. You can use my other extension DB Replacer for that.

ReReplacer 不能操作你的数据库,这些替代品不是永久的,因此,你不能更好地使用ReReplacer 去替换,你能使用我的其他插件DB Replace(它能那么做)。

It also does not touch the files. You cannot use ReReplacer to replace stuff in the (php) files of your site.

它也不能操作文件,你不能在你网站的(php)文件中使用ReReplacer去替换。

How to use it: http://www.nonumber.nl/rereplacer
Changelog: http://www.nonumber.nl/rereplacer/changelog
Keep up to date: http://www.nonumber.nl/news
Support forum: http://www.nonumber.nl/forum
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: