Sitemaps
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برای لیست روش های این منبع، انتهای این صفحه را ببینید.
بازنمایی منابع
نقشه سایت
حاوی اطلاعات دقیق در مورد یک URL خاص است که به عنوان نقشه سایت ارسال شده است.
{
"path": string,
"lastSubmitted": datetime,
"isPending": boolean,
"isSitemapsIndex": boolean,
"type": string,
"lastDownloaded": datetime,
"warnings": long,
"errors": long,
"contents": [
{
"type": string,
"submitted": long,
"indexed": long
}
]
}
نام ملک | ارزش | توضیحات | یادداشت ها |
---|
contents[] | list | انواع محتوا در نقشه سایت | |
contents[]. indexed | N/A | منسوخ شده؛ استفاده نکنید. | |
contents[]. submitted | long | تعداد URL های موجود در نقشه سایت (از نوع محتوا). | |
contents[]. type | string | نوع خاص محتوا در این نقشه سایت. به عنوان مثال: web .
مقادیر قابل قبول عبارتند از:- "
androidApp " - "
image " - "
iosApp " - "
mobile " - "
news " - "
pattern " - "
video " - "
web "
| |
errors | long | تعداد خطاها در نقشه سایت اینها مشکلاتی در خود نقشه سایت هستند که قبل از پردازش صحیح باید برطرف شوند. | |
isPending | boolean | اگر درست باشد، نقشه سایت پردازش نشده است. | |
isSitemapsIndex | boolean | اگر درست باشد، نقشه سایت مجموعه ای از نقشه های سایت است. | |
lastDownloaded | datetime | تاریخ و زمانی که این نقشه سایت آخرین بار در آن بارگیری شده است. فرمت تاریخ در قالب RFC 3339 (YYY-mm-dd) است. | |
lastSubmitted | datetime | تاریخ و زمانی که این نقشه سایت در آن ارسال شد. فرمت تاریخ در قالب RFC 3339 (YYY-mm-dd) است. | |
path | string | url نقشه سایت. | |
type | string | نوع نقشه سایت به عنوان مثال: rssFeed .
مقادیر قابل قبول عبارتند از:- "
atomFeed " - "
notSitemap " - "
patternSitemap " - "
rssFeed " - "
sitemap " - "
urlList "
| |
warnings | long | تعداد اخطارها برای نقشه سایت اینها عموماً مسائل غیر مهمی با URLها در نقشه سایت هستند. | |
روش ها
- حذف کنید
- نقشه سایت را از این سایت حذف می کند.
- دریافت کنید
- اطلاعات مربوط به یک نقشه سایت خاص را بازیابی می کند.
- فهرست
- نقشه های سایت-مدخل های ارسال شده برای این سایت، یا در فایل فهرست نقشه سایت (اگر
sitemapIndex
در درخواست مشخص شده باشد) را فهرست می کند. - ارسال کنید
- یک نقشه سایت برای یک سایت ارسال می کند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Sitemap resource provides detailed information about URLs submitted through a sitemap file, including submission date, download date, and error/warning counts.\u003c/p\u003e\n"],["\u003cp\u003eThe resource representation includes properties for content types, error/warning numbers, and sitemap metadata like path, type, and processing status.\u003c/p\u003e\n"],["\u003cp\u003eA sitemap can contain various content types, including web pages, images, videos, news articles, mobile pages and Android/iOS apps.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage sitemaps through dedicated methods to delete, retrieve information, list, and submit them.\u003c/p\u003e\n"]]],["This resource provides details about a submitted sitemap, including its `path`, `lastSubmitted` and `lastDownloaded` dates, and whether it's `isPending` or an `isSitemapsIndex`. It lists `contents` with types like `web`, `image`, or `video`, and the number of `submitted` URLs per type. It also reports `errors` and `warnings`. Key actions include the ability to `delete`, `get`, `list`, or `submit` a sitemap.\n"],null,["# Sitemaps\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n### Sitemap\n\nContains detailed information about a specific URL submitted as a [sitemap](https://support.google.com/webmasters/answer/156184).\n\n```gdscript\n{\n \"path\": string,\n \"lastSubmitted\": datetime,\n \"isPending\": boolean,\n \"isSitemapsIndex\": boolean,\n \"type\": string,\n \"lastDownloaded\": datetime,\n \"warnings\": long,\n \"errors\": long,\n \"contents\": [\n {\n \"type\": string,\n \"submitted\": long,\n \"indexed\": long\n }\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|------------------------|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `contents[]` | `list` | The various content types in the sitemap. | |\n| contents[].`indexed` | `N/A` | *Deprecated; do not use.* | |\n| contents[].`submitted` | `long` | The number of URLs in the sitemap (of the content type). | |\n| contents[].`type` | `string` | The specific type of content in this sitemap. For example: `web`. \u003cbr /\u003e Acceptable values are: - \"`androidApp`\" - \"`image`\" - \"`iosApp`\" - \"`mobile`\" - \"`news`\" - \"`pattern`\" - \"`video`\" - \"`web`\" | |\n| `errors` | `long` | Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly. | |\n| `isPending` | `boolean` | If true, the sitemap has not been processed. | |\n| `isSitemapsIndex` | `boolean` | If true, the sitemap is a collection of sitemaps. | |\n| `lastDownloaded` | `datetime` | Date \\& time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd). | |\n| `lastSubmitted` | `datetime` | Date \\& time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd). | |\n| `path` | `string` | The url of the sitemap. | |\n| `type` | `string` | The type of the sitemap. For example: `rssFeed`. \u003cbr /\u003e Acceptable values are: - \"`atomFeed`\" - \"`notSitemap`\" - \"`patternSitemap`\" - \"`rssFeed`\" - \"`sitemap`\" - \"`urlList`\" | |\n| `warnings` | `long` | Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps. | |\n\nMethods\n-------\n\n[delete](/webmaster-tools/v1/sitemaps/delete)\n: Deletes a sitemap from this site.\n\n[get](/webmaster-tools/v1/sitemaps/get)\n: Retrieves information about a specific sitemap.\n\n[list](/webmaster-tools/v1/sitemaps/list)\n: Lists the [sitemaps-entries](/webmaster-tools/v1/sitemaps) submitted for this site, or included in the sitemap index file (if `sitemapIndex` is specified in the request).\n\n[submit](/webmaster-tools/v1/sitemaps/submit)\n: Submits a sitemap for a site."]]