Salta al contenuto
EPUBCheck · Documento del pacchetto (OPF)

EPUBCheck OPF-018: remote-resources non necessari

Aggiornato:

EPUBCheck OPF-018 è un messaggio di avviso: “The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.” Un item del manifest dichiara remote-resources, ma EPUBCheck non ha trovato riferimenti a una risorsa remota in esso. La proprietà indica alle app di lettura che il documento ha bisogno della rete, quindi dovrebbe essere presente solo quando è vero.

Il messaggio ufficiale

The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.

Gravità predefinita
Avviso. Il EPUB è ancora valido, ma qualcosa potrebbe causare problemi in alcune app di lettura. EPUBCheck esce con 0 a meno che non passi --failonwarnings.
versione EPUBCheck
5.4.0

Cause tipiche

  • L'immagine remota, il font, l'audio o il video sono stati rimossi o copiati nel EPUB, ma la proprietà è rimasta.
  • Un template manifest che dichiarava risorse remote su ogni documento.
  • Uno strumento che aggiunge la proprietà per impostazione predefinita.

Come correggerlo

  1. Trova l'elemento del manifesto a cui punta EPUBCheck.
  2. Conferma che il documento non carichi più nulla da un indirizzo http o https.
  3. Rimuovi remote-resources dall'attributo delle proprietà di quell'elemento, mantenendo eventuali altre proprietà.

Quando non è questo

Se il documento usa script, EPUBCheck riporta OPF-018b invece, perché uno script potrebbe caricare la risorsa.

Termini usati qui

Altri messaggi di OPF

  • OPF-018b The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit.
  • OPF-017 The attribute "full-path" on element "rootfile" must not be empty.
  • OPF-016 The element "rootfile" is missing its required attribute "full-path".
  • OPF-015 The property "…" should not be declared in the OPF file.
  • OPF-021 Use of non-registered URI scheme type in href: "…".
  • OPF-014 The property "…" should be declared in the OPF file.

Fonti

Testo e gravità del messaggio da EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Spiegazione di EpubCC.

FAQ

Cosa significa EPUBCheck OPF-018?

EPUBCheck OPF-018 è un messaggio di avviso: “The "remote-resources" property was declared in the Package Document, but no reference to remote resources has been found.” Un item del manifest dichiara remote-resources, ma EPUBCheck non ha trovato riferimenti a una risorsa remota in esso. La proprietà indica alle app di lettura che il documento ha bisogno della rete, quindi dovrebbe essere presente solo quando è vero.

È un errore OPF-018?

OPF-018 è segnalato come avviso per impostazione predefinita. Il EPUB è ancora valido, ma qualcosa potrebbe causare problemi in alcune app di lettura. EPUBCheck esce con 0 a meno che tu non passi --failonwarnings.

PDF a EPUB strumenti

Ogni strumento utilizza lo stesso motore. Fino a 3 libri al giorno sono gratuiti.

Vedi tutti gli strumenti