Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Google sitemap generator and cherokee

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


momesso.andrea at gmail

Oct 27, 2009, 3:35 AM

Post #1 of 2 (53 views)
Permalink
Google sitemap generator and cherokee

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
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee


pubcrawler.com at gmail

Oct 27, 2009, 2:46 AM

Post #2 of 2 (49 views)
Permalink
Re: Google sitemap generator and cherokee [In reply to]

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
<momesso.andrea[at]gmail.com> 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
> Cherokee[at]lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
Cherokee[at]lists.octality.com
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.