/[clonezilla-sysresccd]/trunk/www/working/scripts/html2doc
ViewVC logotype

Diff of /trunk/www/working/scripts/html2doc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 52 by sng, Thu May 20 16:24:26 2010 UTC revision 57 by sng, Fri May 21 21:47:03 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  ##############################################################################  ##############################################################################
3  #                                                                            #  #                                                                            #
4  # html2doc, (C) 2007-2010 S. Georgaras <sng@hellug.gr>                   #  # html2doc, (C) 2007-2010 S. Georgaras <sng@hellug.gr>                       #
5  #                                                                            #  #                                                                            #
6  # This file is part of Clonezilla-SysRescCD.                                 #  # This file is part of Clonezilla-SysRescCD.                                 #
7  #                                                                            #  #                                                                            #
# Line 73  s{^[ \t]*<a href="screenshots.html">Scre Line 73  s{^[ \t]*<a href="screenshots.html">Scre
73  s{[hH][rR][Ee][fF]="README.html"{href="../README.html"{g  s{[hH][rR][Ee][fF]="README.html"{href="../README.html"{g
74  s{>Documentation<{>Offline Documentation<{  s{>Documentation<{>Offline Documentation<{
75  s{Documentation:{Offline Documentation:{  s{Documentation:{Offline Documentation:{
76    /<div id="rss">/ , /<.div>/ d
77    /<div id="lphp"/d
78  ' "$n" > doc/"$n"  ' "$n" > doc/"$n"
79    rm "$n"    rm "$n"
80  done  done
# Line 83  sed ' Line 85  sed '
85  s{[hH][rR][Ee][fF]="\.\./README.html"{href="README.html"{g  s{[hH][rR][Ee][fF]="\.\./README.html"{href="README.html"{g
86  s{<[aA] [hH][rR][Ee][fF]="\([^"]*\)">\([^<]*\)</a><[bB][rR][^>]*>{<a href="doc/\1">\2</a><br>{  s{<[aA] [hH][rR][Ee][fF]="\([^"]*\)">\([^<]*\)</a><[bB][rR][^>]*>{<a href="doc/\1">\2</a><br>{
87    
88    s{\(.\)images/{\1doc/images/{g
89    s{doc/images/line.png{{
90    
91  /<div id="menu">/,/<.div>/d  /<div id="menu">/,/<.div>/d
92  /<div id="footer">/i \  /<div id="footer">/i \
93  </div>  </div>
94    
   
   
 /<div id="rss">/ , /<.div>/ d  
 /<div id="lphp"/d  
   
95  ' doc/README.html > README.html  ' doc/README.html > README.html
96  rm doc/README.html  rm doc/README.html
97    

Legend:
Removed from v.52  
changed lines
  Added in v.57

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26