{"id":3383,"date":"2008-08-05T07:03:24","date_gmt":"2008-08-05T07:03:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/replace\/"},"modified":"2010-04-01T07:08:31","modified_gmt":"2010-04-01T07:08:31","slug":"replace","status":"closed","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/replace\/","author":728985,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.1","stable_tag":"0.2.1","tested":"2.8.3","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"re.place","header_author":"Dmytro O. Redchuk","header_description":"","assets_banners_color":"","last_updated":"2010-04-01 07:08:31","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/brownian.org.ua\/?page_id=61","header_plugin_uri":"http:\/\/brownian.org.ua\/?page_id=61","header_author_uri":"http:\/\/brownian.org.ua\/","rating":5,"author_block_rating":0,"active_installs":200,"downloads":6239,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.4","0.2.0","0.2.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566847","resolution":"2","location":"plugin","width":794,"height":672},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566847","resolution":"3","location":"plugin","width":790,"height":685},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566847","resolution":"1","location":"plugin","width":789,"height":659}},"screenshots":{"1":"List of entries","2":"List of entries with HTML characters escaped","3":"Entry with regular expression search and replace with different replaces for authenticated and guests"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2236,1975,170,86,12127],"plugin_category":[43,46],"plugin_contributors":[86508],"plugin_business_model":[],"class_list":["post-3383","plugin","type-plugin","status-closed","hentry","plugin_tags-filter","plugin_tags-formatting","plugin_tags-page","plugin_tags-post","plugin_tags-search-and-replace","plugin_category-customization","plugin_category-editor-and-writing","plugin_contributors-dor","plugin_committers-dor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/replace.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/replace\/trunk\/screenshot-1.png?rev=1566847","caption":"List of entries"},{"src":"https:\/\/ps.w.org\/replace\/trunk\/screenshot-2.png?rev=1566847","caption":"List of entries with HTML characters escaped"},{"src":"https:\/\/ps.w.org\/replace\/trunk\/screenshot-3.png?rev=1566847","caption":"Entry with regular expression search and replace with different replaces for authenticated and guests"}],"raw_content":"<!--section=description-->\n<p>re.place is a module wich acts as a content filter. It searches for pre-defined\nregular expressions and replaces matches with pre-defined replacements.<\/p>\n\n<p>It is possible to specify different replacements based on several\n\"replacement restrictions\" --- for authenticated users and guests,\nfor pages and non-pages currently (see \"Screenshots\").<\/p>\n\n<p>For example, you can implement the functionality of cross-linker module, while\nadding the possibility to insert \"target\" parameter, \"rel=nofollow\", style\ninformation, etc.<\/p>\n\n<p>As another example, you can insert in your posts custom smiles or the like.<\/p>\n\n<p>As another example, you can add custom markup to you blog, like\n    Google(something) would insert link to <code>www.google.com\/search?q=something<\/code>,\n    TouTube(youtube_id) will insert <code>&lt;object ...&gt;<\/code>, wich displays that video,\netc-etc. See \"Other notes\" for more examples.<\/p>\n\n<p>You can replace http links with some other stuff for guests, leaving as is for\nauthenticated users (see http:\/\/wordpress.org\/support\/topic\/297405).<\/p>\n\n<p>Every entry can have custom \"order\" number, so you can chain your replacements.<\/p>\n\n<p>re.place stores entries in database.<\/p>\n\n<p>Management GUI provided to list entries, add, edit or delete entries.<\/p>\n\n<p>See changelog for some changes tracking.<\/p>\n\n<h3>A brief examples<\/h3>\n\n<ol>\n<li><p>As a search field, use '<code>_&#8212;<\/code>' (<em>space<\/em> in place of <code>_<\/code>!),\nas a replace -- '<code>#160;&#8212;<\/code>'. This will insert non-breaking space\nbefore every em-dash.<\/p>\n\n<p>Mmm... You may wish even use '<code>&lt;span\nstyle=\"letter-spacing:0.1ex;\"&gt;#160;&lt;\/span&gt;&#8212;<\/code>' as a replase to insert\nnarrower non-breaking space... If you love typography too much... And you\ncan make space after dot wider...<\/p><\/li>\n<li><p>Search for '<code>:-)<\/code>' and replace with:<\/p>\n\n<p>'<code>&lt;img src=\"http:\/\/www.kolobok.us\/smiles\/standart\/smile3.gif\"' .\n   'alt=\":-)\" title=\":-) (nice smile -- http:\/\/www.kolobok.us\/smiles\/standart\/smile3.gif)\"' .\n   'style=\"vertical-align: middle;\" \/&gt;<\/code>'<\/p><\/li>\n<li><p>Search pattern: <code>YouTube\\(([a-zA-Z_0-9\\-]*)\\)<\/code><\/p>\n\n<p>Replace pattern:<\/p>\n\n<p>'<code>&lt;object width=\"425\" height=\"344\" data=\"http:\/\/www.youtube.com\/v\/\\1\" type=\"application\/x-shockwave-flash\"&gt;\n  &lt;param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/\\1\"&gt;&lt;\/param&gt;\n&lt;\/object&gt;<\/code>'<\/p>\n\n<p>This will allow you to use markups like <code>YouTube(TMCf7SNUb-Q)<\/code> to insert\nYoutube video fragments easily.<\/p><\/li>\n<li><p>How to Mass Remove Link (mass deactivate URL Linked text inside posts)?\n(http:\/\/wordpress.org\/support\/topic\/288020)<\/p>\n\n<p>Search pattern: <code>&lt;a [^&gt;]*&gt;([^&lt;]*)&lt;\\\/a&gt;<\/code><\/p>\n\n<p>Replace pattern: <code>\\1<\/code><\/p>\n\n<p>This will \"deactivate\" all links in all posts\n(e.g. replace <code>&lt;a href=\"...\"&gt;Try!&lt;\/a&gt;<\/code> with just <code>Try!<\/code>).\nNote, you can activate them back, deactivating this <code>re.place<\/code> entry.<\/p><\/li>\n<li><p>Want to insert drop caps easily?.. Use '<code>&lt;drop&gt;L&lt;\/drop&gt;orem ipsum...<\/code>' in your\nposts and replace it with <code>&lt;span class=\"dropcap\"&gt;\\1&lt;\/span&gt;<\/code>'. Use angle brackets,\nand if you (accidentally) deactivate re.place, these \"tags\" won't mess you page.<\/p><\/li>\n<li><p>New --- in v0.1.3 --- [beta-] feature: you can specify different replace patterns\nfor authenticated users and \"guests\". Sorry, i'll update screenshots and doc\nASAP. :-)<\/p><\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Unzip replace-.zip to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Define your search\/replacements via mgmt interface<\/li>\n<li>Use your patterns in your posts or pages<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to deinstall this plugin?<\/dt>\n<dd><p>Deactivate it and drop the database (the best way is via phpMyAdmin plugin).\nAnd remove options <code>'re_place_%'<\/code>.<\/p>\n\n<p>Sorry, no deinstaller yet.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"re.place adds content filter wich searches in posts for specified patterns (regular expressions) and replaces matches found with specified strings.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3383"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dor"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3383"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3383"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3383"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3383"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3383"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}