W3C validator says 'feed does not validate' 'url must be a full URL'… whats wrong with it?

后端 未结 2 1137
北海茫月
北海茫月 2021-02-07 20:53

Validating my feed, it has an enclosure with a URL of

https://archive.org/download/NigelFarageAPersonalMessageToNorthernIrelandVoters./Nigel%20Farage,%20a%20personal%20m

2条回答
  •  再見小時候
    2021-02-07 21:33

    The problem seems to be that it’s a HTTPS URL instead of a HTTP URL.

    The linked error documentation, foo attribute of bar must be a full URL, says:

    If this is a link to a web page, you must include the "http://" at the beginning and immediately follow it with a valid domain name.

    The RSS 2.0 spec says about :

    The url must be an http url.

    If you change https://archive.org/download/… to http://archive.org/download/…, it validates.

提交回复
热议问题