Interesting tool from Google...

If I were doing a sitemap for purposes of telling Google about pages
on my site I'd do it based on usage logs - but you run the risk of not
logging infrequent pages or those somehow not being found.

Having said that, if the sites are all under your control you can use
this approach:

1. Create a database in MySQL or whatever else :) to store the logging
information:
id, url, accessdate

2. Create a simple script in PHP or whatever scripting language you use that:
delivers a 1x1 pixel graphic
logs the URL of the page the user is on and the time/date to the database

3. Write a simple query to show DISTINCT url values - you can order by
accessdate DESC to have a most recently accessed sitemap

Otherwise, if that seems undoable, you could parse the logs into your
favorite database and pickup above recommendation at #3.

Here's a PHP based tutorial on parsing Apache logs, haven't tested it myself:
http://www.php-scripts.com/php_diary/012103.php3

Let me know if you need clarification on any of this - I use the first
three step approach extensively and have for years.

-Paul

On Tue, Oct 27, 2009 at 6:35 AM, Momesso Andrea
<[email protected]> wrote:
> I understand that cherokee has apache comaptible logs...
>
> Is it possible to use http://googlesitemapgenerator.googlecode.com/ on a
> Cherokee served website?
>
> Thank you in advance
>
> ---
> TopperH
> http://topperh.blackmamba.kicks-ass.org/
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to