Update of /cvsroot/woc/woc/data/wml
In directory sc8-pr-cvs1:/tmp/cvs-serv24845/data/wml
Modified Files:
.cvsignore Makefile.am syncwoclist.pl.in woclist.xml
Log Message:
Final tweaks. I can now add one item reasonably easy. See woc website: 1-butoxy-2-propanol
Index: .cvsignore
===================================================================
RCS file: /cvsroot/woc/woc/data/wml/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** .cvsignore 14 Jan 2004 13:01:56 -0000 1.2
--- .cvsignore 14 Jan 2004 15:44:42 -0000 1.3
***************
*** 2,3 ****
--- 2,4 ----
Makefile.in
tmp
+ *.pl
Index: Makefile.am
===================================================================
RCS file: /cvsroot/woc/woc/data/wml/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Makefile.am 14 Jan 2004 12:49:49 -0000 1.3
--- Makefile.am 14 Jan 2004 15:44:42 -0000 1.4
***************
*** 2,3 ****
--- 2,6 ----
SUBDIRS=
+
+ wmldir=${prefix}/web-docs/wocjava
+ wml_DATA=woclist.xml
Index: syncwoclist.pl.in
===================================================================
RCS file: /cvsroot/woc/woc/data/wml/syncwoclist.pl.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** syncwoclist.pl.in 14 Jan 2004 13:27:13 -0000 1.1
--- syncwoclist.pl.in 14 Jan 2004 15:44:42 -0000 1.2
***************
*** 1,3 ****
! #! @PATHTOPERL@
use strict;
use diagnostics;
--- 1,3 ----
! #! @PATHTOPERL@
use strict;
use diagnostics;
***************
*** 15,19 ****
} else {
$newdir = "tmp/";
! $orgdir = "../../../../share/woc/data/wml/";
}
--- 15,19 ----
} else {
$newdir = "tmp/";
! $orgdir = "@PHYSPATH@/web-docs/data/wml/";
}
***************
*** 23,29 ****
my $orgfile = $newfile;
$orgfile =~ s/^$newdir//;
! my $subdir = (substr $orgfile, 0, 1)."/";
! $subdir =~ s/[0-9]/123/;
! $orgfile = $orgdir.$subdir.$orgfile;
if (-s $orgfile) {
my $diff = `diff $newfile $orgfile`;
--- 23,27 ----
my $orgfile = $newfile;
$orgfile =~ s/^$newdir//;
! $orgfile = $orgdir.$orgfile;
if (-s $orgfile) {
my $diff = `diff $newfile $orgfile`;
Index: woclist.xml
===================================================================
RCS file: /cvsroot/woc/woc/data/wml/woclist.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** woclist.xml 14 Jan 2004 13:01:56 -0000 1.1
--- woclist.xml 14 Jan 2004 15:44:42 -0000 1.2
***************
*** 4,7 ****
--- 4,16 ----
xmlns:import="http://www.sci.kun.nl/woc/import"
xmlns:xlink="http://www.sci.kun.nl/woc/topicmap">
+ <ITEM NAME="1-butoxy 2-propanol" ID="WOC00001737" CLASS="CHEMICAL" FILE="1butoxy2propanol">
+ <DICT>
+ <NAME CLASS="IUPAC">
+ <LANG ID="EN">1-butoxy 2-propanol</LANG>
+ <LANG ID="NL">1-butoxy 2-propanol</LANG>
+ </NAME>
+ </DICT>
+ <INDEX CLASS="CAS-NUMBER">5131-66-8</INDEX>
+ </ITEM>
<ITEM NAME="1,1,1-trichloorethaan" ID="WOC00001542" CLASS="CHEMICAL" FILE="111trichloorethaan">
<DICT>
|