Coder Social home page Coder Social logo

thepixeldeveloper / kohana-sitemap Goto Github PK

View Code? Open in Web Editor NEW
86.0 8.0 17.0 120 KB

A Kohana 3 Sitemap Class. Includes support for Google™ Mobile, Video, News, Code and Geo XML Sitemaps

Home Page: http://forum.kohanaframework.org/discussion/4604

License: ISC License

PHP 100.00%

kohana-sitemap's Introduction

NO LONGER MAINTAINED

Kohana is has been deprecated

Sitemap Module

This module allows you to create XML sitemaps. This module supports the current types of sitemap:

Installation

git submodule add git://github.com/ThePixelDeveloper/kohana-sitemap.git modules/sitemap

Keeping up to date

Run

git pull

in the repository, then commit the change to the submodule in your parent repository.

Bugs

Please file all bugs, patches and feature requests to the Sitemap Issue Tracker

ISC License

Copyright (c) 2010 - 2012, Mathew Davies [email protected]

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

kohana-sitemap's People

Contributors

omarev avatar thepixeldeveloper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kohana-sitemap's Issues

Custom exception handler

Propose to use

throw new Sitemap_Exception($message, $variables, $code);

Should be passing in a constant to $code like:

Sitemap::INVALID_ARGUMENT

Update XML declaration

How about updating the urlset tag to something a bit more recent like:

<urlset 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/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

'Class 'Valid' not found'

references to valid:: class in MODPATH/sitemap/classes/kohana/sitemap/url.php [ 22 ] don't work as Valid has become Validate.

Just replace the two uses of Valid:: with Validate:: and it works a charm!

set_last_mod update

Perhaps it would be good form to generate some defaults for certain fields, like set_last_mod, to use the date of the cache being generated, if a specific value was not supplied?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.