Skip to content

Commit

Permalink
v.1.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
findlabnet committed Dec 3, 2021
1 parent d0ce249 commit 7d8ced1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
Easy XML sitemap
================

Provides XML sitemap conforming to Google's recommendations and sitemaps.org protocol.
[Google's recommendations](https://support.google.com/webmasters/answer/2620865)
[sitemaps.org protocol](http://www.sitemaps.org/protocol.html)
Provides XML sitemap conforming to Google's recommendations and sitemaps.org protocol.

[Google's recommendations](https://support.google.com/webmasters/answer/2620865)

[sitemaps.org protocol](http://www.sitemaps.org/protocol.html)

New in version 1.0.12 - integration with "SEO Meta Tags" module - exclude from sitemap
any page have "noindex" in meta-tag "robots".
Expand Down
2 changes: 1 addition & 1 deletion easy_xmlsitemap.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ package = SEO
backdrop = 1.x
type = module
configure = admin/config/metadata/easy_xmlsitemap
version = 1.0.14
version = 1.0.15

6 changes: 5 additions & 1 deletion easy_xmlsitemap.module
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,14 @@ function easy_xmlsitemap_build_node_items($base_url) {
$output = '';
$excluded_types = $config->get('excluded_types');
$types = array_values($excluded_types);

foreach (array_keys($types, 0, true) as $key) {
unset($types[$key]);
}
// @todo - fix fake array
if (empty($types)) {
$types = array('nonexistent_type' => 'nonexistent_type');
}

$frontpage_nid = easy_xmlsitemap_get_frontpage_nid();

Expand Down

0 comments on commit 7d8ced1

Please sign in to comment.