Changeset 266


Ignore:
Timestamp:
06/04/09 17:14:07 (5 years ago)
Author:
jon
Message:

Adding the domain property

Location:
enpraxis.staticsite/trunk/enpraxis/staticsite
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • enpraxis.staticsite/trunk/enpraxis/staticsite/profiles/default/propertiestool.xml

    r264 r266  
    88    <property name="plone_sitemap" type="string">sitemap.xml.gz</property> 
    99    <property name="google_file" type="string">googleFoo.html</property> 
     10    <property name="domain" type="string">localhost:8080/static</property> 
    1011  </object> 
    1112</object> 
  • enpraxis.staticsite/trunk/enpraxis/staticsite/utilities/staticsiteutility.py

    r265 r266  
    2727 
    2828        ssprops = context.portal_url.portal_properties.staticsite_properties 
    29         subdomain = ssprops.getProperty('subdomain') 
     29        subdomain = ssprops.getProperty('domain') 
    3030        rpath = self._getDeploymentPath(ssprops) 
    3131        self.createDirectory(rpath) 
     
    6767     
    6868    def httpget(self, url, portal_url, subdomain): 
     69        """ Get html for the url """ 
    6970        url = url.replace(portal_url, subdomain) 
    7071        return url 
Note: See TracChangeset for help on using the changeset viewer.