Re: Notes affecting manual contributors

From: Date: Mon, 27 Mar 2006 16:26:28 +0000
Subject: Re: Notes affecting manual contributors
References: 1 2 3  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1999@lists.php.net to get a copy of this message
Steph Fox wrote:
Redirects need sorting out (in error/index.php). The 'manual' directory in php-gtk-web currently contains a copy of version 1 of the manual anyway, but will contain version 2 some time this week, and some PHP-GTK 1 items (GtkTree for example) don't exist in PHP-GTK 2. The code in the error file doesn't make a lot of sense to me - that's probably something I could ask you to look into. E.g. we never had such a thing as .php3 files in php-gtk-web....! (I'd guess the error file was originally a steal from php.net.)
I commented the crap out of error/index.php just to get a better understanding of what was happening. Before I get too involved, I want to make sure I have the correct understanding of the purpose for this file. If a user requests a page that doesn't exist, this file tries to find the page they were looking for. Right? If they request: http://gtk.php.net/show_all This page should redirect them to: http://gtk.php.net/manual/en/gtk.gtkwidget.method.show_all.php If they request a page that cannot be found in /manual/ they should be redirected to a page in /manual1/ if it exists. Otherwise they should be sent to the search page (when it is ready) which should be passed the URI as a search term. If the page still can't be found, just give up and show them a 404. Does that sound right? Thanks, Scott

« previous php.gtk.doc (#1999) next »