Well, I figured out that overriding the "get_urls" method of the
Sitemap class solves the problem. But, remember to call the private
__get() method like _Sitemap__get() in your class.

Though, a cleaner solution is appreciated...



On Jan 2, 3:38 pm, omat <[EMAIL PROTECTED]> wrote:
> In my sitemap file, I want to include subdomain links such 
> as:http://user1.domain.com,http://user2.domain.com, ...
>
> But when I specify a URL in "location" method of the sitemap class, a
> "http://example.com"; (or whatever is specified  in the sites contrib
> app) is prepended to the URL.
>
> Same with get_absolute_url, too.
>
> How can I add URLs with sub-domains to my sitemap files?
>
> Thanks,
> oMat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to