SPIP to Drupal is a set of three modules:

spip2drupal.module
Migrate a spip site to drupal.
  • Imports:
    • users(auteurs). User passwords can't be imported as they're encrypted in a way no compatible with drupal. See spipauth.module below.
    • articles. Imported as stories.
    • comments(forum). Only comments for articles and news. No private comments.
    • keywords(mots). A vocabulary is created for each group of keywords.
    • sections(rubriques). Imported as terms on a vocabulary of your election.
    • news(breves). Work in progress.
    • documents. Documents are imported as uploads.
  • Features:
    • Uses the drupal batch API.
    • Retrieve parsed contents from the spip site in json format. A spip plugin is provided for json output.
  • Limitations:
    • spip2drupal only require drupal core modules (comment, taxonomy, upload). Spip features have no a direct matching to drupal core ones. This is a enumeration of some cases:
      1. Some features are not possible in drupal: for example in spip an article can have multiple authors. In drupal they can't.
      2. Some features are not in core but can be found in contributed modules: for example the status of articles: in spip they are (in progress, for evaluation, published, in the dustbin, rejected). Available status in drupal core are published/unpublished. Spip2drupal just do a reduction of spip statuses to drupal ones.
        Some contrib modules deal with moderation of content. For a reference: http://groups.drupal.org/node/27692. If you're interested in this module supporting any of those alternatives, contact me.
      3. Some other features can be obtained with a mix of contrib modules and/or theming. For example the functionality provided by spip squelettes can be obtained by combining theming and views.
    • Plugins are available in spip since version 1.9. As this module now requires the json plugin it doesn't work with older versions.
    • json extension for PHP is required in the drupal server. PHP 5.2 does include json, you can install it via PECL for older versions of PHP. JSon is not needed for spip (it can be in a separate server).
spipauth.module
Spip users passwords can't be imported, as stated above. This module allows to authenticate drupal users against a spip database. If the supplied password is valid for spip, the module will set this password for the user in the drupal database. This way, after a first login with success, the user is completely imported to drupal user and will not be authenticated further against the spip database. This module is useful to gradually move your users' passwords from spip database to drupal.
spip.module
Common code for the other two modules. It is responsible of handling spip database credentials. It may dissapear in a future when spip2drupal implement a closer integration with the drupal database API.

More info:

  • You will find technical info about the use of the module in the README file, and a list of features to improve or possible implementation in the TODO file.
  • If you need a site-specific feature you can hire me or if this module has been helpful to you please consider donating to my PayPal account.

Downloads

Version Downloads Date Links
6.x-2.x-dev tar.gz (23.05 KB) | zip (34.02 KB) 2011-Aug-13 Notes

Project Information


Maintainers for SPIP to Drupal

  • jonhattan - 39 commits
    last: 25 weeks ago, first: 3 years ago

Issues for SPIP to Drupal

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 2 Apr 10
nobody click here