--- parser3/src/www/htdocs/Attic/index.html 2001/11/22 10:28:46 1.488
+++ parser3/src/www/htdocs/Attic/index.html 2001/12/15 21:49:18 1.503
@@ -1,5 +1,10 @@
@main[]
-$ORIGINS(1)
+$request:charset[windows-1251]
+$response:charset[windows-1251]
+#^treplace[]
+#^xslt2[]
+#^tcache2[]
+#$ORIGINS(1)
#$t[^table::set{a b} ^table::set{c d}]
#^ttaintuntaint[]
#^tappend2[]
@@ -74,6 +79,39 @@ $ORIGINS(1)
OK
+@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][
@@ -263,13 +301,14 @@ $dom_created_in_air[^xdoc::create[doc]]
@tcache[]
+^rem{
#^hashfile:clear[cache]
$code[^hashfile::open[$DB_HOME;cache]]
^code.cache[key](2){
^math:random(100)
# ^code.delete[]
}
-
+}
@thashfileexp[]
$hf[^hashfile::open[$DB_HOME;hashfile]]
@@ -602,7 +641,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{
@@ -616,6 +655,20 @@ $xdoc[^xdoc::set{
}]
+@xdata[]
+#$response:content-type[$.value[text/html] $.charset[windows-1251]]
+$xdoc[^xdoc::set{^process{
+
+
+
+ P«^;AF B
+
+
+ ПИФ^taint[&]
+
+
+}}]
+
@xml[]
^xdata[]