GOOGLE相同的優先級警告的解決方案(續)

上次的文章,留下了一個問題,就是這個ASP的生成地圖工具該怎麼樣改正了因為自個兒不會ASP,給了大家一個思考的線索,今日翻閱了網上的資料,自個兒在反反復復調整了下終於擺平了,發覺ASP代碼很變態,寫的款式是有差別的,不像PHP恣意,只有終了符號就可以了,物品完成了,和大家分享下,假如碰到這個問題,可以用這個試下首先聲明,我不是SEO聖手,我在考求

dim pro
dim inde ‘在面前要聲明下變量

Function getfilelink(file,datafile)
file=replace(file,root,)
file=replace(file,\,/) ‘我的在這處加在這個後面的
pro=products
inde=index.html
if instr(file,inde)>0 then
cccc=1.0
else
if instr(file,pro)>0 then
cccc=0.9
else
cccc=0.8
end if
end if ‘終了了

file=replace(file,wangmin,)
If FileExtensionIsBad(file) then Exit Function
if month(datafile)<10 then filedatem=0
if day(datafile)<10 then filedated=0
filedate=year(datafile)&-&filedatem&month(datafile)&-&filedated&day(datafile)
getfilelink = <url><loc>&server.htmlencode(session(server)&seoDir&file)&</loc><lastmod>&filedate&</lastmod><changefreq>daily</changefreq><priority>&cccc&</priority></url>
Response.Flush
End Function

檢查下我的xml </loc>