Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Webapplication content parsable by Google(How to make a RAP webapp parsable for search engines like Google (Ajax, Sitemaps, Parameters)?)
Webapplication content parsable by Google [message #890174] Thu, 21 June 2012 07:20 Go to next message
Nico Rutishauser is currently offline Nico Rutishauser
Messages: 4
Registered: June 2012
Junior Member
I'm developing a RAP website and want to make it accessible for robots like Google (I'm only referring to Google here; but I think other search engines work similar). The Webapp contains dynamic content which I load from a Database, depending on what the user is searching for. How do I make this content available for Google?
I've read Google's guide for ajax crawling, but don't know how apply it for RAP:

- RAP makes the AJAX calls 'internally'. Can I use them for Google; and how?
- RAP is a single page, how should I provide a Sitemap (XML) to Google?

Thanks in advance!
Re: Webapplication content parsable by Google [message #890191 is a reply to message #890174] Thu, 21 June 2012 08:13 Go to previous messageGo to next message
David Casas is currently offline David Casas
Messages: 58
Registered: November 2011
Location: Barcelona
Member

If you find the way to do it, please explain me. I have to look how to do it in the next weeks ^^
Re: Webapplication content parsable by Google [message #890250 is a reply to message #890174] Thu, 21 June 2012 11:31 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger Herrmann
Messages: 335
Registered: July 2009
Senior Member
Nico,

as far as I understand Ajax crawling [1] this would only work if your
application supports deep links like
http://example.com/your-app?searchterm=foo
Your application would then create a UI that shows all the search
results for 'foo'.

Given this, you might be able to transform the applications' output to
HTML on the fly.

(The following is just a rough idea which I didn't try myself)
Since RAP 1.5, the server outputs Json [2] that holds information for
the client on what to 'draw'. If you'd install a servlet filter, it
could transform the Json to HTML. The HTML wouldn't necessarily need to
be accurate or 'pretty' as it is only seen by the crawler. It would just
need to hold the information that should be indexed.

HTH
Rüdiger

[1] https://developers.google.com/webmasters/ajax-crawling
[2] http://wiki.eclipse.org/RAP/Protocol

On 21.06.2012 13:20, Nico Rutishauser wrote:
> I'm developing a RAP website and want to make it accessible for robots
> like Google (I'm only referring to Google here; but I think other search
> engines work similar). The Webapp contains dynamic content which I load
> from a Database, depending on what the user is searching for. How do I
> make this content available for Google?
> I've read Google's guide for ajax crawling, but don't know how apply it
> for RAP:
>
> - RAP makes the AJAX calls 'internally'. Can I use them for Google; and
> how?
> - RAP is a single page, how should I provide a Sitemap (XML) to Google?
>
> Thanks in advance!
--
Rüdiger Herrmann
http://codeaffine.com
Re: Webapplication content parsable by Google [message #893070 is a reply to message #890250] Mon, 02 July 2012 09:25 Go to previous message
Nico Rutishauser is currently offline Nico Rutishauser
Messages: 4
Registered: June 2012
Junior Member
Thanks for the answer, Rüdiger!

The solution with the servlet filter sounds quite complicated. I'll keep it in mind if my current idea does not work:

I generate a simple HTML for every content and deploy it on the server. Thus, the url for a specific content is www.example.com/mycontent-123.html
The HTML contains the information that I want to be indexed by Google as well as a direct forward link to the webapp: <meta http-equiv="refresh" content="0;url=example.com/webapp?contentid=123">
Clients are directly forwarded to the webapp. The webapp handles the parameter when it starts and forwards the client directly to the specific content.
Having this structure, adding all Links with specific content to a sitemap ensures that Google indexes those files and the content of each HTML-file.

Cheers
Nico
Previous Topic:RAP 1.5 stops preparing workbench
Next Topic:Scrollbar in Text Widget is not themeable
Goto Forum:
  


Current Time: Sat Aug 30 06:29:51 EDT 2014

Powered by FUDForum. Page generated in 0.04800 seconds