Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(0)  |  Derive(14)  |  Import(8)
Class that add handling of sitemapindexes to ListBase

Splitting of a list into multiple sitemaps with a sitemapindex is currently
handled based solely on the number of entries in the list. The configurable
self.max_sitemap_entries controls the number of entries that will be written
in a single sitemap or a component sitemap that has a sitemapindex. Support
for sitemapindexes can be disabled by setting allow_multifile False.

resources - an iterable of resources
(more...)

src/r/e/resync-0.9.5/resync/archives.py   resync(Download)
from urllib import URLopener
 
from list_base_with_index import ListBaseWithIndex
from resource import Resource
from sitemap import Sitemap
 
class ResourceListArchive(ListBaseWithIndex):
class ChangeListArchive(ListBaseWithIndex):
    """Class representing an Change List Archive"""
 
    def __init__(self, resources=None, md=None, ln=None, uri=None,
                 resources_class=None):
        super(ChangeListArchive, self).__init__(resources=resources, md=md, ln=ln, uri=uri,
                                                capability_name='changelist-archive')
 
class ResourceDumpArchive(ListBaseWithIndex):
class ChangeDumpArchive(ListBaseWithIndex):
    """Class representing an Change Dump Archive"""
 
    def __init__(self, resources=None, md=None, ln=None, uri=None,
                 resources_class=None):

src/r/e/resync-HEAD/resync/archives.py   resync(Download)
from urllib import URLopener
 
from list_base_with_index import ListBaseWithIndex
from resource import Resource
from sitemap import Sitemap
 
class ResourceListArchive(ListBaseWithIndex):
class ChangeListArchive(ListBaseWithIndex):
    """Class representing an Change List Archive"""
 
    def __init__(self, resources=None, md=None, ln=None, uri=None,
                 resources_class=None):
        super(ChangeListArchive, self).__init__(resources=resources, md=md, ln=ln, uri=uri,
                                                capability_name='changelist-archive')
 
class ResourceDumpArchive(ListBaseWithIndex):
class ChangeDumpArchive(ListBaseWithIndex):
    """Class representing an Change Dump Archive"""
 
    def __init__(self, resources=None, md=None, ln=None, uri=None,
                 resources_class=None):

src/r/e/resync-0.9.5/resync/source_description.py   resync(Download)
from resource import Resource
from resource_set import ResourceSet
from list_base_with_index import ListBaseWithIndex
 
class SourceDescription(ListBaseWithIndex):

src/r/e/resync-0.9.5/resync/change_list.py   resync(Download)
from urllib import URLopener
 
from list_base_with_index import ListBaseWithIndex
from resource import Resource,ChangeTypeError
from sitemap import Sitemap
 
class ChangeList(ListBaseWithIndex):

src/r/e/resync-HEAD/resync/source_description.py   resync(Download)
from resource import Resource
from resource_set import ResourceSet
from list_base_with_index import ListBaseWithIndex
 
class SourceDescription(ListBaseWithIndex):

src/r/e/resync-HEAD/resync/change_list.py   resync(Download)
from urllib import URLopener
 
from list_base_with_index import ListBaseWithIndex
from resource import Resource,ChangeTypeError
from sitemap import Sitemap
 
class ChangeList(ListBaseWithIndex):

src/r/e/resync-0.9.5/resync/resource_list.py   resync(Download)
from urllib import URLopener
 
from list_base_with_index import ListBaseWithIndex
from sitemap import Sitemap
from mapper import Mapper, MapperError
class ResourceList(ListBaseWithIndex):
    """Class representing an resource_list of resources
 
    This same class is used for both the source and the destination
    and is the central point of comparison the decide whether they

src/r/e/resync-HEAD/resync/resource_list.py   resync(Download)
from urllib import URLopener
 
from list_base_with_index import ListBaseWithIndex
from sitemap import Sitemap
from mapper import Mapper, MapperError
class ResourceList(ListBaseWithIndex):
    """Class representing an resource_list of resources
 
    This same class is used for both the source and the destination
    and is the central point of comparison the decide whether they