We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02fbc34 commit 5a1a11fCopy full SHA for 5a1a11f
src/FeedIo/Rule/PublicId.php
@@ -18,6 +18,11 @@ class PublicId extends RuleAbstract
18
public function setProperty(NodeInterface $node, \DOMElement $element): void
19
{
20
$node->setPublicId($element->nodeValue);
21
+ if ($element->nodeName == 'guid'
22
+ && $element->getAttribute('isPermaLink') === 'true'
23
+ && is_null($node->getLink())) {
24
+ $node->setLink($element->nodeValue);
25
+ }
26
}
27
28
/**
0 commit comments