--- parser3/src/www/htdocs/Attic/index.html 2001/12/05 11:24:55 1.494
+++ parser3/src/www/htdocs/Attic/index.html 2001/12/15 21:49:18 1.503
@@ -1,4 +1,9 @@
@main[]
+$request:charset[windows-1251]
+$response:charset[windows-1251]
+#^treplace[]
+#^xslt2[]
+#^tcache2[]
#$ORIGINS(1)
#$t[^table::set{a b} ^table::set{c d}]
#^ttaintuntaint[]
@@ -74,6 +79,39 @@
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](100){
+^code.cache[key](2){
^math:random(100)
# ^code.delete[]
}
-
+}
@thashfileexp[]
$hf[^hashfile::open[$DB_HOME;hashfile]]