Coder Social home page Coder Social logo

croogo-sitemap-2.0's Introduction

README

Sitemap Croogo Plugin

Author: Nicolas Traeder (traedamatic) Email : [email protected]

############################################################################

LICENSE

ALL files in this repository are licensed under the MIT license:

Url: http://www.opensource.org/licenses/mit-license.php

Copyright (c) <2010> Nicolas Traeder [email protected]

#############################################################################

  1. Aug 2012

This version now fully works with Croogo 1.4 and higher (CakePHP 2.0 and higher) Marek Sebera

  1. Jan 2010

Version 0.1

This Plugin generates automatically a sitemap of you croogo site

It should work with no extra installation just copy this files into the app/plugin folder

!The upload from the adminpanel doesn't work right now. I dont know why!? I will fix it today or tomorrow!!!

#What does it do?#

First it adds some routes:

your-site/sitemap -> a simple html sitemap your-site/sitemap.xml -> a valid http://www.sitemap.org xml sitemap

The Sitemap is created from the data in your site. All Nodes which have one of the three types blog, node and page are used.

In the admin dashboard you can find a new menu called "Sitemap". Here you can set you default changefreq and priority.

Furthermore you can add to any node the Customfields "changefreq" and "priority". These values will be used instead of the default if set.

#What does it not do?#

The plugin does not submit the sitemap to any search engine.

The logic behind the html view is very simple. It does not support the parent_id for a better view.

#Next Release Features#

Probably the submit function for the search engines.

New Verion 23.09.10

  • migrated to Croogo 1.3.2

Further Reading:

http://bakery.cakephp.org/articles/view/automatically-generate-dynamic-sitemaps http://bakery.cakephp.org/articles/view/sitemap-deluxe http://www.sitemap.org

croogo-sitemap-2.0's People

Contributors

elbakai avatar smarek avatar

Watchers

 avatar  avatar

croogo-sitemap-2.0's Issues

Parsing issue (getting extra two spaces before <?xml ..?>

Hello there,

first off, nice plugin, easy to use, straight forward, and i love the fact that it's not DB driven.

however, no matter what, when generating the xml page, i get the below error:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://maces.mosandbox.com/sitemap.xml
Line Number 1, Column 3:  <?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
--^

capture

so yea, it's adding two extra spaces before it. i have no clue why, and i can't find anything. i've made sure all my layouts don't have extra spaces :/

thanks again, tho ๐Ÿ‘

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.