Skip to content

Commit

Permalink
Change default dumper for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Podgornyy authored and Sergey Podgornyy committed Nov 29, 2017
1 parent 729400d commit c585d5e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![SensioLabs Insight][ico-sensio]][link-sensio]
[![SensioLabsInsight][ico-sensiolab]][link-sensio]
[![Coverage Status][ico-scrutinizer]][link-scrutinizer]
[![Quality Score][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]
<!-- [![Total Downloads][ico-downloads]][link-downloads] -->

This Bundle provides a way to create a xml sitemap using any source
you want (Doctrine, Propel, MongoDB, Faker, etc.).
Expand Down Expand Up @@ -253,15 +255,18 @@ If you discover any security related issues, please email :author_email instead
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
This project was forked from [sitemap-php/KPhoenSitemapBundle](https://github.com/sitemap-php/KPhoenSitemapBundle/)

[ico-version]: https://img.shields.io/packagist/v/larapulse/sitemap-bundle.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/larapulse/sitemap-bundle/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/larapulse/sitemap-bundle.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/larapulse/sitemap-bundle.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/larapulse/sitemap-bundle.svg?style=flat-square
[ico-version]: https://img.shields.io/packagist/v/larapulse/sitemap-bundle.svg?style=flat
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat
[ico-travis]: https://img.shields.io/travis/larapulse/sitemap-bundle/master.svg?style=flat
[ico-sensio]: https://img.shields.io/sensiolabs/i/1dc1c0d0-b27d-4481-a751-0fad311682b7.svg?style=flat
[ico-sensiolab]: https://insight.sensiolabs.com/projects/1dc1c0d0-b27d-4481-a751-0fad311682b7/mini.png
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/larapulse/sitemap-bundle.svg?style=flat
[ico-code-quality]: https://img.shields.io/scrutinizer/g/larapulse/sitemap-bundle.svg?style=flat
[ico-downloads]: https://img.shields.io/packagist/dt/larapulse/sitemap-bundle.svg?style=flat

[link-packagist]: https://packagist.org/packages/larapulse/sitemap-bundle
[link-travis]: https://travis-ci.org/larapulse/sitemap-bundle
[link-sensio]: https://insight.sensiolabs.com/projects/1dc1c0d0-b27d-4481-a751-0fad311682b7
[link-scrutinizer]: https://scrutinizer-ci.com/g/larapulse/sitemap-bundle/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/larapulse/sitemap-bundle
[link-downloads]: https://packagist.org/packages/larapulse/sitemap-bundle
Expand Down
6 changes: 5 additions & 1 deletion Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ services:
class: SitemapGenerator\Dumper\GzFileDumper
arguments: [ "%kernel.root_dir%/../web/sitemap.xml.gz" ]

sitemap_file_dumper:
class: SitemapGenerator\Dumper\FileDumper
arguments: [ "%kernel.root_dir%/../web/sitemap.xml" ]

sitemap_xml_formatter:
class: SitemapGenerator\Formatter\XmlFormatter

sitemap:
class: SitemapGenerator\Sitemap\Sitemap
arguments:
- "@sitemap_gz_dumper"
- "@sitemap_file_dumper"
- "@sitemap_xml_formatter"
- "%sitemap.config.base_host%"
- "%sitemap.config.base_host_sitemap%"
Expand Down
17 changes: 5 additions & 12 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@ All notable changes to `Larapulse/SitemapBundle` will be documented in this file

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## NEXT - YYYY-MM-DD

### Added
- Nothing

### Deprecated
- Nothing
## 2017-11-29

### Fixed
- Nothing
- Change default Dumper from `GzFileDumper` to `FileDumper` because of incorrectly named index files for `GzFileDumper`. Will be switched back in next MAJOR version

### Removed
- Nothing
## 2017-11-23

### Security
- Nothing
### Added
- Fork from [sitemap-php/KPhoenSitemapBundle](https://github.com/sitemap-php/KPhoenSitemapBundle/), adding support Symfony 3

0 comments on commit c585d5e

Please sign in to comment.