Sorry, I should have edited that better. The problem is caused by the changes to postprocess.pl, not to finkdoc-website.i18n.xsl.

  -- Dave

On Aug 2, 2004, at 10:34 PM, 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;



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits



------------------------------------------------------- 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