Mercurial > hg > cmmr2012-drupal-site
comparison vendor/zendframework/zend-feed/src/Writer/Renderer/Entry/Rss.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | 5311817fb629 |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
294 $this->getDataContainer()->getLink() | 294 $this->getDataContainer()->getLink() |
295 ); | 295 ); |
296 } | 296 } |
297 $text = $dom->createTextNode($this->getDataContainer()->getId()); | 297 $text = $dom->createTextNode($this->getDataContainer()->getId()); |
298 $id->appendChild($text); | 298 $id->appendChild($text); |
299 if (! Uri::factory($this->getDataContainer()->getId())->isValid()) { | 299 |
300 $uri = Uri::factory($this->getDataContainer()->getId()); | |
301 if (! $uri->isValid() || ! $uri->isAbsolute()) { | |
302 /** @see http://www.rssboard.org/rss-profile#element-channel-item-guid */ | |
300 $id->setAttribute('isPermaLink', 'false'); | 303 $id->setAttribute('isPermaLink', 'false'); |
301 } | 304 } |
302 } | 305 } |
303 | 306 |
304 /** | 307 /** |