--- parser3/src/www/htdocs/Attic/index.html 2001/11/22 10:28:46 1.488
+++ parser3/src/www/htdocs/Attic/index.html 2001/12/10 09:44:18 1.497
@@ -1,5 +1,8 @@
@main[]
-$ORIGINS(1)
+^treplace[]
+#^xslt2[]
+#^tcache2[]
+#$ORIGINS(1)
#$t[^table::set{a b} ^table::set{c d}]
#^ttaintuntaint[]
#^tappend2[]
@@ -68,12 +71,40 @@ $ORIGINS(1)
#^exec[]
#^fori[]
#^tconnect[]
-^xslt[]
+#^xslt[]
#^xml[]
#^header[]
OK
+@treplace[]
+$copy-paste-clean[^table::set{a b
+. _
+, _
++ _
+& _
+? _
+= _}]
+
+$cache_key[^taint[в.а,с+я]&был?тут=недавно]
+# почему-то этот replace роняет апач в 500 ошибку :(
+^cache_key.replace[$copy-paste-clean]
+
+
+@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 +294,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 +634,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 +648,20 @@ $xdoc[^xdoc::set{
}]
+@xdata[]
+#$response:content-type[$.value[text/html] $.charset[windows-1251]]
+$xdoc[^xdoc::set{^process{
+
+
+
+ P«^;AF B
+
+
+ ПИФ^taint[&]
+
+
+}}]
+
@xml[]
^xdata[]