#!/bin/sh

# commands to update the document pages from homepage

ROOTURL="http://mcx.space/wiki/index.cgi?embed=1&keywords"

lynx -dont_wrap_pre -dump "$ROOTURL=Download" > Download.txt
lynx -dont_wrap_pre -dump "$ROOTURL=Doc/Installation" > Setup_MCX.txt
lynx -dont_wrap_pre -dump "$ROOTURL=Doc/Basics" > Get_Started.txt
lynx -dont_wrap_pre -dump "$ROOTURL=Doc/FAQ" > FAQ.txt
lynx -dont_wrap_pre -dump "$ROOTURL=Citation" > Citation.txt

wget http://mcx.sourceforge.net/upload/mcx_diagram_paper.png -Omcx_workflow.png

lynx -dont_wrap_pre --source "$ROOTURL=Doc/mcx_help" > mcx_help.html
