Code Search for Developers
 
 
  

make-content.sh from SME Web Application Framework at Krugle


Show make-content.sh syntax highlighted

#!/bin/bash
### creates the content of the folders books/, books_html/,
### workspace/books/, etc. by exploding the initial xml files

### go to this dir
cd $(dirname $0)

### create some directories
mkdir -p books/svn workspace initial_xml/uploaded

book_list="docbookwiki_guide
           smewebapp_manual
           menushpk_manual"

### import books in the system
for book_id in $book_list
do
  ./import.sh initial_xml/${book_id}_en.xml $book_id
done

./import.sh initial_xml/menushpk_manual_sq_AL.xml

### set proper ownership to some content directories
### that need to be accessed (written) by apache
content_dirs="books/
              books/xml/
              books/cache/
              books/media/
              books/svn/
              workspace/
              workspace/xml/
              workspace/cache/
              workspace/media/
              initial_xml/uploaded/"
../chown_norec.sh $content_dirs




See more files for this project here

SME Web Application Framework

smewebapp intends to simplify the construction of web applications for informatization of the work of SME-s (small and medium enterprises), institutions, organizations etc.

Project homepage: http://sourceforge.net/projects/smewebapp
Programming language(s): JavaScript,PHP,Shell Script,XML
License: other

  SVN/
    README
    book_list.sh
    commit-email.pl
    commit.sh
    commit_all.sh
    get_url.sh
    init.sh
    post-commit.tmpl
    sync.sh
    sync_all.sh
    txt_diff.sh
    update.sh
    update_all.sh
  books_media/
  cache/
    cache.sh
    html2xhtml.php
  downloads/
    test/
      kurani_1.tex
      kurani_1.xml
      test.sh
    checkout_xml_sources.sh
    make-all-downloads.sh
    make-downloads.sh
    sgml_dsssl.sh
    xml2latex.xsl
    xml_xsl.sh
  explode/
    explode.sh
    post_process.php
    pre_process.php
  implode/
    implode.sh
    post_process.php
    pre_process.php
    section2sect.sh
  initial_xml/
    GNU-FDL.xml
    article_template_en.xml
    book_template_en.xml
    docbookwiki_guide_en.xml
    menushpk_manual_en.xml
    menushpk_manual_sq_AL.xml
    smewebapp_manual_en.xml
    transform.xsl
    transform_template.xsl
  test/
    get_id.sh
    get_lang.sh
    sect2section.sh
    section2sect.sh
  book_list.sh
  clean.sh
  import.sh
  make-content.sh
  svn_relocate.sh