3

I am embedding scribd PDFs on my website. These are exam papers PDF which are available on other websites.

As it is scribd is an embed/iframe, I think Google considers my page as being empty with no content; Google does see iframe content right?

So I decided to display the first pages of the PDF as text on the page for Google. Then, for user experience, i hide the text and replace it with the scribd embed code using JavaScript.

I have 2 worries about this method. Firstly, i am displaying the first pages of the PDF and the latter may be hosted on other websites, will this be considered as duplicate content.

Secondly, I am hiding the content and replacing it with the scribd embed with javascript; is it considered bad by google?

1 Answer 1

1

As it is scribd is an embed/iframe, I think google considers my page as being empty with no content; google does see iframe content right?

From Google's help page about frames:

Google supports frames and iframes to the extent that it can. Frames can cause problems for search engines because they don't correspond to the conceptual model of the web. In this model, one page displays only one URL. Pages that use frames or iframes display several URLs (one for each frame) within a single page. Google tries to associate framed content with the page containing the frames, but we don't guarantee that we will.

If you are not the only site that is using this scribd iframe, Google may attribute that content to some other site, or even scribd itself.


Firstly, I am displaying the first pages of the pdf and the latter may be hosted on other websites, will this be considered as duplicate content.

Yes, this is certainly duplicate content. Your probably won't get penalized for the duplicate content, but having the text on the page isn't going to help you more than showing the iframe with it from scribd. When Googlebot find the content in multiple places, it usually indexes just one of them. Unless your site is the original, most authoritative, or most usable, Google will probably choose another site. For more information see What is duplicate content and how can I avoid being penalized for it on my site?


I am hiding the content and replacing it with the scribd embed with JavaScript; is it considered bad by Google?

Showing different content to Googlebot and users is considered "cloaking". Google penalizes cloaking much more readily than duplicate content. In this case, you are attempting to show Googlebot the same thing that you are showing users, so you might be fine, but there is still some risk.

5
  • I am hiding the content using javascript when the page is loaded (this is some sort of alternate content which is displayed instead of iframe if javascript is disabled); i thought bots do not undestand javascript?
    – Ace
    Commented Jun 22, 2014 at 8:42
  • That is why it would be cloaking -- you are doing something different for bots. Commented Jun 22, 2014 at 10:48
  • is it called cloaking? I am doing it as a "no javascript" fallback.. it's considered cloaking?
    – Ace
    Commented Jun 22, 2014 at 14:09
  • Providing a fallback for non-javascript users is fine. Doing so to get content indexed is more along the lines of cloaking. Commented Jun 22, 2014 at 15:33
  • I am using it for both actually... as i believed bots couldn't understand javascript(scribd embed being in javascript), i provided a fallback so that both end user and bot can see an alternate content if there's no javascript
    – Ace
    Commented Jun 22, 2014 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.