views:

23

answers:

1

This might be a weird question, but I've been unable to find an answer. Assuming I were to use an Object tag to embed an HTML snippet from an outside source (different server), how does Googles spider view that data? Does it pull in the data source like a browser would or does it only view the alternate content found between the Object tags like an old browser would do?

Example:

<object data="http://www.remotehost.com/data/test.html" type="text/html" width="300" height="200">
  alt : <a href="http://www.remotehost.com/data/test.html"&gt;test.html&lt;/a&gt;
</object>

Does only the "Alt : test.html" get read, or does the source "data/test.html" also get indexed as if it were part of the page?

I basically have an HTML content that customers need to include in their pages without having to do it dynamically using whatever back-end they use to prepare their page (PHP, JSP or whatever). They need the simplest method that doesn't require much back-end work on their part. I'm curious if this method would allow them to have that content included in their search results (their site) and not be indexed as my content from my server (index as content for my domain).

A: 

Well, there must be some kind o Murphy's Law for this, but right after I posted I managed to find the answer.

Using Google's Developer Toolbox, and Fetch as Googlebot, I was able to see how the Google spider would interpret the page and it doesn't process the Object data at all. Too bad, I guess I'll have to find another solution.

Jason MacDonald