Changeset 737
- Timestamp:
- 11/16/08 20:25:41 (3 years ago)
- File:
-
- 1 edited
-
trunk/KoalaSkin/bin/savemulti (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/KoalaSkin/bin/savemulti
r189 r737 104 104 # Added by FredericLuddeni - 11 FEV 2004 105 105 # Run html to twiki parser !!! 106 open(ENTREE, ">/tmp/twikitemp$$.txt"); 107 print ENTREE ("$text"); 108 close(ENTREE); 109 $text = `./html2twiki /tmp/twikitemp$$.txt`; 110 unlink("/tmp/twikitemp$$.txt"); 106 my $sandbox = $TWiki::sharedSandbox || $TWiki::sandbox; 107 my $filename = $sandbox->normalizeFileName( "/tmp/twikitemp$$.txt" ); 108 open ENTREE, "> $filename" or die "Can't write to $filename: $!"; 109 print ENTREE $text; 110 close ENTREE; 111 ($text) = $sandbox->sysCommand(`./html2twiki `.$filename); 112 unlink $filename; 111 113 } 112 114
Note: See TracChangeset
for help on using the changeset viewer.
