Quantcast
Channel: Issues for XML sitemap
Viewing all 1238 articles
Browse latest View live

How to add pagination URL's to XML sitemap?

$
0
0

How can I auto-add pagination URL's to the XML-sitemap?

Just to clarify: I have a blog which is generated by Views, I use the XML Sitemap custom submodule to define /blog to be included in the XML-sitemap. This works fine.

However, I use pagination which result in these links:
/blog/page/1
/blog/page/2

How to include these URL's in the XML-sitemap? Thanks.

Remko


Generalize to work with any Entity Type

error php User warning: Unknown column 'max_filesize' in 'field list'

$
0
0

I just updated xmlsitemap module from 6.x-2.0-beta1 to 6.x-2.0-rc2 and all of the sudden I'm seeing following in my watchdog:

16674672  15/Nov 13:05  error  php  User warning: Unknown column 'max_filesize' in 'field list'
query: SELECT MAX(max_filesize) FROM xmlsitemap_sitemap in _db_query() (line 169 of /var/www/html/XXXXXXXXXX

sitemap.xml file is not displayed when i18n module is enabled.

$
0
0

The i18n module adds 'en' to $context which is used to generate 'smid'. Therefore, if you have sitemaps that were created before enabling i18n they won't be displayed. Typically:

#1 install xmlsitemap

This generates a sitemap as per xmlsitemap.install.

Blank $context language

$sitemap->smid = xmlsitemap_sitemap_get_context_hash($sitemap->context);

/sitemap.xml loads fine.

#2 install xmlsitemap_i18n

Now in xmlsitemap_sitemap_load_by_contxt we have $context[language] = "en"

This is used to generate the hash that we are looking for. Therefore, it doesn't match.

xmlsitemap.install. I think this should call xmlsitemap_get_current_context(); for consistency although it doesn't fix the problem.

xmlsitemap.module - I also think xmlsitemap_sitemap_load_by_context should do something to report that the smid we were looking for was not found. The xmlsitemap files look OK but still no sitemap.xml is frustrating.

The root fix is to ensure that xmlsitemap_get_current_context() is less fragile? Or cause it to cascade backwards. I have a patch with it cascading backwards.

Usually I don't load modules unless I absolutely have to. Therefore, haven't seen this scenario even after a lot of use. Could be related to http://drupal.org/node/1593508.

weird file/directory name

$
0
0

I'm using Pressflow-6.28 w/ xmlsitemap (6.x-2.0-rc2) module and I'm experencing following issue:

# drush -r /var/www/html/current/ -l 6dev.uft.org pm-list | grep '(xmlsitemap_'
XML sitemap             XML sitemap custom (xmlsitemap_custom)              Module  Not installed  6.x-2.0-rc2
XML sitemap             XML sitemap engines (xmlsitemap_engines)            Module  Not installed  6.x-2.0-rc2
XML sitemap             XML sitemap internationalization (xmlsitemap_i18n)  Module  Not installed  6.x-2.0-rc2
XML sitemap             XML sitemap menu (xmlsitemap_menu)                  Module  Enabled        6.x-2.0-rc2
XML sitemap             XML sitemap modal UI (xmlsitemap_modal)             Module  Not installed  6.x-2.0-rc2
XML sitemap             XML sitemap node (xmlsitemap_node)                  Module  Enabled        6.x-2.0-rc2
XML sitemap             XML sitemap taxonomy (xmlsitemap_taxonomy)          Module  Enabled        6.x-2.0-rc2
XML sitemap             XML sitemap user (xmlsitemap_user)                  Module  Not installed  6.x-2.0-rc2
#

while being inside of "/files" directory, xmlsitemap module creates this weird directory name: "NXhscRe0440PFpI5dSznEVgmauL25KojD7u4e9aZwOM" and inside of it creates "1.xml" as my sitemap.

[root@XXXXX files]# ls xmlsitemap/*/*
xmlsitemap/NXhscRe0440PFpI5dSznEVgmauL25KojD7u4e9aZwOM/1.xml
[root@XXXXX files]#

I used to use older version 6.x-2.0-beta1, my sitemap xml would be in root, now it's ...

Adding Yandex to search engine submittting

$
0
0

It would be great if you can add Yandex to "sending sitemap to search engines" part of the module.

Thank you

Unable to generate sitemap on cron run

$
0
0

I'm getting this error:

Warning: XMLWriter::openUri() [xmlwriter.openuri]: Empty string as source in XMLSitemapWriter->openUri() (line 40 of /sites/all/modules/xmlsitemap/xmlsitemap.xmlsitemap.inc).

Could it be Amazon S3 module related?

xmlsitemap_file_transfer() disable session saving

$
0
0

Problem/Motivation

I'm currently getting warnings like the following in watchdog:
session_start(): Cannot send session cache limiter - headers already sent
This is caused when visiting example.com/sitemap.xml as a logged in user.

Proposed resolution

Patch is attached. The patch tells Drupal not to worry about saving session information in this file transfer. I'm not sure if that is what we want or not, but it was the best solution I could come up so far.

Remaining tasks

Needs review


Negative changecount value error after node creation

$
0
0
  • The issue occurs for both PostreSQL and MySQL
  • The issue occurs by failure of retrieving a record from node_revisions where nr.nid = %nid and failure to retrieve a record from comments where c.nid = %nid and c.status = COMMENT_PUBLISHED.
  • The proposed fix in comment 66 ensures that if no rows were returned from the DB the changecount is 0 instead of -1.
  • The question becomes why no rows are being returned for     $query = db_query("SELECT nr.timestamp FROM {node_revisions} nr WHERE nr.nid = %d", $node->nid);?

Original Issue Post

Hi!

I gave the following errors after node creation, however the created node appear in the sitemap.xml. I'm using postgresql-8.3.7, php-5.2.10, xmlsitemap-6.x-2.x-dev (11-july-2009) and drupal-6.13.

    * warning: pg_query() [function.pg-query]: Query failed: ERROR: value for domain int_unsigned violates check constraint "int_unsigned_check" in /adat/3w/postgres/includes/database.pgsql.inc on line 139.
    * user warning: query: INSERT INTO xmlsitemap (id, type, loc, access, status, lastmod, priority, priority_override, changefreq, changecount, node_type) VALUES (2, 'node', 'node/2', 1, 1, 1247408591, NULL, NULL, 0, -1, 'page') in /adat/3w/postgres/sites/all/modules/xmlsitemap/xmlsitemap.module on line 805.

add bulk custom links

$
0
0

Please create possibility to add bulk custom links.

There is no Panels3 pages integration with SitemapXML and I have about 100 pages, it would be not easy to input all them manually one-by-one to custom links through interface.

How to add pagination URL's to XML sitemap?

$
0
0

How can I auto-add pagination URL's to the XML-sitemap?

Just to clarify: I have a blog which is generated by Views, I use the XML Sitemap custom submodule to define /blog to be included in the XML-sitemap. This works fine.

However, I use pagination which result in these pages:
/blog/page/1
/blog/page/2

How to include these URL's in the XML-sitemap? Thanks.

Remko

Blank sitemap page

$
0
0

Hi,

I've been trying to get a sitemap set up for a website that was just recently launched. Once I installed the module and set links, I visited the sitemap page only to see it was blank (see here: http://buterbaughandhandlin.com/sitemap.xml). When I inspect the page, the only thing visible is "xml-stylesheet". Is the normally the way it is supposed to be?

Any help is appreciated!

Thanks!

Support for extended sitemap formats (e.g. video, news, image, mobile)

$
0
0

This was brought up by netaustin at #448000-9: Big, Over-Arching Sitemap Architecture Discussion (tm) :

"# Google News provides a namespace to extend the Sitemaps.org XML file for their purposes. Can we address this?"

I looked more into this and according to http://www.google.com/support/webmasters/bin/answer.py?answer=34654&topi..., there are actually four "sitemap extensions" that Google supports:

The news one in particular would be useful to a lot of Drupal sites out there.

Provide XML Sitemap fields to views

$
0
0

I have a site that is getting very large, and I need to see what nodes have overridden the default XML sitemap settings. I thought I could just create an admin View with a table, and columns that showed the inclusion and priority settings for each node. I was surprised to find that this wasn't possible.

I am willing to try to write this, but I wanted to make sure: Has anyone already started working on this, maybe in a sandbox or somewhere else? I wouldn't want to duplicate effort.

nolink menu item should not be present in sitemap.xml


Sitemap menu links generated with xmlsitemap_menu sub module disabled

$
0
0

Steps to reproduce:

  1. enable "xmlsitemap menu"
  2. include one menu to the sitemap
  3. regenerate the sitemap
  4. disable "xmlsitemap menu"
  5. regen sitemap

Results:
The links generated from the "xmlsitemap menu" are not removed from the sitemap. I've had to re-enable the "xmlsitemap menu", exclude the menu from the sitemap settings and regen the sitemap.

Probably xmlsitemap doesn't check if the "xmlsitemap menu" is enabled, but it only look for menu with "included" setting.

Thanks for the attention.

The directory flickr://xmlsitemap does not exist or is not writable.

$
0
0

I have not been able to determine where this directory/wrapper should be or why it isnt created during installation.

It is clogging my error log and causing cron to fail

xmlsitemap_node runs before node_access is called => fail?

$
0
0

I'm trying to get set up with xmlsitemap, and am running into some problems with xmlsitemap_node. The overall sitemap mechanism is working, but newly created nodes are not getting entered into the sitemap unless I do a full "rebuild links". Based on some watchdog calls, it looks like what's happening is that, when a node is added to the site, xmlsitemap_node_view_access() is getting called before the node access grants are set up for the node. Thus the search for an "access permitted" node_access test fails (assuming we get that far), and the "access" value for the node becomes 0/false, which means it won't get into the sitemap. Since my invocation of "rebuild links" happens after the nodes are created (and their node access values are specified), they get created in that situation.

I don't think I've screwed up anything or done anything overly fancy in my installation, but it's always possible. Does this ring a bell with anyone?

Doesn't work - 404 error and no link to content / user sitemap setting

$
0
0

So many things not working for me, I wonder if I missed something:
- in admin/settings/xmlsitemap/settings when clicking on a content type or user to include them in the sitemap, it goes back at the same place, the url is the following:
http://www.mysite.tld/admin/settings/xmlsitemap/settings/node/blog?desti...
http://www.mysite.tld/admin/settings/xmlsitemap/settings/user/user?desti...
I could enable the sitemap by going to the right place though.

- in any case I coudl get working sitemap URLs. I always get "Not Found The requested URL was not found on this server."

No error reported in logs.

What can be wrong?

Thanks for help

Why _xmlsitemap_node_links is invoked when a user is redirected?

$
0
0

Using the devel module we found out that whenever a user is redirected to another page, _xmlsitemap_node_links and _xmlsitemap_term_links are invoked issuing heavy SELECT queries to the database. This burdens considerably on the response time the user experiences.

Why these two functions are invoked as part of the user session when he is redirected to another page? Is it a bug?

Viewing all 1238 articles
Browse latest View live