Module apesmit :: Class Url
[hide private]
[frames] | no frames]

Class Url

source code

object --+
         |
        Url

Class to handle a URL in Sitemap
Instance Methods [hide private]
 
__init__(self, loc, lastmod, changefreq, priority, escape=True)
Constructor
source code
 
escape(self, s)
Escaping XML special chracters
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, loc, lastmod, changefreq, priority, escape=True)
(Constructor)

source code 
Constructor
Parameters:
Overrides: object.__init__

escape(self, s)

source code 
Escaping XML special chracters
Parameters:
  • s - String to escape
Returns:
Escaped string