Commit 7957b692 authored by Bruno Coudoin's avatar Bruno Coudoin

Minor updates for web site generation.

parent 60dd5873
# To update the SPIP website:
# On the SPIP admin console backup the site
# Copy the site 'dump.xml' in this directory
# Remove the pevious screenshots from it:
./spip_screenshot_remove.pl dump.xml > dump2.xml
# Create the board menus
./create_boards_menu.sh
# Create the screenshots articles all_article.spip
./gcompris2spip.pl
# Include all_article.spip in dump2.xml
sed -s "s/</SPIP>//" dump2.xml
cat all_article.spip >> dump2.xml
echo -e "\n</SPIP>" >> dump2.xml
# Check no screenshots are missing
./checkScreenshots.sh
# Updload dump2.xml to gcompris.net/ecrire/data and import it.
......@@ -3,6 +3,7 @@
LC_ALL=C
mkdir -p boards
rm -f boards/*
for m in ../boards/*.xml.in ../src/*/*.xml.in
do
......
......@@ -5,7 +5,7 @@ use Data::Dumper;
#
# The translation status from .po files
#
# Copyright (C) 2004-2005 Bruno Coudoin.
# Copyright (C) 2004-2010 Bruno Coudoin.
#
# gcompris2spip is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
......@@ -34,6 +34,7 @@ use Data::Dumper;
# USAGE:
# This tool requires no parameters. It must be run withing the gcompris/docs directory
# It will extract xml menus from gcompris/boards and create a spip XML version for them
# in the output file all_article.spip
#------------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment