Hello
We are happy to announce the release of SPIP 1.7, This version completes the internationalisation of the system by introducing the much requested function of multilingual site creation. The official site, hosted at http://www.spip.net, is itself multilingual (by the way, the volunteers to expand the translations are always welcome: you can meet us at: http://www.spip.net/rubrique4.html).
--- Database backup ---
You are strongly advised to back up your database before updating SPIP.
To achieve this, go to the "Site Administration" in the private area and click on "Site maintenance", "Backup/restore the database" and "Backup the database".
Once the database is backed up (to complete the backup, you need to create a file with a special name in the directory "ecrire/data"), you can retrieve the resulting file (dump.xml or dump.xml.gz).
After completing the backup, you can update SPIP as explained in http://www.spip.net/en_article2154.html.
If you encounter any problem and you need to restore the backup:
start by reinstalling the SPIP version with which you made that
backup (VERY IMPORTANT)! Do not try to restore a backup made with
version 1.6 (for instance) under version 1.7! Once you reinstall the
right version of SPIP, you can restore the backup you created earlier.
Also, remember that to obtain a full backup, you need to store the
directory "IMG/" in a safe place. This directory contains all the
logos, images and documents that you uploaded from the private area.
Important: this backup is only a precaution. Do not try to restore if everything went well with the update. Also, do not delete the database before the update it is pointless and dangerous!
--- Updating ---
You can update SPIP using the usual procedure. You have two alternatives:
* Use the automatic installer, spip_loader.php3: this file, which you can find at http://www.spip.net/spip-dev/INSTALL, will automatically overwrite your current version with version 1.7.
Note: if the automated installation is not compatible with your
system, spip_loader.php3 will warn you. You have, then to use the
manual installation described below.
* Manually download SPIP 1.7 to your site. To achieve this you must:
1. Choose one of the archives in the directory http://www.spip.net/spip-dev/DISTRIB; you can choose the complete version (containing all the languages) or a monolingual version containing only one language but faster to download.
2. Download this archive to your computer and extract the files with a suitable application (Winzip under Windows for example).
3. Upload the files extracted to your web site by FTP. It goes without saying that the files should be uploaded to the same location as the previous version.
Once the new version is in place, you must let the system update the database: you will be required to create a file (or a folder) with a special name in the directory "ecrire/data". This precaution is there to insure that the person who is performing the update is allowed to do so.
Note: if a subsequent problem prevents you from accessing the
private area of your site, you can create a new access simply by
deleting the file inc_connect.php3 from the "ecrire" directory,
which triggers a new installation procedure.
Once of SPIP is updated, you can start enjoying the new features of version 1.7 which are detailed below.
Good luck and good publishing.
Multilingual sites
-----------------
SPIP version 1.6 was enriched with a number of translations making it possible to use the private area in various languages, and thus widening the use of SPIP to authors of different languages. Version 1.7 enhances this feature by allowing a multilingual public site without any installation effort (except the modification of some configuration options). This major functionality (which covers various aspects like displaying dates and forms and the management of translated articles) is the subject of a separate document.
Several tools dedicated to multilingual management have made their appearance in version 1.7:
* Special configuration options
* A system of translation management between articles
* A page dedicated to the translation management by language
* A bundle of already translated strings in different languages for the public site
Follow up of the translation
----------------------------
The range of the languages available has grown significantly. To date, SPIP's editing interface has been translated into the following languages:
- French
- English
- Dutch
- Vietnamese
- Spanish
- Arabic
- Farsi
- Reunion Creole
- German
- Danish
- Esperanto
- Italian
- Galician
- Bulgarian
- Polish
- Catalan
- Seven different variations of Occitan: Niçard, Languedocien, Gascon, Provençal, Auvergnat, Vivaro-Alpin and Limousin.
Your public site takes advantage of these translations thanks to a system of already translated texts provided with SPIP. You can see this system in action in the default templates of SPIP 1.7: change the language of the site or an article, refresh the corresponding public page and the common texts (navigation, dates, forms...) will be displayed in the chosen language.
Documentation itself is gradually being translated into various languages on our official site http://www.spip.net. This is a very significant piece of work, and there is plenty of room for more translators (See the translator's section - L'espace des traducteurs: http://www.spip.net/rubrique4.html).
Other significant modifications
-------------------------------
* Private area:
- A graphical tool bar catering for the most significant formatting shortcuts has been added above the text editing box for articles, news items and forums. It makes it possible for beginners to make use of the main typographical shortcuts by using the tool bar buttons rather than their keyboard equivalents.
- At the login screen, users can now choose to remain logged in for a few days. This avoids having to repeat their password too often.
- The personal agenda has been completely revamped.
- A page for the remote follow-up of the site's activity allows the retrieval of the syndication address (Really Simple Syndication) and the injection of the site's activity into a calendar (in iCal format).
* Public site:
- Addition of the #DATE tag for the DOCUMENTS loop.
Minor corrections and additions
--------------------------------
* Private area:
- It is now possible to configure a sender's email address for mails from the site (if it is left empty, the apparent address of the sender is identical to that of the recipient, like previous versions).
- When updating the database, SPIP initially checks if the permissions are sufficient and displays an error message if they are not.
- The display of referrers has been completely revamped.
- Two additional configuration variables for mes_options.php3: you can now configure whether SPIP will ignore connections by REMOTE_USER (htaccess) and/or HTTP authentication.
- Passwords can now contain accents (with an 8-bit character set of the ISO-8859-1 type, not UTF-8)
* Public site, templates:
- When a message is submitted to a public forum, the name and e-mail of the sender are stored and fed automatically to a form if the sender posts other messages during the same session. This will spare the need to type one's name again and again in case of an extensive participation to the forums.
- Pages corresponding to an unpublished article are no longer stored in the cache.
- An error message is now displayed instead of a blank page when the server cannot generate a page and it is not in the cache (for example, when using the search engine during a MySQL failure).
- More precise handling of MySQL errors in the templates.
- Correction of a small bug in the public forums. In certain cases, the page was not automatically regenerated after a comment had been submitted.
- For the hackers there is now the possibility of redefining the #INTRODUCTION tag by placing a new function introduction(...) in mes_fonctions.php3. As a start, you could base this function on calcul_introduction which is in inc-calcul.php3.
*Site content and miscellaneous:
- Addition of nom_site and url_site fields to articles, to be activated, under the name of "hypertext link", in the configuration of the site (#NOM_SITE and #URL_SITE tags allow these values to be displayed).
- Support of Arabic character sets (Windows-1256 and ISO-8859-6).
- Configuration of the URL for the external glossary (for [?search word] shortcuts) is now more flexible. It has the form url_glossary_with_%s, where %s is replaced by the term sought.
- MySQL 4.1.0 compatibility.
- Introduction of a load management mechanism (intended for the host server): when SPIP detects the presence of a file named lock in ecrire/data/ and providing this file is not too old (less than 10 minutes), it avoids making unnecessary calculations such as indexing, statistics, etc..
- New typographical shortcut <quote>...</quote>, to quote a piece of text (useful in the public forums).
- Other optimisations and enhancements.