Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The current logic is something like: (is not set or is empty) and is a valid URL. This will always fail.
Comment | File | Size | Author |
---|---|---|---|
views_rss-isPermaLink_check.patch | 1.25 KB | Grayside | |
Comments
Comment #1
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedNo it won't always fail. The current logic (if not set or is empty) applies to
<link>
element, and is valid URL applies to<guid>
element - which essentially means that if<link>
element value is not provided, and<guid>
value is valid URL, then (and only then)isPermaLink
attribute will be set to TRUE.Comment #2
Grayside CreditAttribution: Grayside commentedThere are cases where you might want the link and the GUID to be different things. Unless that is a part of the spec, I don't think that's a good rule.
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedYes, this is part of the spec.