PHPackages                             monsieurbiz/mbiz\_sitemap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. monsieurbiz/mbiz\_sitemap

ActiveMagento-module

monsieurbiz/mbiz\_sitemap
=========================

Magento module which adds models to generate XML sitemaps.

v0.1.0(8y ago)0283GPL-3.0PHP

Since Oct 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/monsieurbiz/Mbiz_Sitemap)[ Packagist](https://packagist.org/packages/monsieurbiz/mbiz_sitemap)[ RSS](/packages/monsieurbiz-mbiz-sitemap/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Mbiz\_Sitemap
=============

[](#mbiz_sitemap)

This extension simplifies the sitemap.xml generation.

How it works
------------

[](#how-it-works)

It is very simple.

Every 30 minutes, according to the cron setup in `app/etc/config.xml` the sitemaps will be generated.

By default there is not sitemap defined. You can add sitemaps by observing the event `mbiz_sitemap_generate_sitemap` and add a sitemap to the index in your code.

### Example

[](#example)

This is an observer of the event `mbiz_sitemap_generate_sitemap`.

```
class Acme_Demo_Model_Observer
{
    public function generateSitemaps(Varien_Event_Observer $observer)
    {
        // Fill the sitemap
        $sitemap = Mage::getModel('mbiz_sitemap/sitemap');
        $collection = Mage::getResourceModel('acme_demo/article_collection');
        foreach ($collection as $article) {
            $sitemap->addUrl(
                $article->getUrl(), // URL
                date('c', strtotime($article->getUpdatedAt())), // Last Updated
                'monthly', // Frequency
                0.8 // Priority
            );
        }

        // Generate the XML file
        $sitemap->generate(
            Mage::getBaseDir() . DS . 'sitemaps' . DS . 'articles.xml', // The XML file
          	Mage::getUrl('', [ // The URL
            	'_direct' => 'sitemaps/articles.xml',
            	'_type' => Mage_Core_Model_Store::URL_TYPE_DIRECT_LINK,
        	])
        );
        $observer->getIndex()->addSitemap($sitemap);
    }
}
```

Troubleshooting
---------------

[](#troubleshooting)

### Where is the sitemap index?

[](#where-is-the-sitemap-index)

You can find the index there: `/sitemap-index-CODE.xml` where `CODE` is the store's code. By default it is `/sitemap-index-default.xml`.

For now the module generates only for the store with `store_id=1`.

### How can I change the schedule?

[](#how-can-i-change-the-schedule)

You can change the schedule by updating the configuration with your own module. By now it is not possible to change it using the admin panel.

### Where do I need to generate the sitemaps?

[](#where-do-i-need-to-generate-the-sitemaps)

You choose where to generate the sitemap in your observer.

By default the module creates the directory `/sitemaps`. So you can generate them in it.

But if you want to generate your sitemaps somewhere else you can, it will work well.

### Can I generate the sitemaps myself?

[](#can-i-generate-the-sitemaps-myself)

Yes, just run this code:

```
Mage::getSingleton('mbiz_sitemap/cron')->generateSitemaps();
```

License
-------

[](#license)

See [LICENSE](https://raw.githubusercontent.com/monsieurbiz/Mbiz_TrackingTags/master/LICENSE).

Maintainer
----------

[](#maintainer)

This module is maintained by [Monsieur Biz](https://monsieurbiz.com).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c469cf3368841a646d6e69475e8b79861ee299bbe5c2382f50459e3ab3607320?d=identicon)[jacquesbh](/maintainers/jacquesbh)

---

Top Contributors

[![jacquesbh](https://avatars.githubusercontent.com/u/858611?v=4)](https://github.com/jacquesbh "jacquesbh (1 commits)")

### Embed Badge

![Health badge](/badges/monsieurbiz-mbiz-sitemap/health.svg)

```
[![Health](https://phpackages.com/badges/monsieurbiz-mbiz-sitemap/health.svg)](https://phpackages.com/packages/monsieurbiz-mbiz-sitemap)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
