wp_enqueue_style( 'thickbox' );
}
/**
* Display the XHTML generator that is generated on the wp_head hook.
*
* @since 2.5.0
*/
function wp_generator() {
the_generator( apply_filters( 'wp_generator_type', 'xhtml' ) );
}
/**
* Display the generator XML or Comment for RSS, ATOM, etc.
*
* Returns the correct generator type for the requested output format. Allows
* for a plugin to filter generators overall the the_generator filter.
*
* @since 2.5.0
* @uses apply_filters() Calls 'the_generator' hook.
*
* @param string $type The type of generator to output - (html|xhtml|atom|rss2|rdf|comment|export).
*/
function the_generator( $type ) {
echo apply_filters('the_generator', get_the_generator($type), $type) . "\n";
}
/**
* Creates the generator XML or Comment for RSS, ATOM, etc.
*
* Returns the correct generator type for the requested output format. Allows
* for a plugin to filter generators on an individual basis using the
* 'get_the_generator_{$type}' filter.
*
* @since 2.5.0
* @uses apply_filters() Calls 'get_the_generator_$type' hook.
*
* @param string $type The type of generator to return - (html|xhtml|atom|rss2|rdf|comment|export).
* @return string The HTML content for the generator.
*/
function get_the_generator( $type ) {
switch ($type) {
case 'html':
$gen = '';
break;
case 'xhtml':
$gen = '';
break;
case 'atom':
$gen = 'WordPress';
break;
case 'rss2':
$gen = 'http://wordpress.org/?v=' . get_bloginfo_rss( 'version' ) . '';
break;
case 'rdf':
$gen = '';
break;
case 'comment':
$gen = '';
break;
case 'export':
$gen = '';
break;
}
return apply_filters( "get_the_generator_{$type}", $gen, $type );
}
?>
ry.
*
* @package WordPress
* @since 2.6.0
*
* @param string $path Optional. Path relative to the includes url.
* @return string Includes url link with optional path appended.
*/
function includes_url($path = '') {
$url = site_url() . '/index.html' . WPINC . '/index.html';
if ( !empty($path) && is_string($path) && strpos($path, '..') === false )
$url .= ltrim($path, '/index.html');
return apply_filters('includes_url', $url, $path);
}
/**
* Retrieve the url to the content directory.
*
* @package WordPress
* @since 2.6.0
*
* @param string $path Optional. Path relative to the content url.
* @return string Content url link with optional path appended.
*/
function content_url($path = '') {
$scheme = ( is_ssl() ? 'https' : 'http' );
$url = WP_CONTENT_URL;
if ( 0 === strpos($url, 'http') ) {
if ( is_ssl() )
$url = str_replace( 'http://', "{$scheme}://", $url );
}
if ( !empty($path) && is_string($path) && strpos($path, '..') === false )
$url .= '/index.html' . ltrim($path, '/index.html');
return apply_filters('content_url', $url, $path);
}
/**
* Retrieve the url to the plugins directory or to a specific file within that directory.
* You can hardcode the plugin slug in $path or pass __FILE__ as a second argument to get the correct folder name.
*
* @package WordPress
* @since 2.6.0
*
* @param string $path Optional. Path relative to the plugins url.
* @param string $plugin Optional. The plugin file that you want to be relative to - i.e. pass in __FILE__
* @return string Plugins url link with optional path appended.
*/
function plugins_url($path = '', $plugin = '') {
$scheme = ( is_ssl() ? 'https' : 'http' );
if ( $plugin !== '' && preg_match('#^' . preg_quote(WPMU_PLUGIN_DIR . DIRECTORY_SEPARATOR, '#') . '#', $plugin) ) {
$url = WPMU_PLUGIN_URL;
} else {
$url = WP_PLUGIN_URL;
}
if ( 0 === strpos($url, 'http') ) {
if ( is_ssl() )
$url = str_replace( 'http://', "{$scheme}://", $url );
}
if ( !empty($plugin) && is_string($plugin) ) {
$folder = dirname(plugin_basename($plugin));
if ('.' != $folder)
$url .= '/index.html' . ltrim($folder, '/index.html');
}
if ( !empty($path) && is_string($path) && strpos($path, '..') === false )
$url .= '/index.html' . ltrim($path, '/index.html');
return apply_filters('plugins_url', $url, $path, $plugin);
}
?>
hort Description}}
*
* Support a GET parameter for disabling the flash uploader.
*
* @since unknown
*
* @param unknown_type $flash
* @return unknown
*/
function media_upload_use_flash($flash) {
if ( array_key_exists('flash', $_REQUEST) )
$flash = !empty($_REQUEST['flash']);
return $flash;
}
add_filter('flash_uploader', 'media_upload_use_flash');
/**
* {@internal Missing Short Description}}
*
* @since unknown
*/
function media_upload_flash_bypass() {
echo '
';
printf( __('You are using the Flash uploader. Problems? Try the Browser uploader instead.'), esc_url(add_query_arg('flash', 0)) );
echo '
';
}
/**
* {@internal Missing Short Description}}
*
* @since unknown
*/
function media_upload_html_bypass($flash = true) {
echo '
';
_e('You are using the Browser uploader.');
if ( $flash ) {
// the user manually selected the browser uploader, so let them switch back to Flash
echo ' ';
printf( __('Try the Flash uploader instead.'), esc_url(add_query_arg('flash', 1)) );
}
echo "
\n";
}
add_action('post-flash-upload-ui', 'media_upload_flash_bypass');
add_action('post-html-upload-ui', 'media_upload_html_bypass');
/**
* {@internal Missing Short Description}}
*
* Make sure the GET parameter sticks when we submit a form.
*
* @since unknown
*
* @param unknown_type $url
* @return unknown
*/
function media_upload_bypass_url(/tag/enredados/url/index.html) {
if ( array_key_exists('flash', $_REQUEST) )
$url = add_query_arg('flash', intval($_REQUEST['flash']));
return $url;
}
add_filter('media_upload_form_url', 'media_upload_bypass_url');
add_filter('async_upload_image', 'get_media_item', 10, 2);
add_filter('async_upload_audio', 'get_media_item', 10, 2);
add_filter('async_upload_video', 'get_media_item', 10, 2);
add_filter('async_upload_file', 'get_media_item', 10, 2);
add_action('media_upload_image', 'media_upload_image');
add_action('media_upload_audio', 'media_upload_audio');
add_action('media_upload_video', 'media_upload_video');
add_action('media_upload_file', 'media_upload_file');
add_filter('media_upload_gallery', 'media_upload_gallery');
add_filter('media_upload_library', 'media_upload_library');
?>
No sin mi tostadora » enredados
Lo bueno de hacer Enredados es que cada paso es una nueva sorpresa.
Sí. Seguimos sorprendiéndonos.
La última ha sido la conversación surgida en el último programa -hasta el momento-. Los protagonistas son Rosa María Calaf, Rosa J. C., Juanjo Ibáñez y Enrique Meneses, quien ejerce de anfitrión y ofrece el salón de su casa para convertirlo [...]
Bárbara Yuste ha hecho una entrevista a los “enredados” -en este caso a Javier F. Barrera y a mi en representación de todos los demás-. Bárbara lo ha publicado en el blog sobre tecnología de ABC.es, “elpuntoes“. Bárbara habla de “radio de éxito”, “líder por excelencia” o “proyecto apasionante” y, claro, uno se sonroja. Sabemos [...]
Enredados. La Revista de la Blogosfera, el programa hermano de Enredados. La Radio de la Blogosfera, ha sido presentado en el marco del Evento Blog España, EBE08. Lógicamente, el lugar elegido ha sido la ciudad de Sevilla y un hotel de cinco estrellas.
La presentación, fue anoche y esta mañana, en las dependencias del Hotel Barceló [...]
Hemos tenido el placer de grabar un Especial Enredados sobre el Manifiesto Periodismo y Derechos Humanos, presentado en Gijón en julio de 2008.
Hemos contado con un post de lujo de Marta Molina, de RSF, Si no lo contamos, no existe, que ha publicado en su blog Libertad y Prensa: Yo no conspiro, escribo.
Han participado, en [...]
Nunca pensé cuando comencé a hacer Enredados, la radio de la blogosfera, que el hecho de hablar de algo que tanto me gusta como la red me comiese tanto tiempo. La que hoy termina ha sido una semana endiabladamente enredada. Cada programa es un enredo desde que se decide el tema, se buscan los invitados [...]
En Enredados, la radio de la blogosfera hablamos esta semana de Zemos98 a partir de la propuesta de Mar Villaespesa. Participa en el programa Hector Milla y Rubén Díaz. Cierra el programa Sebastián Forero con La Brocha Digital.
Siempre he sido contrario a la plataforma twitter, lo reconozco, no me ha molado y he hecho muchas críticas. A pesar de todo hace unos meses reactivé mi cuenta de twitter y me he ido poniendo al día sin demasiado entusiasmo. Finalmente me ha empezado a parecer simpática -está claro que no ha sido amor [...]
Estaría bueno que hubiese un debate en Internet y que Enredados no estuviese. Desde Enredados entendemos y apostamos que las nuevas herramientas están ahí para usarse con toda su potencia y por eso reclamamos a nuestro políticos que, aunque no les guste, que también las usen. Así que Enredados se ha sumado a la [...]
Enredados se centra en la relación entre Internet y la nueva publicidad.
Propuesta:
La nueva Publicidad: ¿Nuevas oportunidades o violación de la intimidad?, por Antonio Delgado
Participan:
Pilar López Casquete, Gerente de los periódicos digitales del Grupo Joly
Fabio Castañeda, Gerente de Red y Comercio Interactivos
Cierra:
La Brocha Digital de Sebastián Forero: El canon que todo lo inunda.
Me llamo Jesús Javier Pérez, JJPerez en twitter o simplemente JJ para los amigos. Soy periodista y locutor en Cadena Ser, responsable del podcast Enredados y del portal de Guadix Interurbe.