Tips Internet Business Promotions, information tekhnologi, news, tutorial, review, etc
<urlset>
tag and
end with a closing </urlset>
tag.<urlset>
tag. <url>
entry for each URL, as
a parent XML tag.<loc>
child entry for each
<url>
parent tag.<?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>Also see our example with multiple URLs.
Attribute | Description | |
---|---|---|
<urlset>
|
required | Encapsulates the file and references the current protocol standard. |
<url>
|
required | Parent tag for each URL entry. The remaining tags are children of this tag. |
<loc>
|
required | URL of the page. This URL must begin with the protocol (such as http) and end with a trailing slash, if your web server requires it. This value must be less than 2,048 characters. |
<lastmod>
|
optional | The date of last modification of the file. This date should be in
W3C Datetime format. This format allows you to omit the time portion, if
desired, and use YYYY-MM-DD. Note that this tag is separate from the If-Modified-Since (304) header the server can return, and search engines may use the information from both sources differently. |
<changefreq>
|
optional | How frequently the page is likely to change. This value provides general information
to search engines and may not correlate exactly to how often they crawl the page.
Valid values are:
Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers may consider this information when making decisions, they may crawl pages marked "hourly" less frequently than that, and they may crawl pages marked "yearly" more frequently than that. Crawlers may periodically crawl pages marked "never" so that they can handle unexpected changes to those pages. |
<priority>
|
optional | The priority of this URL relative to other URLs on your site. Valid values range
from 0.0 to 1.0. This value does not affect how your pages are compared to pages
on other sites—it only lets the search engines know which pages you deem most
important for the crawlers. The default priority of a page is 0.5. Please note that the priority you assign to a page is not likely to influence the position of your URLs in a search engine's result pages. Search engines may use this information when selecting between URLs on the same site, so you can use this tag to increase the likelihood that your most important pages are present in a search index. Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site. |
Character | Escape Code | |
---|---|---|
Ampersand | & | &
|
Single Quote | ' | '
|
Double Quote | " | "
|
Greater Than | > | >
|
Less Than | < | <
|
ü
),
as well as a character that requires entity escaping (&
):http://www.example.com/ümlat.php&q=nameBelow is that same URL, ISO-8859-1 encoded (for hosting on a server that uses that encoding) and URL escaped:
http://www.example.com/%FCmlat.php&q=nameBelow is that same URL, UTF-8 encoded (for hosting on a server that uses that encoding) and URL escaped:
http://www.example.com/%C3%BCmlat.php&q=nameBelow is that same URL, but also entity escaped:
http://www.example.com/%C3%BCmlat.php&q=name
<?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> <url> <loc>http://www.example.com/catalog?item=12&desc=vacation_hawaii</loc> <changefreq>weekly</changefreq> </url> <url> <loc>http://www.example.com/catalog?item=73&desc=vacation_new_zealand</loc> <lastmod>2004-12-23</lastmod> <changefreq>weekly</changefreq> </url> <url> <loc>http://www.example.com/catalog?item=74&desc=vacation_newfoundland</loc> <lastmod>2004-12-23T18:00:15+00:00</lastmod> <priority>0.3</priority> </url> <url> <loc>http://www.example.com/catalog?item=83&desc=vacation_usa</loc> <lastmod>2004-11-23</lastmod> </url> </urlset>
<sitemapindex>
tag and end with a closing </sitemapindex>
tag.<sitemap>
entry
for each Sitemap as a parent XML tag.<loc>
child entry for
each <sitemap>
parent tag.<lastmod>
tag
is also available for Sitemap index files.<?xml version="1.0" encoding="UTF-8"?> <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>http://www.example.com/sitemap1.xml.gz</loc> <lastmod>2004-10-01T18:23:17+00:00</lastmod> </sitemap> <sitemap> <loc>http://www.example.com/sitemap2.xml.gz</loc> <lastmod>2005-01-01</lastmod> </sitemap> </sitemapindex>Note: Sitemap URLs, like all values in your XML files, must be entity escaped.
Attribute | Description | |
---|---|---|
<sitemapindex>
|
required | Encapsulates information about all of the Sitemaps in the file. |
<sitemap>
|
required | Encapsulates information about an individual Sitemap. |
<loc>
|
required | Identifies the location of the Sitemap. This location can be a Sitemap, an Atom file, RSS file or a simple text file. |
<lastmod>
|
optional | Identifies the time that the corresponding Sitemap file was modified. It does not
correspond to the time that any of the pages listed in that Sitemap were changed.
The value for the lastmod tag should be in
W3C Datetime format. By providing the last modification timestamp, you enable search engine crawlers to retrieve only a subset of the Sitemaps in the index i.e. a crawler may only retrieve Sitemaps that were modified since a certain date. This incremental Sitemap fetching mechanism allows for the rapid discovery of new URLs on very large sites. |
http://www.example.com/catalog?item=1 http://www.example.com/catalog?item=11
http://example.com/catalog/show?item=23 http://example.com/catalog/show?item=233&user=3453URLs not considered valid in http://example.com/catalog/sitemap.xml include:
http://example.com/image/show?item=23 http://example.com/image/show?item=233&user=3453 https://example.com/catalog/page1.phpNote that this means that all URLs listed in the Sitemap must use the same protocol (http, in this example) and reside on the same host as the Sitemap. For instance, if the Sitemap is located at http://www.example.com/sitemap.xml, it can't include URLs from http://subdomain.example.com.
www.host1.com with Sitemap file sitemap-host1.xml www.host2.com with Sitemap file sitemap-host2.xml www.host3.com with Sitemap file sitemap-host3.xmlMoreover, you want to place all three Sitemaps on a single host: www.sitemaphost.com. So the Sitemap URLs will be:
http://www.sitemaphost.com/sitemap-host1.xml http://www.sitemaphost.com/sitemap-host2.xml http://www.sitemaphost.com/sitemap-host3.xmlBy default, this will result in a "cross submission" error since you are trying to submit URLs for www.host1.com through a Sitemap that is hosted on www.sitemaphost.com (and same for the other two hosts). One way to avoid the error is to prove that you own (i.e. have the authority to modify files) www.host1.com. You can do this by modifying the robots.txt file on www.host1.com to point to the Sitemap on www.sitemaphost.com.
<?xml version='1.0' encoding='UTF-8'?> <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> ... </url> </urlset>Sitemap index file:
<?xml version='1.0' encoding='UTF-8'?> <sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> ... </sitemap> </sitemapindex>
<?xml version='1.0' encoding='UTF-8'?> <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:example="http://www.example.com/schemas/example_schema"> <!-- namespace extension --> <url> <example:example_tag> ... </example:example_tag> ... </url> </urlset>
Sitemap: http://www.example.com/sitemap.xmlThis directive is independent of the user-agent line, so it doesn't matter where you place it in your file. If you have a Sitemap index file, you can include the location of just that file. You don't need to list each individual Sitemap listed in the index file.
Sitemap: http://www.example.com/sitemap-host1.xml Sitemap: http://www.example.com/sitemap-host2.xml
<searchengine_URL>/ping?sitemap=sitemap_urlFor example, if your Sitemap is located at http://www.example.com/sitemap.gz, your URL will become:
<searchengine_URL>/ping?sitemap=http://www.example.com/sitemap.gzURL encode everything after the /ping?sitemap=:
<searchengine_URL>/ping?sitemap=http%3A%2F%2Fwww.yoursite.com%2Fsitemap.gzYou can issue the HTTP request using wget, curl, or another mechanism of your choosing. A successful request will return an HTTP 200 response code; if you receive a different response, you should resubmit your request. The HTTP 200 response code only indicates that the search engine has received your Sitemap, not that the Sitemap itself or the URLs contained in it were valid. An easy way to do this is to set up an automated job to generate and submit Sitemaps on a regular basis.
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> <url> <loc>http://www.example.com/foo.html</loc> <image:image> <image:loc>http://example.com/image.jpg</image:loc> </image:image> <video:video> <video:content_loc> http://www.example.com/video123.flv </video:content_loc> <video:player_loc allow_embed="yes" autoplay="ap=1"> http://www.example.com/videoplayer.swf?video=123 </video:player_loc> <video:thumbnail_loc> http://www.example.com/thumbs/123.jpg </video:thumbnail_loc> <video:title>Grilling steaks for summer</video:title> <video:description> Masak bistik dengan kematangan yang sempurna setiap saat </video:description> </video:video> </url> </urlset>
http://www.example.com/file1.html http://www.example.com/file2.html
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9".
URL Umum | xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
Gambar | xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" |
Video | xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" |
Seluler | xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" |
Berita | xmlns:news="http://www.google.com/schemas/sitemap-news/0.9". Namun,
sebaiknya buat Peta Situs terpisah untuk konten berita, Peta Situs
tersebut akan sangat sering dirayapi untuk memeriksa artikel baru. Informasi selengkapnya tentang Peta Situs baru. |
Tag | Wajib? | Deskripsi |
<urlset> |
Wajib diisi | Menyertakan semua informasi tentang kumpulan URL yang dimasukkan di Peta Situs. |
<url> |
Wajib diisi | Menyertakan semua informasi tentang URL tertentu. |
<loc> |
Wajib diisi | Menentukan URL. Untuk gambar dan video, menentukan laman landas (alias laman putar, laman perujuk). Harus berupa URL yang unik. |
<lastmod> |
Opsional | Tanggal URL terakhir dimodifikasi, dengan format TTTT-BB-HHTjj:mmTZD (nilai waktu opsional). |
<changefreq> |
Opsional | Memberikan petunjuk tentang seberapa sering laman kemungkinan berubah. Nilai yang valid adalah:
|
<prioritas> |
Opsional | Mendiskripsikan prioritas URL yang relatif terhadap semua URL lain di situs tersebut. Prioritas ini dapat berkisar mulai dari 1.0 (sangat penting sekali) hingga 0.1 (tidak penting sama sekali). Tidak memengaruhi peringkat situs Anda di hasil penelusuran Google. Karena nilai ini relatif terhadap laman lain di situs Anda, memberikan prioritas tinggi (atau menentukan prioritas yang sama untuk semua URL) tidak akan membantu peringkat penelusuran situs Anda. Selain itu, menyetel semua laman dengan prioritas yang sama tidak akan berpengaruh. |
Terima kasih telah menggunakan iMacros. Berikut ini beberapa sumber untuk Anda mulai:
| |||||||||||||
New: Uuser-dibuat iMacros Tutorial (oleh Nancy Lewis)
|
iMacros for Firefox adalah gratis untuk penggunaan pribadi dan komersial
Tunggu, bagaimana ini gratis?
Tidak ada yang gratis, kan? Nah, iMacros for Firefox adalah gratis. Dan inilah sebabnya: Kami berharap Anda akan menikmati iMacros begitu banyak bahwa Anda akan mempertimbangkan untuk mengupgrade ke versi bisnis
yang mencakup dukungan teknis dengan waktu respon dijamin dan
menambahkan dukungan untuk mengotomatisasi Flash, Silverlight dan Java
applet, Gambar Pengakuan dan objek Antarmuka Scripting yang memungkinkan
Anda mengontrol IE dan Firefox dari program-program Windows atau bahasa scripting.
|
Q:
Saya menggunakan iMacros Firefox Addon untuk merekam script dan saya
sedang mencoba untuk memahami apa yang akan menjadi manfaat bagi membeli
dibayar iMacros Enterprise Edition?
A: iMacros Enterprise Edition pengguna menikmati keuntungan sebagai berikut:
Last but not least, membaca apa pengguna Enterprise Edition kami harus mengatakan .
PS: Jika Anda tidak memerlukan fitur ini, dan "hanya" perlu komersial, dukungan teknis dijamin Anda dapat membeli dukungan teknis hanya seharga US $ 199/year.
|