I have a proposal about the GWT SEO Problems.

First I'm going to explain the main limitations. Search Engines have
no JavaScript interpreter, so the GWT generated content can't be
accessed by the SE.

You could mimic your GWT client's behavior on the server side, but
this would mean a lot of duplicate code and a maintenance nightmare.


GWT allows developers to test the client side code using the
“GWTTestCase”.

In order to run a test case the “GWTTestCase” class starts the
embedded tomcat server, loads the GWT Environment(using a hosted
browser in an invisible mode), runs the test and shutdowns the tomcat.

So, I propose to use this concept to resolve the GWT SEO problem as
follows :

(for more details visit : http://docs.google.com/Doc?id=dcsq25m_04k4cmgfd)

The “ServletDispatcher” guides the request relying on the user-agent.

If the UA is a browser then the request is relayed to your
“EntryPoint” (the default way).

And if the UA is a search engine robot the request is relayed to the
“HTMLGenerator”.

This class should inherit from the “GWTTestCase”, create a new
instance of the requested widget and return the HTML code of that
widget using the “toString()” method.

Some constraints :

    *  The memory use concerning the embedded server.
    *  The response time (a time out risk with the SE). Could easily
be resolved with a cache.
    *  Some special entities like links should render as HTML links
and not as Javascript click listeners.

I tried to directly instantiate a part of the GWTTestCase (instead of
using a standalone command line executable) in order to optimize the
HTML generation life cycle.

I did not succeed in my attempt as I'm not so familiar with the GWT
Meta model and have not allocated the needed time.


I'm looking for some help to make this concept a complete and
optimized solution to the GWT SEO.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to