在我的网站上添加站点地图的过程是什么. [英] Add sitemap on my web site what is the process.
本文介绍了在我的网站上添加站点地图的过程是什么.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的网站上添加站点地图的过程是什么.
Add sitemap on my web site what is the process.
推荐答案
没有太多信息,但是通常您应该:
1.创建母版页文件.
2.在此母版页文件中添加如下内容:
Not too much info, but typically you should:
1. Create master page file.
2. In this master page file add something like that:
<asp:Menu ID="Menu1" runat="server" StaticDisplayLevels="3">
<Items>
<asp:MenuItem Text="File" Value="File">
<asp:MenuItem Text="New" Value="New"></asp:MenuItem>
<asp:MenuItem Text="Open" Value="Open"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Edit" Value="Edit">
<asp:MenuItem Text="Copy" Value="Copy"></asp:MenuItem>
<asp:MenuItem Text="Paste" Value="Paste"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="View" Value="View">
<asp:MenuItem Text="Normal" Value="Normal"></asp:MenuItem>
<asp:MenuItem Text="Preview" Value="Preview"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
(来自此处 [ ^ ])
确实,您可以使用某些数据源来代替硬编码菜单.
(from here[^])
Really you can use some data source instead of hard coding menu.
我从来没有做过像您所要求的那样的事情.
现在我做了什么,我在Google中搜索了以下单词:如何添加站点地图" ,并获得了大约667,000,000个结果(在0.08秒内).那不是很酷吗?
这个看起来很有希望:
如何:添加简单的网站导航 [ SiteMapPath类 [
I have never ever before done something like what you requested.
Now what I did, I searched for these words in Google: "how to add sitemap" and got approximately 667,000,000 results (in 0.08 seconds). Isn''t that cool?
This one looks promising:
How to: Add simple site navigation[^]
And SiteMapPath Class[^] doesn''t look bad either.
As I said, I have never done this before, just tried a simple Google-search and found good results in the fraction of a second. And so will you, if you only give it a try. Go ahead, don''t worry. Google is your friend. :)
这篇关于在我的网站上添加站点地图的过程是什么.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文