2017 © Pedro Peláez
 

library xml-sitemap

Generate an XML sitemap.

image

jjok/xml-sitemap

Generate an XML sitemap.

  • Monday, March 17, 2014
  • by jjok
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

XmlSitemap

Build Status, (*1)

Generate an XML sitemap., (*2)

$sitemap = new \jjok\XmlSitemap\Sitemap();
$sitemap->addUrl(new \jjok\XmlSitemap\Url('http://www.example.com/'));
$sitemap->addUrl(new \jjok\XmlSitemap\Url('http://www.example.com/some-page', 0.6, '2013-06-28', 'hourly'));

header('Content-type: application/xml; charset=utf-8');
echo $sitemap->toString();

Run Tests

phpunit

Copyright (c) 2013 Jonathan Jefferies, (*3)

The Versions

17/03 2014

dev-master

9999999-dev https://github.com/jjok/XmlSitemap

Generate an XML sitemap.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

17/03 2014

1.1.0

1.1.0.0 https://github.com/jjok/XmlSitemap

Generate an XML sitemap.

  Sources   Download

MIT

The Requires

  • php >=5.3.0