Incorrect URL for stylesheet in sitemap.xml
« on: August 09, 2010, 02:47:00 AM »
I am running 4.0.

I find that the XML sitemap has an invalid stylesheet reference:

<?xml-stylesheet type="text/xsl" href="[ External links are visible to forum administrators only ]./pages/mods/sitemap.xsl"?>

Have I messed up the configuration?

Owen
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #1 on: August 09, 2010, 09:10:20 AM »
Hello,

please let me know your generator URL/login in private message to check this.
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #2 on: August 18, 2010, 09:32:33 PM »
The suggestion solution works.

Did I cause this, or is it a defect in the code?

I might add that this changed fixed several faulty URLs, for example in my daily email notification.

Owen
« Last Edit: August 18, 2010, 10:05:45 PM by owen1 »
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #3 on: August 19, 2010, 09:03:54 AM »
Looks like in some cases the path is not detected corrctly and it can be solved by hardcoding it in template.
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #4 on: August 19, 2010, 09:18:57 PM »
Looks like in some cases the path is not detected corrctly and it can be solved by hardcoding it in template.

Ok.

So, in the notification email I receive, the URL for the text sitemap is invalid in a similar way. What has to be hand edited to fix that up?

Owen
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #6 on: August 20, 2010, 09:20:05 PM »
Hello,

you can define this option in generator/data/generator.conf file:
<option name="xs_sm_text_url">[ External links are visible to forum administrators only ]</option>

Ok, found that.

What about the URL in the email for "HTML Sitemap", it also has the wrong URL.

Owen
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #8 on: August 22, 2010, 09:34:35 PM »
Can you provide a temporary ftp access in private message to check that?

Are you asking me for a password to access my site? I don't think so.

More problems, in the notification email:
"1 broken links found!
View the list: [ External links are visible to forum administrators only ]./index.php?op=l404"

I am hosted on Godaddy using Linux/PHP5. There must be squillions of customers using this environment.

Owen

Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #9 on: August 23, 2010, 01:23:24 PM »
Quote
Are you asking me for a password to access my site?
Yes, it might help since it works correctly in other testing environments.
Re: Incorrect URL for stylesheet in sitemap.xml
« Reply #10 on: October 13, 2010, 08:43:37 PM »
Quote
Are you asking me for a password to access my site?
Yes, it might help since it works correctly in other testing environments.

I regret I cannot give you a password to my site.

I will just have to wait until you find the faults by some other means. I note this morning that the 'broken links' URL in the daily email is broken.

Owen