Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Optional structured-data properties Google recommends

Aperta
#186 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript

Direzione di ricerca

Read packages/core/src/structuredData/articleNode.js and packages/core/src/structuredData/siteNodes.js, then review the structured data section of docs-llms/core-export.md. Check the existing tests for these nodes to see how their output is verified. Done means each of the three optional properties is emitted with tests or deliberately declined in the structured data documentation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Optional extras Google suggests for the search-engine information: an author on news articles, a full time on publication dates, and the page's language.


Possible future improvements found reviewing #122 with Google's Rich Results Test (2026-10-17); every item validated, these were optional warnings or omissions:

  • Article author. BlogPosting has no author (Google: "Missing field author (optional)"); ARTICLE_PROPERTIES in articleNode.js maps only headline, datePublished, description, image and articleBody. A cheap default is the identity node (#identity) as author; a mapped author field could come later.
  • Publication date without time. A date field yields datePublished: "2026-05-30", valid schema.org but flagged twice by Google (invalid datetime, missing timezone). dateModified (a full timestamp) passes. Decide whether to emit a full datetime, and with which timezone.
  • Language. No node carries inLanguage; pages state it only through <html lang> and hreflang. Adding the rendering language to WebPage/BlogPosting makes translated pages explicit.

Done when: Each item is either emitted (with tests) or deliberately declined in the structured-data docs.

Start: articleNode.js, siteNodes.js, Structured data. Source: 2026-10-17 browser review of #122.

Lingua principale
JavaScript
Stelle
162
Fork
6
Merge medio
12h 55m
PR unite (30g)
2

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tsiger/widgetizer

Tutte le issue di tsiger/widgetizer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.