SPIP-Contrib

SPIP-Contrib

عربي | Deutsch | English | Español | français | italiano | Nederlands

290 Plugins, 198 contribs On SPIP-Zone, 90 visitors now

Home > Admin and maintenance solutions > Import-Export > Pubemail > Pubemail: publishing by email

Pubemail: publishing by email

How to publish quickly on a website, just by sending an email.

16 November 2008 – by sinbad

All the versions of this article: [English] [français]

0 vote

Code work in progress

Description

The aim of this plugin is to allow publishing an article without having to connect to the administration interface of the website, but simply by sending an email.
This mail must obey to formatting rules in order to provide informations about title, the section in which it has to be published, the language in which it is written.

This plugin is based upon a previous contribution [chantier] Faut pas pusher (installer des articles par email). It has been developped with SPIP version 1.9.2e.

It is still in development, because some errors may occur when decoding incoming mails which might be HTML coded, and the user interface is only in french.


Why

This plugin allows to dispense with a direct connexion to the website. For my application, the internet access may be slow or inexistent. There is only the possibility to send emails. In this case publishing by emails is the best solution for keeping a collaborative editing possibility for isolated authors.


Setting up

The installation follows the plugin standard: just copy the pubemail directory under the SPIP plugin directory. It does not depend on other plugins.


Configuration

When the plugin is activated, an additional button is available from the configuration menu. It allows to access to the configuration screen for parameters selection:
- the POP server to connect to and the port number to use
- the user login and password on the POP server
- the SMTP server and the port number for responding by an acknowledge
- choose the possibility to keep emails in the POP server
- choose the status of the articles to be created: either directly published or just proposed for publishing.
- choose if spip must acknowledge reception of messages by email
- in which default section and for which default author in case the mail decoding does not allow to determine it


Using

The send an email to the address which has been chosen hereabove. In the message subject the expression SPIPOUNET has to be entered.
Then the message body will be for example (SPIP typographic tags are available):

#titre:Faut pas pusher en espagnol
#rubrique:test
#lang:es
#texte: {{{Titre}}}la la
la
sdlkfmlskdfmksdf
kdfmlskdf
<code>sdffsdfsdfsdfsdsdfsdf

sdfsdfsdf

It is then necessary to connect to the website and get the plugin configuration screen where a button is available for mail reading.


Remarques - Futur developments

It would be interesting to get the possibility of sending documents in the email. The mail structure to be read is more complex, but I mainly gave up because I don’t know how to add internally document for an article.
Now the user interface is only available in french, but shouldn’t cause too many problems for understanding by non french speakers.

updated on 8 August 2009

Back to top

Comment on this article

Who are you?
  • [Log in]

To show your avatar with your message, register it first on gravatar.com (free et painless) and don’t forget to indicate your Email addresse here.

Enter your comment here Les choses à faire avant de poser une question (Prolégomènes aux rapports de bugs. )
Add a document

Back to top

Here they're talking

  • (fr) Passer un site SPIP sous https://

    23 février 2017 – 42 commentaires

    Comment migrer simplement votre site SPIP de http:// vers https:// Le protocole https:// devient de plus en plus courant : C’est mieux pour la vie privée de tous La plupart des grands sites l’a déjà adopté Certains navigateurs commencent à afficher (...)

  • (fr) SPIP 3.2, Agenda et FullCalendar

    6 juin – 20 commentaires

    Nous avions publié un article sur la manière d’utiliser FullCalendar avec SPIP 3.0 afin d’afficher des évènements sous forme d’Agenda. La version de FullCalendar a changé avec SPIP 3.2. Le présent article est donc un tutoriel adapté à SPIP 3.2. Pour (...)

  • (fr) Grappes 1.0

    23 novembre 2012 – 36 commentaires

    Présentation et nouveautés Cette version 1.0 du plugin Grappes est un portage pour SPIP 3.x. Le plugin permet de grouper des objets de SPIP dans des grappes. Les objets du core (articles, rubriques, auteurs, etc.) sont pris en charge, ainsi que (...)

  • (fr) PHANTOM (HTML5UP)

    18 juillet – commentaires

    Squelette SPIP pour intégrer le modèle Phantom de HTML5UP. https://html5up.net/phantom Installation A l’activation, le plugin installe aussi les plugins suivants : crayons, favicon, metasplus+, Couleur d’objet, champs extras, SPIP reset centre (...)

  • (fr) Cycle2

    7 août 2014 – 119 commentaires

    La seconde version de la librairie Javascript « jQuery Cycle », qui permet de produire des diaporamas, se nomme « Cycle2 » : http://jquery.malsup.com/cycle2/. Voici cette nouvelle librairie mise en plugin pour SPIP. Si vous utilisez déjà « jQuery (...)