Modify

Opened 17 years ago

Closed 14 years ago

#1544 closed defect (wontfix)

GoogleSitemapPlugin doesn't provide full URLs.

Reported by: darwinscusp@… Owned by: Martin Scharrer
Priority: normal Component: GoogleSitemapPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

This is probably a configuration problem on my part, but I can't seem to figure out the solution. All of my sitemap locations do not contain the base URL. Example is available at http://www.ooth.org/sitemap.xml.

Is this a config issue? I've specified "http://www.ooth.org" as the base url in the admin page.

Thanks,

darwinscusp

Attachments (0)

Change History (5)

comment:1 Changed 17 years ago by max@…

I have the same problem. Looking at your http://www.ooth.org/sitemap.xml there's a base URL tho. What was your solution ?

comment:2 Changed 17 years ago by darwinscusp@…

I hacked the source to include the base url. I'd offer you a patch, but I just hard-coded it into "build/lib/sitemap/api.py"

at line 27, I added the following:

if (elementname == 'loc'):

content = 'http://www.ooth.org' + content

It's not the proper way to do it, but I didn't write the plugin :)

comment:3 Changed 17 years ago by anonymous

This bug is due to the use of "base_url" as storage name, this is used by trac already and will be overwritten with the default value "" if not set in your enviremont.

comment:4 Changed 14 years ago by Martin Scharrer

Owner: changed from Christian Aust to Martin Scharrer
Status: newassigned

comment:5 Changed 14 years ago by Martin Scharrer

Resolution: wontfix
Status: assignedclosed

The version for Trac 0.10 is abandoned. Please use the new version for Trac 0.11.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Martin Scharrer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.