Handbook
Glossary
write-link ( href text -- xml )
Vocabulary
farkup
Inputs
href
an
object
text
an
object
Outputs
xml
an
object
Definition
USING:
kernel
namespaces
xml.data
xml.syntax.private
;
IN:
farkup
:
write-link
( href text -- xml )
[
check-url
link-no-follow?
get
"nofollow"
and
and
]
dip
3
nenum
T{
xml-chunk
{
seq
V{
""
T{
tag
{
name ~name~
}
{
attrs ~attrs~
}
{
children ~vector~
}
}
""
}
}
}
interpolate-xml
;