--- parser3/src/www/htdocs/Attic/index.html 2001/11/21 14:00:28 1.487 +++ parser3/src/www/htdocs/Attic/index.html 2001/12/19 17:20:15 1.508 @@ -1,4 +1,13 @@ @main[] +#^eval(100/6)[%.2f] +$request:charset[windows-1251] +$response:charset[windows-1251] +#^tupper[] +#^treplace[] +#^xslt2[] +#^tcache2[] +#$ORIGINS(1) +#$t[^table::set{a b} ^table::set{c d}] #^ttaintuntaint[] #^tappend2[] #^badvsnprintf[] @@ -72,6 +81,44 @@
OK +@tupper[] +$t[abcABCабвАБВ] +$t
+^t.upper[] + +@treplace[] +$copy-paste-clean[^table::set{a b +. _ +, _ ++ _ +& _ +? _ += _}] + +$cache_key[^taint[в.а,с+я]&был?тут=недавно.cache] +# почему-то этот replace роняет апач в 500 ошибку :( +#^cache_key.replace[$copy-paste-clean] +$test[abc] +^test.save[$cache_key]saved
+$cache[^file:list[.;\.cache^$]] +^file:delete[$cache_key]deleted($cache.name)
+ + + +@xslt2[] +$xdoc[^xdoc::set{ +

hi

+}] +#^show-xdoc2[$xdoc] +^show-xdoc2[^xdoc.transform[templates/_document.xslt]] +
+ + +@tcache2[] +^cache[$DB_HOME/keyключ](2){ + ^math:random(100) +} + @ttaintuntaint[] ^taint[html][ @@ -268,7 +315,6 @@ $code[^hashfile::open[$DB_HOME;cache]] # ^code.delete[] } - @thashfileexp[] $hf[^hashfile::open[$DB_HOME;hashfile]] $hf.paf[$.value[крут] $.expires(3)] @@ -600,7 +646,7 @@ $a.status|$a.stderr
@fori[][i] ^for[i](1;3){... =$i= ...} -@xdata[] +@xdata0[] #$response:content-type[$.value[text/html] $.charset[windows-1251]] $xdoc[^xdoc::set{ @@ -614,6 +660,20 @@ $xdoc[^xdoc::set{ }] +@xdata[] +#$response:content-type[$.value[text/html] $.charset[windows-1251]] +$xdoc[^xdoc::set{^process{ + + + + P«^;AF B + + + ПИФ^taint[&] + + +}}] + @xml[] ^xdata[] @@ -684,7 +744,7 @@ $file[^xdoc.file[ ^file.save[text;out/save_file.html] #$response:body[^xdoc.file[ $.media-type[text/paf] ]]
^taint[html][^xdoc.string[
-#	$.method[html]
+	$.method[html]
 #	$.version[1.0]
 #	$.encoding[utf-8]
 #  	$.omit-xml-declaration[yes]