Sitemaps
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per un elenco di metodi per questa risorsa, vai alla fine di questa pagina.
Rappresentazioni delle risorse
Sitemap
Contiene informazioni dettagliate su un URL specifico inviato come Sitemap.
{
"path": string,
"lastSubmitted": datetime,
"isPending": boolean,
"isSitemapsIndex": boolean,
"type": string,
"lastDownloaded": datetime,
"warnings": long,
"errors": long,
"contents": [
{
"type": string,
"submitted": long,
"indexed": long
}
]
}
Nome proprietà |
Valore |
Descrizione |
Note |
contents[] |
list |
I vari tipi di contenuti presenti nella Sitemap. |
|
contents[].indexed |
N/A |
Obsoleta; non utilizzano. |
|
contents[].submitted |
long |
Il numero di URL presenti nella Sitemap (per il tipo di contenuti). |
|
contents[].type |
string |
Il tipo specifico di contenuti di questa Sitemap. Ad esempio: web .
I valori accettati sono:
- "
androidApp "
- "
image "
- "
iosApp "
- "
mobile "
- "
news "
- "
pattern "
- "
video "
- "
web "
|
|
errors |
long |
Numero di errori nella Sitemap. Si tratta di problemi relativi alla Sitemap stessa che devono essere risolti prima di poter essere elaborata correttamente. |
|
isPending |
boolean |
Se impostato su true, la Sitemap non è stata elaborata. |
|
isSitemapsIndex |
boolean |
Se il valore è true, la Sitemap è una raccolta di Sitemap. |
|
lastDownloaded |
datetime |
Data e data dell'ultimo download della Sitemap. Il formato della data è nel formato RFC 3339 (aaaa-mm-gg). |
|
lastSubmitted |
datetime |
Data e data e ora in cui è stata inviata la Sitemap. Il formato della data è nel formato RFC 3339 (aaaa-mm-gg). |
|
path |
string |
L'URL della Sitemap. |
|
type |
string |
Il tipo di Sitemap. Ad esempio: rssFeed .
I valori accettati sono:
- "
atomFeed "
- "
notSitemap "
- "
patternSitemap "
- "
rssFeed "
- "
sitemap "
- "
urlList "
|
|
warnings |
long |
Numero di avvisi relativi alla Sitemap. Di solito si tratta di problemi non critici con gli URL nelle Sitemap. |
|
Metodi
- elimina
- Elimina una Sitemap da questo sito.
- trova
- Recupera le informazioni su una Sitemap specifica.
- list
- Elenca le sitemaps-entries inviate per il sito o incluse nel file Indice Sitemap (se nella richiesta è specificato
sitemapIndex
).
- invia
- Invia una Sitemap relativa a un sito.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-29 UTC.
[null,null,["Ultimo aggiornamento 2024-08-29 UTC."],[[["\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."]]