• Stars
    star
    349
  • Rank 121,215 (Top 3 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 12 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A symfony bundle that provides tools to build a rich application sitemap. The main goals are : simple, no databases, various namespace (eg. google image), respect constraints etc.

PrestaSitemapBundle

Tests Coverage Latest Stable Version Downloads Monthly Contributors

This bundle handle your XML sitemap in a Symfony application.

Overview

Allow sitemapindex file:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd"
              xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <sitemap>
        <loc>https://acme.org/sitemap.static.xml</loc>
        <lastmod>2020-01-01T10:00:00+02:00</lastmod>
    </sitemap>
</sitemapindex>

and urlset files:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
    <url>
        <loc>https://acme.org/</loc>
        <lastmod>2020-01-01T10:00:00+02:00</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.5</priority>
    </url>
    <url>
        <loc>https://acme.org/contact</loc>
        <lastmod>2020-01-01T10:00:00+02:00</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.5</priority>
    </url>
</urlset>

A sandbox is available in a dedicated GitHub repository.

You may also have a look to Prestaconcept's website sitemap (which is built with this bundle).

Features

  • Configure with a single option which routes you want to include in your sitemap
  • Generate one Sitemapindex and as many Urlset as you need
  • Access sitemap on the fly with a symfony controller or Dump sitemap to files for faster sitemap
  • Comply with Urlset specifications : 50k items / 10MB per file
  • Decorates your sitemap with images, video, mobile and multilang urls
  • No database required

Documentation

You will find the detailed documentation in the following links:

Versions

This bundle is compatible with all Symfony versions since 2.3.0.

However, like Symfony, we do not provide support for Symfony's version that reached EOL.

Contributing

Please feel free to open an issue or a pull request, if you want to help.

Thanks to everyone who has contributed already.


This project is supported by PrestaConcept

Released under the MIT License

More Repositories

1

PrestaCMSSandboxBundle

PrestaCMS Sandbox is a demo project for PrestaCMS, a Symfony2 bundle based on SymfonyCMF wich provided content management features to your project.
PHP
42
star
2

PrestaCMSCoreBundle

PrestaCMS is a Symfony2 bundle based on SymfonyCMF wich provided content management features to your project.
PHP
27
star
3

PrestaImageBundle

Allow to crop local and remote image before uploading them through a classic form.
PHP
23
star
4

PrestaCMSMediaBundle

This bundle provides media blocks for the PrestaCMS.
PHP
9
star
5

symfony-prestacms

This is Prestaconcept's Symfony distribution packaged with everything you need to build website with PrestaCMS
PHP
8
star
6

capistrano-archive

Archive scm plugin for Capistrano
Ruby
7
star
7

presta-cms

Meta package with all PrestaCMS bundles, helps you to set-up a project with PrestaCMS
4
star
8

PrestaSonataAdminExtendedBundle

Prestaconcept extensions for Sonata Admin : Ease SonataAdmin configuration
PHP
4
star
9

PrestaCMSThemeBasicBundle

PrestaCMSThemeBundle adds ready to use themes into your PrestaCMS projects. It is made to help people starting with PrestaCMS without spending time on design and integration. It can be a good working example for people who wants to build their own theme.
CSS
4
star
10

PrestaComposerPublicBundle

A symfony 2 bundle that provides a simple way to include public 3rd-party libraries (javascripts, css, pictures ...) into your projects and keep its up-to-date.
PHP
4
star
11

PrestaCMSCKEditorBundle

Integrates CKEditor in PrestaCMS with SonataMedia and page links
JavaScript
3
star
12

PrestaGoogleAnalyticsDashboardBundle

[WIP] register to our google group to now more about this bundles
PHP
3
star
13

PrestaSonataGedmoDoctrineExtensionsBundle

Gedmo integration in Sonata Admin : Translatable...
PHP
3
star
14

PrestaCMSContactBundle

PrestaCMSContactBundle adds contact form to your CMS. Contacts and messages are savied and administrated with Sonata. You can implement your own strategy to fir your needs.
PHP
3
star
15

meta-ci

presta meta CI package. Proof of concept meta package for continuous integration dependencies
Shell
2
star
16

PrestaSonataNavigationBundle

Customize Sonata-Admin navigation : add custom actions, specify roles, translate your labels and add descriptions
PHP
2
star
17

PrestaCMSSitemapBridgeBundle

PrestaSitemapBundle connector for PrestaCMS. This bundle adds your PrestaCMS pages into your sitemap.xml.
PHP
2
star
18

PrestaCMSSocialBundle

Add social to PrestaCMS : Twitter, Facebook...
PHP
2
star
19

open-source-management

Open source management is our centralized project to organize Prestaconcept open source activity
2
star
20

PrestaDeploymentBundle

This bundle centralize deployment task
PHP
1
star
21

PrestaCMSFAQBundle

Adds FAQ in PrestaCMS. FAQ are structured by category and administrated with SonataAdmin
PHP
1
star
22

prestaForumConnectorPlugin

The prestaForumConnectorPlugin aims to provide an easy way to connect an user management system to the forum solution of your choice.
PHP
1
star
23

PrestaBehatEvaluator

PrestaBehatParser is a library leveraging parsers to be used in Behat tests.
PHP
1
star