Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8215687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:52:05+00:00 2026-06-07T11:52:05+00:00

I’m developing a RAP website and want to make it accessible for robots like

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:52:06+00:00Added an answer on June 7, 2026 at 11:52 am

    The idea of Ajax is that an application doesn’t load new pages all the time, but loads new pieces of content using Ajax requests in the background. To provide “deep links” into your application anyway, you need URLs that contain a fragment part, such as example.com/myapp#mystate. This trick is used because a browser does not reload the page when only the fragment part of the URL changes.

    This is no different with RAP. To deal with this kind of URLs, RWT provides a browser history API. When the state of your application changes, e.g. when the user selects some kind of tab or fires up a search, you can add a new entry to the browser history, which effectively changes the fragment of the URL in the browser:

    RWT.getBrowserHistory().createEntry( "!mystate", "Example" );
    

    This will change the URL to example.com/app/entrypoint#!mystate (the “deep link” to this state) and adds an entry named “Example” to the browser history, so you can use the browser’s back button to get back to this state later.

    To be able to react on changes of the URL, you have to add a listener to the browser history. This listener will be notified every time the fragment part changes. This is also the case when application is started with a fragment (someone follows a deep link). Your application is then responsible to re-install the state that is represented by this fragment.

    RWT.getBrowserHistory().addBrowserHistoryListener( new BrowserHistoryListener() {
      public void navigated( BrowserHistoryEvent event ) {
        // show state represented by event.entryId
      }
    } );
    

    An example for a RAP application that uses fragment URLs for different “sub-pages” is the RAP examples demo.

    The rest of the story should be explained in Google’s AJAX crawling guide. Your ids have to start with a ! to produce URLs with a fragment like #!mystate. These URLs are the ones that you should add to your sitemap. To feed the crawlers, you could implement a servlet filter that catches requests to the URL pattern ?_escaped_fragment_=mystate and returns an HTML representation of the particular state.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I want to construct a data frame in an Rcpp function, but when I
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.