2017 © Pedro Peláez
 

library sitemap

A sitemap generator that saves all of your links, tracks any updates, and makes the entire site searchable.

image

bootpress/sitemap

A sitemap generator that saves all of your links, tracks any updates, and makes the entire site searchable.

  • Thursday, January 19, 2017
  • by BootPress
  • Repository
  • 1 Watchers
  • 0 Stars
  • 919 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

use BootPress\Sitemap\Component as Sitemap;

Packagist ![License MIT][badge-license] HHVM Tested ![PHP 7 Supported][badge-php] Build Status ![Code Climate][badge-code-climate] Test Coverage, (*1)

The BootPress Sitemap Component generates the sitemap[...].xml files by saving all of your website's links, and keeping track of any updates. Any 404 pages are removed as they come to our attention (via $page->send(404)). It also has convenience methods for adding or removing multiple pages at once, and searching the entire site or any parts thereof. The only heads up is to watch what you Sitemap::add() to the database. Listing or product pages that have constantly changing or updated content are not good candidates for the sitemap. It will screw up your searches, and you only want Google to index real content pages anyways., (*2)

Installation

Add the following to your composer.json file., (*3)

``` bash { "require": { "bootpress/sitemap": "^1.0" } }, (*4)


## Example Usage ``` php <?php use BootPress\Page\Component as Page; use BootPress\Sitemap\Component as Sitemap; $page = Page::html(); if ($xml = Sitemap::page()) { $page->send($xml); } $html = '

Content, (*5)

'; Sitemap::add('pages', $html); $page->send($page->display($html));

License

The MIT License (MIT). Please see License File for more information., (*6)

The Versions

19/01 2017

dev-master

9999999-dev https://www.bootpress.org/components/sitemap.html

A sitemap generator that saves all of your links, tracks any updates, and makes the entire site searchable.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kyle Gadd

search sitemap bootpress

28/10 2016

v1.0.2

1.0.2.0

A sitemap generator that saves all of your links, tracks any updates, and makes the entire site searchable.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kyle Gadd

search sitemap bootpress

27/10 2016

v1.0.1

1.0.1.0

A sitemap generator that saves all of your links, tracks any updates, and makes the entire site searchable.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kyle Gadd

search sitemap bootpress

28/09 2016

v1.0

1.0.0.0

A sitemap generator that saves all of your links, tracks any updates, and makes the entire site searchable.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kyle Gadd

search sitemap bootpress