2017 © Pedro Peláez
 

library enlite-sitemap

The ZF2 module for generation static site map

image

enlitepro/enlite-sitemap

The ZF2 module for generation static site map

  • Tuesday, September 9, 2014
  • by Sysanin
  • Repository
  • 4 Watchers
  • 1 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

The sitemap module for Zend Framework 2

INSTALL

The recommended way to install is through composer., (*1)

{
    "require": {
        "enlitepro/enlite-sitemap": "1.0.*"
    }
}

USAGE

Add EnliteSitemap to your config/application.config.php to enable module., (*2)

Static urls you can added to the navigation in section "sitemap"., (*3)

For dynamic urls you need:, (*4)

  1. Add implementation EnliteSitemap\Navigation\DynamicPagesInterface to any service. This service must be available for get with help the service locator.
  2. Add a key of the service to
[
    'EnliteSitemap' => [
            'common' => [
                'dynamic_pages' => [
                    'YouService'
                ],
            ],
        ],
]

Configure

For example config:, (*5)

[
    'EnliteSitemap' => [
            'common' => [
                // The name site map or site map index (if some files)
                'index_file' => 'sitemap.xml',
                // The name of site map. Use when a site map is some files
                'non_index_file' => 'sitemap%d.xml',
                'public_path' => 'public',
                'limit_url_in_file' => 50000,
                'dynamic_pages' => [],
            ],
            // URL for all links in site map
            'url' => [
                'host' => 'my.site.com',
                'port' => 80,
                'scheme' => 'http',
            ]
        ],
]

Notice

For create Zend\Navigation\Page\Mvc, we recommend use EnliteSitemap\Service\SitemapService::factoryMVCPage(), (*6)

The Versions

09/09 2014

dev-master

9999999-dev

The ZF2 module for generation static site map

  Sources   Download

The Requires

 

The Development Requires

by Vladimir Struts

framework zf2 sitemap zendframework2

09/09 2014

v1.2.0

1.2.0.0

The ZF2 module for generation static site map

  Sources   Download

The Requires

 

The Development Requires

by Vladimir Struts

framework zf2 sitemap zendframework2

05/12 2013

v1.1.1

1.1.1.0

The ZF2 module for generation static site map

  Sources   Download

The Requires

 

The Development Requires

by Vladimir Struts

framework zf2 sitemap zendframework2

05/12 2013

v1.1.0

1.1.0.0

The ZF2 module for generation static site map

  Sources   Download

The Requires

 

The Development Requires

by Vladimir Struts

framework zf2 sitemap zendframework2

04/12 2013

v1.0.1

1.0.1.0

The ZF2 module for generation static site map

  Sources   Download

The Requires

 

The Development Requires

by Vladimir Struts

framework zf2 sitemap zendframework2

03/12 2013

v1.0.0

1.0.0.0

The ZF2 module for generation static site map

  Sources   Download

The Requires

 

The Development Requires

by Vladimir Struts

framework zf2 sitemap zendframework2