Changeset 3569 in products


Ignore:
Timestamp:
Oct 16, 2012 1:29:44 PM (7 years ago)
Author:
potar
Message:

unexpected behavior of urljoin; fixed url for sitemap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/utils.py

    r3568 r3569  
    11from urllib import quote as urlquote 
    22from DateTime import DateTime 
    3 from urlparse import urljoin 
    43import logging 
    54import urllib2 
     
    3938def ping_google(plone_home, sitemap_relative_path): 
    4039    """Ping sitemap to Google""" 
    41     resurl = urljoin(plone_home, sitemap_relative_path) 
     40    resurl = plone_home + '/' + sitemap_relative_path 
    4241 
    4342    if DevelopmentMode or config.testing: 
Note: See TracChangeset for help on using the changeset viewer.