pgn4spip

Chess games in your SPIP articles

♟ pgn4spip 2.61.0 plug-in for SPIP 3 and SPIP 2 displays the chessboard and the chess game in Portable Game Notation (PGN).

Usage

Enter the [pgn]...[/pgn] tags in lowercase or uppercase inside the article:

Before
[pgn] 1. e4 Nf6 [/pgn]
After

Main features

Demo

Setup of the plug-in

Unzip pgn4spip-2.61.0.zip in the folder of SPIP plug-ins.
Example: D:\Xampp\Xampp177\htdocs\spip{plugins\

The zip archive of pgn4spip does not include the required pgn4web.
Download the latest version of pgn4web: pgn4web-2.61.zip

Unzip pgn4web-2.61.zip in the pgn4spip folder
Example: D:\Xampp\Xampp177\htdocs\spip\plugins{pgn4spip

The name of plug-in folder is always in lowercase.

Remove the version number:
rename pgn4spip\pgn4web-2.61 into pgn4spip\pgn4web
Example: D:\Xampp\Xampp177\htdocs\spip\plugins\pgn4spip{pgn4web

The pgn4web folder has a size of 13 MB. In the case of site having a limited hard disk, one can eventually delete certain unused fonts among alpha, merida, svgchess or big demo files. Keep at least uscf/20 and 26 fonts.

Configuration

  • Configure module, chessboard and PGN,
  • Run in SPIP3 without CFG 3.x or in SPIP2 with CFG 1.x,
  • Manage local attributes of the [pgn] tag or <pgn1> model in an article,
  • Must be enabled after Swiss Knife 1.8.x tool “Curly inverted commas,”
  • Does not require Swiss Knife.

Credits

pgn4spip is the SPIP interface of pgn4web 2.61 by Paolo Casaschi.

Freeware

♟ pgn4spip — copyright © 2012 Matt Chesstale — is licensed under GNU GPLv3:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

updated on 1 November 2017

Discussion

Aucune discussion

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

This form accepts SPIP shortcuts {{bold}} {italic} -*list [text->url] <quote> <code> and HTML code <q> <del> <ins>. To create paragraphs, just leave empty lines.

Add a document

Follow the comments: RSS 2.0 | Atom