It would be nice if the site recognized normal URLs without the ?page= prefix. That ought to be easy to hack up. The extra verbiage makes links posted in news articles look ugly.
Where's the code so I can fix it? I can't see it at http://cvs.winehq.com/cvsweb/ for some reason... I thought the site's code was in cvs... - Dan
On March 25, 2003 11:48 pm, Dan Kegel wrote:
It would be nice if the site recognized normal URLs without the ?page= prefix. That ought to be easy to hack up. The extra verbiage makes links posted in news articles look ugly.
I agree: http://www.winehq.org/download
is a heck of a lot cleaner.
Where's the code so I can fix it? I can't see it at http://cvs.winehq.com/cvsweb/ for some reason... I thought the site's code was in cvs...
It is: http://cvs.winehq.com/cvsweb/lostwages/
Wanting to view the snapshots in the repository (yes, I could have seen it on the web page, but why not), I found that the type is set text/plain.If you select 'download' to see the first snapshot, you get garbage in your window.Changing the type provides a beatiful snapshot in your browser.Proof is made easily : try to open this link with type changed (replaced with image/png):http://cvs.winehq.com/cvsweb/~checkout~/lostwages/images/shots/wine_1.png?re... > Where's the code so I can fix it? I can't see it at> > http://cvs.winehq.com/cvsweb/ for some reason... I thought> > the site's code was in cvs...> > It is:> http://cvs.winehq.com/cvsweb/lostwages/
Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War !
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth.
--------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail
Wanting to view the snapshots in the repository (yes, I could have seen it on the web page, but why not), I found that the type is set text/plain. If you select 'download' to see the first snapshot, you get garbage in your window.
Changing the type provides a beautiful snapshot in your browser. Proof is made easily : try to open this link with type changed (replaced with image/png): http://cvs.winehq.com/cvsweb/~checkout~/lostwages/images/shots/wine_1.png?re...
(sorry for sending terrible and unreadable html mail)
Where's the code so I can fix it? I can't see it at http://cvs.winehq.com/cvsweb/ for some reason... I thought the site's code was in cvs...
It is: http://cvs.winehq.com/cvsweb/lostwages/
-- Dimi.
===== Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War !
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
On Tue, 2003-03-25 at 22:02, Dimitrie O. Paun wrote:
On March 25, 2003 11:48 pm, Dan Kegel wrote:
It would be nice if the site recognized normal URLs without the ?page= prefix. That ought to be easy to hack up. The extra verbiage makes links posted in news articles look ugly.
I've added more redirects to the site in the .htaccess file. The Following URLs work.
http://docs.winehq.org http://faq.winehq.org http://www.winehq.org/download/ http://www.winehq.org/faq/ http://www.winehq.org/status/ http://www.winehq.org/howto/ http://www.winehq.org/todo/ http://www.winehq.org/screenshots/ http://www.winehq.org/news/ http://www.winehq.org/about/
Adding more is as simple as editing the .htaccess file
Jeremy Newman wrote:
On Tue, 2003-03-25 at 22:02, Dimitrie O. Paun wrote:
On March 25, 2003 11:48 pm, Dan Kegel wrote:
It would be nice if the site recognized normal URLs without the ?page= prefix. That ought to be easy to hack up. The extra verbiage makes links posted in news articles look ugly.
I've added more redirects to the site in the .htaccess file. The Following URLs work.
http://docs.winehq.org http://faq.winehq.org http://www.winehq.org/download/ http://www.winehq.org/faq/ http://www.winehq.org/status/ http://www.winehq.org/howto/ http://www.winehq.org/todo/ http://www.winehq.org/screenshots/ http://www.winehq.org/news/ http://www.winehq.org/about/
Adding more is as simple as editing the .htaccess file
That's great, but surely hardly anyone will end up using these unless the links from the main page point to these URLs rather than the ?page= ones? Unless they read wine-devel...
On Thu, 27 Mar 2003, David Fraser wrote:
Jeremy Newman wrote:
I've added more redirects to the site in the .htaccess file. The Following URLs work.
[...]
That's great, but surely hardly anyone will end up using these unless the links from the main page point to these URLs rather than the ?page= ones? Unless they read wine-devel...
Perhaps we could have a (small text-based) link on each of these pages. These links would point to the same page, but using the canonical URL. Something like "this page: <Canon URL>". People could then use this when linking.
---- Paul Millar
On Thu, 27 Mar 2003 08:33:40 +0200 David Fraser davidf@sjsoft.com wrote:
Jeremy Newman wrote:
On Tue, 2003-03-25 at 22:02, Dimitrie O. Paun wrote:
On March 25, 2003 11:48 pm, Dan Kegel wrote:
It would be nice if the site recognized normal URLs without the ?page= prefix. That ought to be easy to hack up. The extra verbiage makes links posted in news articles look ugly.
I've added more redirects to the site in the .htaccess file. The Following URLs work. http://www.winehq.org/status/
This didnt work for me. 404 error.
Roland
David Fraser wrote:
It would be nice if the site recognized normal URLs without the ?page= prefix.
I've added more redirects to the site in the .htaccess file. The Following URLs work.
http://docs.winehq.org http://faq.winehq.org http://www.winehq.org/download/ ...
That's great, but surely hardly anyone will end up using these unless the links from the main page point to these URLs rather than the ?page= ones?
Indeed. What we need is to set up the php script as the handler for *all* urls under the root (there's some syntax for that), and then grab the URL at the beginning of the php script and use it to set the page, news, or whatever variable. (If the URL is a page at the root, we'll set the page variable to the local part of the URL; if the URL is a page in the 'news' subdirectory, we set the 'news' variable instead, etc. The php is a bit odd, it has the line 'switch(true) { ...', and uses dynamic case labels.)
I can do the PHP but haven't bothered to learn the apache part yet. - Dan