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

后端 未结 2 1149
北海茫月
北海茫月 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:30

    And if you don't have httpS then your SSL says your page isn't secure. #feedvalidator step up. There are a ton of feedback/complaints about this on the support forum here https://groups.google.com/forum/#!forum/feedvalidator-users

    More specifically here: https://github.com/rubys/feedvalidator/issues/16

    0 讨论(0)
  • 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 <enclosure>:

    The url must be an http url.

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

    0 讨论(0)
提交回复
热议问题