最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
ZBLOG增加文章里的关键字替换
时间:2022-07-02 13:46:30 编辑:袖梨 来源:一聚教程网
内关键字替换
Function AddLink(str)
Dim Rs
Set Rs = objConn.Execute("Select [Keys],[LinkUrl],[LinkTitle],[LinkWindow] FROM [blog_KeyLink]")
While Not Rs.eof
if instr(str,Rs(0))>0 then
AddLink=Replace(str,Rs(0),"")
end if
Rs.movenext
Wend
Set Rs=Nothing
End Function 网页教学网
Public Property Get HtmlContent
HtmlContent=AddLink(TransferHTML(UBBCode(Content,"[face][link][autolink][font][code][image][typeset][media][][key]"),"[html-japan][vbCrlf][upload]"))
End Property
相关文章
- python特殊字符作为字符串不转义的问题 09-24
- python矩阵基本运算的实现 09-24
- 关于python爬虫模块urllib库详解 09-24
- 安装Ruby和安装Rails详细步骤详解 09-24
- mac及linux下搭建ruby+rails环境 09-24
- redis集群搭建教程及遇到的问题处理 09-24