Blogstamp

BLOGSTAMP PLUGIN FOR WORDPRESS

 

 

UPDATES/ACTUALIZACIONES

ENGLISH VERSION

VERSION EN CASTELLANO

 

 

 

UPDATES/ACTUALIZACIONES

  • v 0.1 rv2: Text with tildes generated error when signature is cheked. Download the new version/ Los textos con tildes generan un error a la hora de comprobar la firma. Descargue la nueva versión.
    blogstamp_0.1-rv2.tar.bz2 or blogstamp_0.1-rv2.zip
  • v 0.1 rv1: While I rewrited the script, I forgot to put some code. Download the new version/ Cuando reescribí el script, parte del código se perdió. Descargue la nueva versión.
    blogstamp_0.1-rv1.tar.bz2 or blogstamp_0.1-rv1.zip

 

 

 

ENGLISH VERSION

 

Blogstamp plugin for WordPress
Current version: 0.1
Written for WordPress 2.0
Author: Extreme Ambient Community

 

DOWNLOAD:

blogstamp.zip or blogstamp.tar.bz2

blogstamp_0.1-rv1.tar.bz2 or blogstamp_0.1-rv1.zip

blogstamp_0.1-rv2.tar.bz2 or blogstamp_0.1-rv2.zip

 

PREVIOUS INFORMATION:

This plugin is based on the blosgtamp module for DRUPAL (http://www.drupal.org), created by Matt Fleming (http://www.mattfleming.com).

 

HOW IT WORKS?

Once a new content is published from WordPress, the date of creation is quite easy to modify. In order to avoid this, Blogstamp plugin makes a request of timestamp (the number of seconds elapsed since the 0 hour of the 1st of January of 1970 GMT), certified by third parts, and adds a signature, which comprised of contents SHA-1 hash, returned timestamp and a digital signature. With this information is possible to validate and to guarantee that:

  • A content has been published in the indicated date.
  • A content has not been modified after it has been published.

We use the service offered by blogstamp (http://www.blogstamp.org), in whose Web you will find the way to ask for a signature or to validate it.

 

REQUIREMENTS:

  • WordPress 2.0
  • PHP with sockets support (What is a socket? More info at http://en.wikipedia.org/wiki/Socket). If you do not know if your hosting has socket support for PHP, contact with your hosting supplier. But relax, most of the hosting providers have socket support for PHP.

 

PREVIOUS STEP TO THE INSTALLATION (RECOMMENDATION):

Before the plugin installation, please check that the pingbacks (http://en.wikipedia.org/wiki/Pingback) list is correctly updated. A non updated list could cause problems when the signature is requested. You can check if your pingbacks list is updated at http://codex.wordpress.org/Update_Services.

 

INSTALLATION:

1.- Extract the content of the compressed file blogstamp.zip or blogstamp.tar.bz2

2.- Upload the content of the "plugins" folder to the "plugins" folder of your WordPress "wp-content/plugins/".

3.- Upload the template (template-blogstamp.php) you will find within the "template" folder to the folder of the theme used in your WordPress "/wp-content/themes/your_theme/". "your_theme" is the folder of your active theme on WordPress. In order to know the path to the active theme, please go to "Presentation" "Themes" and look for the next line: "All of this theme’s file are located in "wp-content/themes/XXX" where XXX will be your active theme.

4.- Get access to the administration dashboard of WordPress "/wp-admin/".

5.- Now activate the Plugin. In "Plugins" look for "Blogstamp" and click on "Activate".

6.- Create a new page and apply the "Blogstamp" template. If you do not know how to make a new page and/or to apply a template to the page, go to the section CREATING A NEW PAGE.

 

CREATING A NEW PAGE:

In order to create a new page, go to "Write" – "Write Page". If you wish to get more informationd about the pages of WordPress and/or it function, go to: http://codex.wordpress.org/Pages.

Name that page as "Blogstamp", which is the default name to make the plugin run. You can also use another name, but in that case, you must change the plugin configuration, as in the CONFIGURE THE PLUGIN section is explained, and set the value of the "Page Name" field with the name of the page, without using capital letters.

 

CONFIGURE THE PLUGIN:

Default configuration of Blogstamp Plugin, is enough to work properly. But if you want to use the SSL protocol (some servers does not allow the use of this protocol through sockets) at the time of asking for a signature or you want to change the page in which will be loaded the verification form, is necessary to make changes in plugin. To do that, you must go to "Options" "Blogstamp" and change the value from the fields you want to change.

If you need to change the verification forms page presentation, you need to know the way in which your blogs shows the following parts: header (get_header ()), content (<div id= " content">… </div>), sidebar (get_sidebar()) and footer (get_footer()). Go to "Presentation" "Themes" and press on "Main Index Template". Once there, you must to look for the order of the following parts: "get_header ()", "get_sidebar ()", "<div id= " content">" and "get_footer ()" to establish the order in "template-blogstamp.php".

Once you know the order, edit locally the "template-blogstamp.php" file. You can edit it using a plain text editor (BEWARE OF THIS! Microsoft Word is NOT a plain text editor, so do not use it) such as the Notepad for Windows or the Gedit or Kate for Linux. Once the changes are made, upload it.

 

TODO:

  • Rewrite this README
  • Allow user to modify more settings
  • Basque Version

 

THANKS TO:

Fernan.com.es for helping me to translate to English.

Peta testers: http://www.fernan.com.es, http://www.galder.net and http://www.domisfera.com

 

 

 

 

 

 

VERSIÓN EN CASTELLANO

 

Blogstamp plugin para WordPress
Versión actual: 0.1
Escrito para WordPress 2.0
Autor: Extreme Ambient Community

 

DESCARGAR:

blogstamp.zip o blogstamp.tar.bz2

blogstamp_0.1-rv1.tar.bz2 o blogstamp_0.1-rv1.zip

blogstamp_0.1-rv2.tar.bz2 o blogstamp_0.1-rv2.zip

 

INFORMACIÓN PREVIA:

El plugin está basado en el modulo para DRUPAL (http://www.drupal.org) del mismo nombre, creado por Matt Fleming (http://www.mattfleming.com).

 

¿CÓMO FUNCIONA?

Una vez se publica un nuevo contenido desde WordPress, modificar la fecha de creación del mismo es una tarea muy sencilla. Para evitar esto, este plugin realiza una solicitud de timestamp (número de segundos que han transcurrido desde las 0 horas del 1 de enero de 1970 GMT), certificado por terceras partes, y de una firma, creado con el hash SHA-1 del contenido, el timestamp retornado y una firma digital. Con estos datos es posible validar y garantizar que:

  • Un contenido ha sido publicado en la fecha indicada.
  • Un contenido no ha sido modificado después de haber sido publicado.

Para ello, se usa el servicio ofrecido por blogstamp (http://www.blogstamp.org), en cuya Web encontraréis el modo de solicitar una firma o de comprobarla.

 

REQUERIMIENTOS:

  • WordPress 2.0
  • PHP con soporte para sockets (¿Qué es un socket? Más información en http://en.wikipedia.org/wiki/Socket). Si desconoce si su hosting dispone de PHP con soporte para sockets, contacte con su proveedor de hosting y ellos le informarán.

 

PASO PREVIO A LA INSTALACIÓN (RECOMENDACIÓN):

Antes de proceder a la instalación del plugin, le recomendamos que compruebe y / o actualice el listado de pingbacks (http://en.wikipedia.org/wiki/Pingback), ya que una lista no actualizada puede ocasionar problemas a la hora de solicitar una firma. Compruebe si su listado de pingbacks está actualizado en http://codex.wordpress.org/Update_Services.

 

INSTALACIÓN:

1.- Extraiga el contenido del archivo comprimido blogstamp.zip o blogstamp.tar.bz2

2.- Suba el contenido del directorio "plugins" al directorio de plugins de su WordPress "/wp-content/plugins/".

3.- Suba la plantilla (template-blogstamp.php) que encontrará dentro del directorio "template" al directorio de la plantilla usada en su WordPress "/wp-content/themes/su_tema/". Donde su_tema es el tema activo de su WordPress. Para saber la ruta hasta el tema activo, vaya a "Presentation" "Themes" y busque la siguiente linea: "All of this theme’s files are located in wp-content/themes/XXX" donde XXX será su tema.

4.- Acceda a la zona de administración de su WordPress. "wp-admin/"

5.- Active el plugin. En "Plugins" busque "Blogstamp" y haga click en "Activate".

6.- Cree una nueva página y apliquele la plantilla de blogstamp. Si no sabe como crear una nueva página y / o aplicarle una plantilla, vaya al apartado CREANDO UNA NUEVA PÁGINA.

 

CREANDO UNA NUEVA PÁGINA:

Para crear una nueva página, vaya al apartado "Write" – "Write Page". Si desea obtener más información acerca de las páginas de WordPress y / o su utilidad, visite el siguiente enlace: http://codex.wordpress.org/Pages.

Ponga un título a la página, por defecto debe ser "Blogstamp". Puede poner otro cualquiera, pero en caso de quere modificarlo, deberá cambiar la configuración del plugin, ver apartado CONFIGURANDO EL PLUGIN, y establecer el valor del campo "Nombre Página" al mismo que el título de la página, con todos los caracteres en minuscula.

 

CONFIGURANDO EL PLUGIN:

La configuración por defecto del plugin, es suficiente para su funcionamiento, pero en caso de querer usar el protoclo SSL (algunos servidores no permiten usar este protocolo a través de sockets) a la hora de solicitar una firma o querer cambiar la página en la que se cargará el formulario de comprobación del contenido, es necesario hacer cambios en el plugin. Para ello, basta con ir a "Options" "Blogstamp" y cambiar el valor de los campos a los valores deseados.

Si necesita configurar el modo de presentación de la página en la que se muestra el formulario de comprobación de la firma, necesita saber el modo en el que su blog muestra las siguientes partes: cabeceras (get_header()), contenido (<div id="content">…</div>), barra lateral (get_sidebar()) y pie de página (get_footer()). Para ello, deberá ir a "Presentation" "The Editor" y pulsar en el enlace "Main Index Template". Una vez allí, deberá buscar el orden de las siguientes partes: "get_header()", "get_sidebar()", "<div id="content">" y "get_footer()" y establecer el orden en template-blogstamp.php basandose en dicho orden.

Una vez conozca el orden, edite el fichero localmente, puede editarlo con cualquier editor de texto plano (¡Atención! Microsoft Word no es un editor de texto plano, así que NO lo use) como el Notepad para Windows o el Gedit o Kate para Linux; y una vez realizados los cambios subirlo a nuestro blog.

 

QUEDA POR HACER:

  • Reescribir este tutorial
  • Permitir al usuario modificar más el plugin
  • Versión en Euskara

 

GRACIAS A:

Fernan.com.es por ayudarme con la versión en inglés.

Peta testers: http://www.fernan.com.es, http://www.galder.net y http://www.domisfera.com

 

 

 

4 comentarios


  1. Con tanto cambio de theme me había dejado el «prunin» sin actualizar… Por cierto, el sound interesting de arriba es un «espam» como una casa.

    Qué poca vergüenza 🙂

    Responder
  2. Ernesto Raúl Rebagliatti

    Me gustaría me envíen a mi correo los anuncios de dias y horarios de Argentina de las carreras Internacionales de Motos en especial de GP. Muchas gracias.

    Responder

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *