T
tatekietor
Gamma
alguien ah usado este script en wp que me ayude a configurarlo???
<?php
/*
Plugin Name: Links url.mn
Plugin URI: http://www.cicklow.com/
Description: Convierte los links en links money :).
Version: 0.1
Author: Cicklow
Author URI: http://www.cicklow.com/
*/
function ccw_post($POST){
return preg_replace_callback('#href="([^"]*)"#is', 'my_urlencode', $POST);
}
function my_urlencode($a){
if(!eregi('www.cicklow.com',$a[1])){
return 'href="http://url.mn/io.php?url='.urlencode($a[1]).'"';
}
return 'href="'.$a[1].'"';
}
add_filter('the_content', 'ccw_post');
add_filter('the_excerpt', 'ccw_post');
?>
Yo e creado uno para mi acortador de URL, y no tiene ninguna configuracion. Solo tienes que editar el codigo para poner la url de tu web. Y convierte todo link externo de tus post.
Solo reemplaza el link Cicklow y url.mn, a simple url shortener.... por anonym.to | Anonym surfen | link to other sites anonymouslyInsertar CODE, HTML o PHP:<?php /* Plugin Name: Links url.mn Plugin URI: http://www.cicklow.com/ Description: Convierte los links en links money :). Version: 0.1 Author: Cicklow Author URI: http://www.cicklow.com/ */ function ccw_post($POST){ return preg_replace_callback('#href="([^"]*)"#is', 'my_urlencode', $POST); } function my_urlencode($a){ if(!eregi('www.cicklow.com',$a[1])){ return 'href="http://url.mn/io.php?url='.urlencode($a[1]).'"'; } return 'href="'.$a[1].'"'; } add_filter('the_content', 'ccw_post'); add_filter('the_excerpt', 'ccw_post'); ?>
Si no quieres usar eregi, usa: stripos
Saludos
Hola amigo , se puede usar o cómo anonimizar links en blogger?