|
From: Alberto M. Brand?o Sim?es <am...@us...> - 2002-04-16 09:49:13
|
Update of /cvsroot/numexp/web-page
In directory usw-pr-cvs1:/tmp/cvs-serv579
Modified Files:
clients clients.xml docs latests.xml makefile
Log Message:
Some scripts enhancements;
Added publish option to makefile (not yet tested)
Index: clients
===================================================================
RCS file: /cvsroot/numexp/web-page/clients,v
retrieving revision 1.3
retrieving revision 1.4
diff -U4 -r1.3 -r1.4
--- clients 3 Jan 2002 08:34:53 -0000 1.3
+++ clients 16 Apr 2002 09:49:08 -0000 1.4
@@ -5,14 +5,17 @@
if (defined($makall)) {
my $template = shift;
my $clients = "clients.xml";
- my $data = {};
+ my $data;
my $i = 0;
+
dt($clients, (
'clients' => sub{ },
'description' => sub{ $data->{description} = $c; },
- 'shot' => sub{ $data->{shot}.="<img align='center' src='$c'>" },
+ 'shot' => sub{
+ $data->{shot}.="<img align='center' src='$v{file}'><br>$c<br><br>";
+ },
'manager' => sub {
if ($v{email}) {
$data->{manager} = "<a href='mailto:$v{email}'>$c</a>";
} else {
@@ -22,17 +25,23 @@
'client' => sub{
$i++;
my $name = $v{name};
open HTML, ">htdocs/client$i.html" or die "cannot open file: $!";
- print HTML dt($template, (
- '-default' => sub{ toxml },
- 'name' => sub{ $name },
- # Not beautifull, but works
- 'nospace' => sub{ " " },
- 'description' => sub{ $data->{description} },
- 'manager' => sub{ $data->{manager} },
- 'shot' => sub{ $data->{shot} },
- ));
+ print HTML dt($template,
+ (
+ '-default' => sub{ toxml },
+ 'name' => sub{ $name },
+ # Not beautifull, but works
+ 'nospace' => sub{ " " },
+ 'description' => sub{ $data->{description} },
+ 'manager' => sub{ $data->{manager} },
+ 'shot' => sub{
+ if ($data->{shot}) {
+ "<div align='left'><b>Screenshots</b></div><br>".$data->{shot}
+ } else {
+ ""
+ }},
+ ));
close HTML;
$data = {};
},
));
Index: clients.xml
===================================================================
RCS file: /cvsroot/numexp/web-page/clients.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -U4 -r1.6 -r1.7
--- clients.xml 14 Apr 2002 17:51:14 -0000 1.6
+++ clients.xml 16 Apr 2002 09:49:08 -0000 1.7
@@ -5,12 +5,12 @@
for more details.</description>
<manager>NumExp Team</manager>
</client>
- <client name="gnumexp">
+ <client name="Gnumexp">
<description>
-<p><b>gnumexp</b> is a gui frontend (or client, if you prefer) to the numexp
+<p><b>Gnumexp</b> is a gui frontend (or client, if you prefer) to the numexp
kernel (corba server). It has the same abilities as numexp-client, and
some extra features that only a gui can provide, such as:
<ul>
@@ -21,10 +21,10 @@
<li> plotting (not yet implemented);</li>
<li>etc.</li></ul></p>
</description>
- <shot>gnumexp.png</shot>
- <shot>xygraph2-shot1.png</shot>
+ <shot file="gnumexp.png">Gnumexp console.</shot>
+ <shot file="xygraph2-shot1.png">Gnumexp canvas drawing sine and cosine.</shot>
<manager email="gu...@us...">Gustavo Carneiro</manager>
</client>
<client name="nxperl-corba">
Index: docs
===================================================================
RCS file: /cvsroot/numexp/web-page/docs,v
retrieving revision 1.7
retrieving revision 1.8
diff -U4 -r1.7 -r1.8
--- docs 16 Jan 2002 08:25:59 -0000 1.7
+++ docs 16 Apr 2002 09:49:08 -0000 1.8
@@ -26,9 +26,8 @@
my $file = shift;
print <<"EOT";
<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
EOT
print dt($file, ( '-default' => sub{toxml},
math => sub {
@@ -100,10 +99,15 @@
return $a;
},
module => sub {
$a = <<"EOT";
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd">
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
+ "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"
+[
+ <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
+]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../main.css" rel="stylesheet" type="text/css"/>
</head>
Index: latests.xml
===================================================================
RCS file: /cvsroot/numexp/web-page/latests.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -U4 -r1.5 -r1.6
--- latests.xml 3 Jan 2002 08:34:53 -0000 1.5
+++ latests.xml 16 Apr 2002 09:49:08 -0000 1.6
@@ -1,5 +1,19 @@
<news>
+ <new date="20020402">
+ <title>numexp-core 0.1 second beta</title>
+ <url>gz/numexp-core-0.1-beta-2.tar.gz</url>
+ <desc>Latest beta had many problems configuring. In this version.
+ we corrected that problems, and introduced some news, like
+ the online help system.</desc>
+ </new>
+
+ <new date="20020318">
+ <title>numexp-core 0.1 first beta</title>
+ <url>gz/numexp-core-0.1-beta-1.tar.gz</url>
+ <desc>Gnome 2 is becoming more stable, as well as numexp-core</desc>
+ </new>
+
<new date="20011227">
<title>numexp-core 0.1 second alpha</title>
<url>gz/numexp-core-0.1-alpha-2.tar.gz</url>
<desc>Some more code lines, some solved bugs, some bugs added! Soon
Index: makefile
===================================================================
RCS file: /cvsroot/numexp/web-page/makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -U4 -r1.6 -r1.7
--- makefile 23 Jan 2002 09:37:54 -0000 1.6
+++ makefile 16 Apr 2002 09:49:08 -0000 1.7
@@ -43,5 +43,9 @@
web_tgz: page
@ echo "- Creating tar.gz file"
@ tar zcvf nxp-web-page-`date +%Y%m%d`.tar.gz htdocs
+publish: page
+ @ echo "- Using '$(USER)' for scp."
+ @ scp -r htdocs $(USER)@shell1.sourceforge.net:/home/groups/n/nu/numexp
+
|