Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!!! TASK: Remove xmlSitemapChangeFrequency and xmlSitemapPriority #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Classes/Fusion/XmlSitemapUrlsImplementation.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,8 @@ protected function appendItems(array &$items, NodeInterface $node)
$item = [
'node' => $node,
'lastModificationDateTime' => $node->getNodeData()->getLastModificationDateTime(),
'priority' => $node->getProperty('xmlSitemapPriority') ?: '',
'images' => [],
];
if ($node->getProperty('xmlSitemapChangeFrequency')) {
$item['changeFrequency'] = $node->getProperty('xmlSitemapChangeFrequency');
}
if ($this->getIncludeImageUrls()) {
$this->resolveImages($node, $item);
}
Expand Down
61 changes: 0 additions & 61 deletions Configuration/NodeTypes.Mixin.XmlSitemap.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
'Neos.Seo:TwitterCardMixin': true
'Neos.Seo:CanonicalLinkMixin': true
'Neos.Seo:OpenGraphMixin': true
'Neos.Seo:XmlSitemapMixin': true
ui:
inspector:
tabs:
Expand All @@ -25,4 +24,3 @@
'Neos.Seo:TwitterCardMixin': false
'Neos.Seo:CanonicalLinkMixin': false
'Neos.Seo:OpenGraphMixin': false
'Neos.Seo:XmlSitemapMixin': false
4 changes: 0 additions & 4 deletions Resources/Private/Fusion/XmlSitemap/XmlSitemapUrl.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ prototype(Neos.Seo:XmlSitemap.Url) < prototype(Neos.Fusion:Component) {
node = null
lastModificationDateTime = ${Date.now()}
[email protected] = ${Date.format(value, 'c')}
changeFrequency = ''
priority = ''
images = ${[]}
includeAlternateLanguageLinks = false

Expand All @@ -21,8 +19,6 @@ prototype(Neos.Seo:XmlSitemap.Url) < prototype(Neos.Fusion:Component) {
<url>
<loc @key="loc"><Neos.Neos:NodeUri node={props.node} format="html" absolute={true}/></loc>
<lastmod @key="lastmod">{props.lastModificationDateTime}</lastmod>
<changefreq @key="changefreq" @if.hasChangeFrequency={props.changeFrequency}>{props.changeFrequency}</changefreq>
<priority @key="priority" @if.hasPriority={props.priority}>{props.priority}</priority>
<Neos.Seo:XmlSitemap.ImageUrls @key="images" images={props.images} @if.hasImages={props.images}/>
<Neos.Seo:AlternateLanguageLinks @key="alternateLanguageLinks" node={props.node} @if.includeAlternateLanguageLinks={props.includeAlternateLanguageLinks}/>
</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prototype(Neos.Seo:XmlSitemap.UrlList) < prototype(Neos.Fusion:Component) {
<Neos.Fusion:Loop items={props.items}>
<Neos.Seo:XmlSitemap.Url node={item.node} lastModificationDateTime={item.lastModificationDateTime}
includeAlternateLanguageLinks={props.includeAlternateLanguageLinks}
priority={item.priority} changeFrequency={item.changeFrequency} images={item.images}/>
images={item.images}/>
</Neos.Fusion:Loop>
`
}
43 changes: 0 additions & 43 deletions Resources/Private/Translations/af/NodeTypes/XmlSitemapMixin.xlf

This file was deleted.

43 changes: 0 additions & 43 deletions Resources/Private/Translations/ar/NodeTypes/XmlSitemapMixin.xlf

This file was deleted.

43 changes: 0 additions & 43 deletions Resources/Private/Translations/ca/NodeTypes/XmlSitemapMixin.xlf

This file was deleted.

43 changes: 0 additions & 43 deletions Resources/Private/Translations/cs/NodeTypes/XmlSitemapMixin.xlf

This file was deleted.

43 changes: 0 additions & 43 deletions Resources/Private/Translations/da/NodeTypes/XmlSitemapMixin.xlf

This file was deleted.

Loading