Wim Dumon wrote:
> Correct. Wt's previous bookmarkable URLs were already search-engine
> friendly, but with the new change, the URLs have exactly the format
> you request. Google bots are detected, don't have to go through the
> bootstrap, and the page is rendered as if it was requested by a
> browser that does not support javascript. As such, google can crawl
> through your application. If you programmed them, google will see
> perfect URL's of the form http://site.com/gps/abc/garmin/nuvi350 or
> whatever you want. For example, google indexes every corner of the Wt
> homepage. Wt is, in comparison with most other web application
> frameworks, very well optimized for search engines.
>   
Hi Wim,

Many thanks for the reply. Can you tell me how I could parse this URL 
when it is called so I can generate the required content? Bear in mind 
that the actual internal path may be just /gps/ and the rest of the URL 
would need to be parsed to determine which data needs to be extracted 
via the database or API call. Also, how would I make my application 
"aware" that this URL (or at least the http://site.com/gps/ part of it) 
is part of my application?

So far my attempts to read the requested URL or GET variables after a 
canonical redirection have proved fruitless.

Is there an example anywhere? The homepage example uses static URLs so I 
do not believe it is representative of what I am trying to achieve.

In order to generate pages for products that I am not aware of at 
compile time I need to be able to pass variables to a witty URL either 
as an appendage to the "real" URL or as 
?id=abc&manufacturer=garmin&model=nuvi350 style arguments. At the moment 
I can't see how to do this, a simple example of how to do this would not 
go astray I believe and I would be happy to donate such an example 
(subject to peer review of course) if someone can tell me where to start?

Many thanks again,
Brad Hubbard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to