Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.488 and 1.511

version 1.488, 2001/11/22 10:28:46 version 1.511, 2001/12/24 10:00:05
Line 1 Line 1
   @auto[]
   $request:charset[windows-1251]
   $response:charset[windows-1251]
   
 @main[]  @main[]
 $ORIGINS(1)  ^mail3[]
   #^ttime[]
   #^tupper[]
   #^treplace[]
   #^xslt2[]
   #^tcache2[]
   #$ORIGINS(1)
 #$t[^table::set{a b} ^table::set{c d}]  #$t[^table::set{a b} ^table::set{c d}]
 #^ttaintuntaint[]  #^ttaintuntaint[]
 #^tappend2[]  #^tappend2[]
Line 68  $ORIGINS(1) Line 78  $ORIGINS(1)
 #^exec[]  #^exec[]
 #^fori[]  #^fori[]
 #^tconnect[]  #^tconnect[]
 ^xslt[]  #^xslt[]
 #^xml[]  #^xml[]
 #^header[]  #^header[]
 <hr>  <hr>
 OK  OK
   
   @mail3[]
   ^mail:send[
           $.from[Александр Петросян <paf@design.ru>]
           $.to[Александр Петросян <paf@design.ru>]
           $.subject[проверка2]
           $.body[
                   $.text[
                           $.content-type[$.value[text/plain] $.charset[windows-1251]]
                           $.body[проверка]
                   ]
           ]
   ]
   
   
   @ttime[]
   $now[^date::now[]]
   $now.hour:$now.minute
   
   @tupper[]
   $t[abcABCабвАБВ]
   $t<br>
   ^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<br>
   $cache[^file:list[.;\.cache^$]]
   ^file:delete[$cache_key]deleted($cache.name)<br>
   
   
   
   @xslt2[]
   $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>
   <document><block><p>hi</p></block></document>
   }]
   #^show-xdoc2[$xdoc]
   ^show-xdoc2[^xdoc.transform[templates/_document.xslt]]
   <hr>
   
   
   @tcache2[]
   ^cache[$DB_HOME/keyключ](2){
           ^math:random(100)
   }
   
 @ttaintuntaint[]  @ttaintuntaint[]
 <!-- некий панковский заголовок с буковкой C в круглых скобках -->^taint[html][  <!-- некий панковский заголовок с буковкой C в круглых скобках -->^taint[html][
   
Line 270  $code[^hashfile::open[$DB_HOME;cache]] Line 336  $code[^hashfile::open[$DB_HOME;cache]]
 #       ^code.delete[]  #       ^code.delete[]
 }  }
   
   
 @thashfileexp[]  @thashfileexp[]
 $hf[^hashfile::open[$DB_HOME;hashfile]]  $hf[^hashfile::open[$DB_HOME;hashfile]]
 $hf.paf[$.value[крут] $.expires(3)]  $hf.paf[$.value[крут] $.expires(3)]
Line 602  $a.status|$a.stderr<hr> Line 667  $a.status|$a.stderr<hr>
 @fori[][i]  @fori[][i]
 ^for[i](1;3){... =$i= ...}  ^for[i](1;3){... =$i= ...}
   
 @xdata[]  @xdata0[]
 #$response:content-type[$.value[text/html] $.charset[windows-1251]]  #$response:content-type[$.value[text/html] $.charset[windows-1251]]
 $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251"?>  $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251"?>
 <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"-->  <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"-->
Line 616  $xdoc[^xdoc::set{<?xml version="1.0" enc Line 681  $xdoc[^xdoc::set{<?xml version="1.0" enc
 </people>  </people>
 }]  }]
   
   @xdata[]
   #$response:content-type[$.value[text/html] $.charset[windows-1251]]
   $xdoc[^xdoc::set{^process{<?xml version="1.0" encoding="windows-1251"?>
   <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"-->
   <people>
           <man id="1" имя="word слово">
                   <name>P&#171^;AF        B</name>
           </man>
                   <man id="2">
               <name>ПИФ^taint[&]</name>
                   </man>
   </people>
   }}]
   
 @xml[]  @xml[]
 ^xdata[]  ^xdata[]
   
Line 686  $file[^xdoc.file[ Line 765  $file[^xdoc.file[
 ^file.save[text;out/save_file.html]  ^file.save[text;out/save_file.html]
 #$response:body[^xdoc.file[     $.media-type[text/paf]  ]]  #$response:body[^xdoc.file[     $.media-type[text/paf]  ]]
 <pre>^taint[html][^xdoc.string[  <pre>^taint[html][^xdoc.string[
 #       $.method[html]          $.method[html]
 #       $.version[1.0]  #       $.version[1.0]
 #       $.encoding[utf-8]  #       $.encoding[utf-8]
 #       $.omit-xml-declaration[yes]  #       $.omit-xml-declaration[yes]
Line 697  $file[^xdoc.file[ Line 776  $file[^xdoc.file[
         $.media-type[text/paf]          $.media-type[text/paf]
 ]]  ]]
 </pre>  </pre>
   

Removed from v.1.488  
changed lines
  Added in v.1.511


E-mail: