Open sonicdoe opened 7 years ago
If its not considered valid I'd argue it should be considered value.
The alternative is not to have author.url
which would mean I'd always have to check to see if it exists before I could use it. Would love to avoid things like that
I’d argue the opposite of what @donohoe is suggesting. Here’s why:
Specifying that author.url
should be a valid URL (if it is present) would allow you to use it directly. If it is empty, you probably wouldn’t want to use it anyway; what good is <a href="">Jane Doe</a>
?
Furthermore, the spec is already pretty clear about it being an optional property, therefore, you would have to check for presence anyway.
Currently, https://micro.blog/feeds/manton.json includes the following item:
As you can see,
author.url
is present but empty (and therefore not a valid URL). Is this considered valid according to the spec?