当前位置: 首页 > 图文教程 > 网络编程 > Javascript > 一行代码生成Google SiteMap

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 一行代码生成Google SiteMap


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 471 ::
收藏到网摘: n/a

 

\n';for(var%20i=0;i\n'+l[i]+'\n'+t+'\n'+c+'\n'+p+'\n\n';}s+='';clipboardData.setData('text',s);alert('以复制到剪切板');">一行代码生成SiteMap

你也可以复制下面的内容到地址栏上敲回车:)

    原理很简单,用javascript脚本代码提取当前页面内所有链接并生成标准的Google SiteMap格式源代码。建议你保存这个链接到快捷栏上,使用方法就像del.icio.us的那个快捷操作一样,在你站点内任何页面下执行这个脚本后,SiteMap代码就会自动生成并保存在你的剪切板中,粘贴到记事本保存为utf-8编码,你也可以将多个页面下的代码合成到一起,不过不要超过100k