David,

Let me explain...

At that time, each document had its directory under doc, in which is header.inc and footer.inc. Those include files then include ../header.inc and ../footer.inc and that is only what they do. So, I was told in the ML to simplify it.

I am really sorry I did not check it for news section. I currently have no idea how to make it work in news section as well as doc section.

Thank you


On 2004/08/03, at 11:37, David R. Morrison wrote:

Baba,

This change has broken compilation in the "news" directory.  (I had to
fix index.php by hand to add back the header and footer lines.)

I don't understand well enough what you were doing, to see how I should modify news.xml to cope with this change.

  -- Dave

On Jul 10, 2004, at 8:34 AM, BABA Yoshihiko wrote:

Update of /cvsroot/fink/web/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13995

Modified Files:
        postprocess.pl finkdoc-website.i18n.xsl
Log Message:
fixed the problem with header.??.inc and ../footer.inc


Index: postprocess.pl
===================================================================
RCS file: /cvsroot/fink/web/xml/postprocess.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- postprocess.pl 7 Mar 2004 20:57:54 -0000 1.8
+++ postprocess.pl 10 Jul 2004 12:34:29 -0000 1.9
@@ -20,8 +20,16 @@
while ($text =~ s|(</title>.*[^\\])'(.*</head>)|$1\\'$2|s) {
}
$text =~ s|</title>|";\n\$cvs_author = '$tag_author';\n\$cvs_date = '$tag_date';\n\$metatags = '|s;
-$text =~ s|</head>.*<body>|';\n\ninclude_once "header.inc";\n?>\n\n|s;
-$text =~ s|</body>.*</html>|\n\n<?\ include_once "footer.inc"; ?>|s;
+#$text =~ s|</head>.*<body>|';\n\ninclude_once "header.inc";\n?>\n\n|s;
+#$text =~ s|</body>.*</html>|\n\n<?\ include_once "footer.inc"; ?>|s;
+$text =~ s|</head>.*<body>(\n)*(<!--\?)?|\';\n\n|s;
+$text =~ s|</body>.*</html>|\n\n|s;
+
+$text =~ s|<!--\?|<?|g;
+$text =~ s|\?-->|?>|g;
+
+$text =~ s|{FINK_([^}]*)}|<? echo FINK_$1 ; ?>|g;
+
$text =~ s|\$Id|\$Fink|g;


$text =~ s|[EMAIL PROTECTED]@|<?php print \$root; ?>|g;


--
BABA Yoshihiko

"You can take my freedom but you can't take my beer!!" by aarkzoo

Town Planner (Kyoto Center for Community Collaboration)
Support, Translation and Documentation Team, Fink Project (http://fink.sourceforge.net)




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to