projects
/
tclrobot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unset meta attributes (so they are reset for next meta)
[tclrobot.git]
/
robot.tcl
diff --git
a/robot.tcl
b/robot.tcl
index
793298c
..
e67a9b8
100755
(executable)
--- a/
robot.tcl
+++ b/
robot.tcl
@@
-1,5
+1,5
@@
#!/usr/bin/tclsh
#!/usr/bin/tclsh
-# $Id: robot.tcl,v 1.33 2002/03/25 16:13:21 adam Exp $
+# $Id: robot.tcl,v 1.34 2002/06/18 19:57:53 adam Exp $
#
proc RobotFileNext1 {area lead} {
# puts "RobotFileNext1 area=$area lead=$lead"
#
proc RobotFileNext1 {area lead} {
# puts "RobotFileNext1 area=$area lead=$lead"
@@
-517,7
+517,8
@@
proc RobotTextHtml {url out} {
set metaname {}
set metacontent {}
puts -nonewline $out "<meta"
set metaname {}
set metacontent {}
puts -nonewline $out "<meta"
- foreach a [array names parm] {
+ set al [array names parm]
+ foreach a $al {
set al [string tolower $a]
puts -nonewline $out " $al"
puts -nonewline $out {="}
set al [string tolower $a]
puts -nonewline $out " $al"
puts -nonewline $out {="}
@@
-531,6
+532,7
@@
proc RobotTextHtml {url out} {
set metacontent $parm($a)
}
}
set metacontent $parm($a)
}
}
+ unset parm($al)
}
puts $out "></meta>"
# go through robots directives (af any)
}
puts $out "></meta>"
# go through robots directives (af any)