Jak Google odczytuje i wyświetla alerty CAP
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ilustracja 1. Google wyodrębnia i wyświetla informacje z alertów CAP.
Poniższe pola alertu CAP wypełniają treści widoczne dla użytkowników, tak jak w przykładzie na rys. 1:
<areaDesc>
<description>
<instruction>
<area>
Ilustracja 1. Na ekranie alertu Ostrzeżenie przed deszczem wyświetla się plakietka Pogoda. Pole <event> w alercie CAP określa rodzaj plakietki Google, jaką dodajesz do alertu.
Ilustracja 2. Poinformuj Google o wskazówkach dotyczących bezpieczeństwa.
Inne sekcje widoczne dla użytkowników, takie jak Definicje alertów i statyczne wskazówki dotyczące bezpieczeństwa (zobacz rysunek 2) nie są pobierane z CAP. Aby wypełnić te sekcje, wyślij je osobno do Google.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-08-29 UTC."],[],["Google utilizes specific fields from CAP alerts to display information to users. These fields include `\u003careaDesc\u003e`, `\u003cdescription\u003e`, `\u003cinstruction\u003e`, and `\u003carea\u003e`, which populate user-visible content. The `\u003cevent\u003e` field dictates the alert's badge, such as \"Severe weather.\" Google doesn't derive the \"Alert definition\" or \"Safety tips\" from CAP alerts; this information must be provided separately. Other fields like `event` and `severity` are important to send but not visible to users.\n"]]