--- parser3/src/www/htdocs/Attic/index.html 2001/11/21 10:02:13 1.486
+++ parser3/src/www/htdocs/Attic/index.html 2001/12/13 07:32:13 1.499
@@ -1,4 +1,9 @@
@main[]
+#^treplace[]
+^xslt2[]
+#^tcache2[]
+#$ORIGINS(1)
+#$t[^table::set{a b} ^table::set{c d}]
#^ttaintuntaint[]
#^tappend2[]
#^badvsnprintf[]
@@ -66,12 +71,45 @@
#^exec[]
#^fori[]
#^tconnect[]
-^xslt[]
+#^xslt[]
#^xml[]
#^header[]
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][
@@ -261,13 +299,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]]
@@ -600,7 +639,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 +653,20 @@ $xdoc[^xdoc::set{
}]
+@xdata[]
+#$response:content-type[$.value[text/html] $.charset[windows-1251]]
+$xdoc[^xdoc::set{^process{
+
+
+
+ P«^;AF B
+
+
+ ПИФ^taint[&]
+
+
+}}]
+
@xml[]
^xdata[]
@@ -682,10 +735,17 @@ $file[^xdoc.file[
$.method[html]
]]
^file.save[text;out/save_file.html]
-^taint[^xdoc.string[
-#]]
-# $.encoding[windows-1251]
- $.method[html]
+#$response:body[^xdoc.file[ $.media-type[text/paf] ]]
+^taint[html][^xdoc.string[
+# $.method[html]
+# $.version[1.0]
+# $.encoding[utf-8]
+# $.omit-xml-declaration[yes]
+# $.standalone[yes]
+# $.doctype-public[-//W3C//DTD XHTML]
+# $.doctype-system[/a/b/c/]
+# $.indent[no]
+ $.media-type[text/paf]
]]