Diễn đàn    ASP.NET & Sharepoint MOSS, WSS 2007    Sitemap và cấu trúc file sitemap

Thành viênTrả lời
lenh_ho_xung

Tieu ngao giang ho
42  bài
23-7-2008 10:31:52
Thông thường mọi người chỉ biết site map là cái bản đồ website. Tức là muốn nhảy vào đâu xem cái gì thì chui vào trang đó mà xem. Nhưng trên thực tế thì sitemap lại là một cái khác, là 1 cái phát sinh từ khi có search engine, và đặc biệt là google.
 
lenh_ho_xung

Tieu ngao giang ho
42  bài
23-7-2008 10:36:11
Ví dụ như những cái site map kiểu thế này là site map kiểu như mọi người hiểu, tức là 1 danh sách các link cho người dùng có thể xem


http://www.ioit-hcm.ac.vn/sitemap.php
http://www.vietshare.com/vietnam/sitemap.asp


Nhưng đây mới là định nghĩa của thế giới (http://www.sitemaps.org/)

What are Sitemaps?
Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site.

Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URLs in the Sitemap and learn about those URLs using the associated metadata. Using the Sitemap protocol does not guarantee that web pages are included in search engines, but provides hints for web crawlers to do a better job of crawling your site.

Sitemap 0.90 is offered under the terms of the Attribution-ShareAlike Creative Commons License and has wide adoption, including support from Google, Yahoo!, and Microsoft.

Tóm lại sitemap là 1 file XML có định dạng được qui định sẵn để giúp các searchengine có thể tìm kiếm tốt hơn.
 
lenh_ho_xung

Tieu ngao giang ho
42  bài
23-7-2008 10:53:35
Các thẻ được mô tả như thế này

The Sitemap must:

* Begin with an opening <urlset> tag and end with a closing </urlset> tag.
* Specify the namespace (protocol standard) within the <urlset> tag.
* Include a <url> entry for each URL, as a parent XML tag.
* Include a <loc> child entry for each <url> parent tag.

Đây là mẫu file xml sitemap

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/</loc>
<lastmod>2005-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
 
lenh_ho_xung

Tieu ngao giang ho
42  bài
23-7-2008 10:54:47
Các bạn có thể xem site map của diễn đàn này tại địa chỉ

http://coder.awas.vn/desktops/forum/sitemap.aspx
 
lenh_ho_xung

Tieu ngao giang ho
42  bài
23-7-2008 11:3:56
source đây nè

http://coder.awas.vn/downloads.ashx?id=677e4d8d17f24810810b19b6ba3b632a
 
kimlong008


25  bài
11-10-2008 16:38:9
hey lệnh hồ xung sao đi đâu cũng gặp hết vậy ?
 
lenh_ho_xung

Tieu ngao giang ho
42  bài
11-10-2008 16:51:43
ý bạn là gặp ai cơ?
---
 

Chủ đề gần đây :

Cùng loại :

Tên file Mô tả chi tiết Ngày
NWeb.zip (1) Module đơn giản Newsweb trên Dotnetnuke v10.x.x.x10/18/2025 8:08:11 AM
vspforum.zip (11) Ma nguon vspforum ngay xua4/18/2023 6:38:37 AM
pdfjs.rar (2) pdfjs 2017 : hiển thị tốt trên iphone 11, 12, 13 không lỗi, bản 2012 sẽ lỗi trên iphone6/21/2022 11:52:48 AM
pdfjs2.rar (2) Xem file pdf bằng viewer.hml cua pdfjs (thư viện chuẩn mozilla) 2012. https://mozilla.github.io/pdf.js/getting_started/#download có thể download bản prebuild tại đây6/21/2022 11:52:04 AM
runner.zip (0) using three.js, orbitcontrol to view an object move random on map. Di chuyển 1 đồ vật ngẫu nhiên trên bản đồ, sử dụng với demo nhân viên di chuyển trong văn phòng. Toàn js download về là chạy12/5/2019 5:55:14 PM
gmap.zip (1) google map + marker7/17/2019 2:25:05 PM
vinsmarthomeservice.zip (1) java post json to api, use AsyncTask, event listener7/9/2019 5:00:10 PM
fblogin.zip (0) Login facebook bang javascript SDK7/9/2019 9:16:37 AM
autocomplete-location.zip (2) autocomplete location geo from google place, html + js7/4/2019 4:37:55 PM
WebAPI.zip (8) api for android access db (v1.0.0)7/4/2019 9:14:17 AM