PDA

View Full Version : I have to use iFrames..



Johan H
09-07-2003, 10:20 AM
From another website..Cause im going to use their book engine... Now there is a problem. Cause they have a book-engine on the domain

bookengine.something.com and i am putting it into my webbpage

www.resor.com, since i use iFrames to put the engine into my website the domain bookengine.something.com will get PR from my website...is there anyway to stop this?

With java maybe?

I dont want to lose PR on my website!

thanks johan

Chris
09-07-2003, 10:32 AM
Print out the iframe with javascript.

<script language = "javascript">
document.write('<ifr'+'ame src = "http://w' + 'ww.dom' + 'ain' + '.com></ifr' + 'ame>');
</script>

SE's can't parse that.

Johan H
09-07-2003, 10:41 AM
Originally posted by Chris
Print out the iframe with javascript.

<script language = "javascript">
document.write('<ifr'+'ame src = "http://w' + 'ww.dom' + 'ain' + '.com></ifr' + 'ame>');
</script>

SE's can't parse that.


Very cool Chris!

lemon
09-08-2003, 10:41 AM
Would this work too?

say if I used:
iframe src="http://www.domain.com/to.cgi?l=booksite"

And in robots.txt, I used:
User-agent: *
Disallow: /to.cgi

Chris
09-08-2003, 11:23 AM
it should yes.

flyingpylon
09-10-2003, 02:41 PM
What if you use an iframe that loads a page from your own site? Is there any reason you wouldn't want to do that?

I'm building a site that transforms xml into html using xslt, and certain things are just far easier to do using iframes that link to an asp page or something as opposed to trying to pass parameters into the xslt stylesheet, etc.

For example, I have a place on the page where I display 5 images, and I want them to change based on an interval that I determine. The easiest way to do this is just to link to an asp page that does the appropriate calculations and spits out the code to display the images. I was also planning to do this if/when I start serving ads.

How do search engines see iframe pages? Do they count them as an outgoing link, and then do they try to index them?

flyingpylon
09-10-2003, 02:56 PM
I just thought of something else...

In the example above, if my iframe is just large enough to display the images I want, but in the linked page I include keywords and links to other pages in my site (that would not be seen by human visitors) would that help me at all? Or would search engines frown upon this practice?

Chris
09-10-2003, 03:07 PM
Anything used to put keywords in a place that search engines see but users don't could be considered spam.

Your best bet for having your content get indexed is to not frame it, and especially not iframe it.

flyingpylon
09-10-2003, 07:12 PM
Thanks for the reply Chris. Just to clarify, I'm not planning to put any actual content in the iframe. It's just to present a semi-cool visual effect. I suppose that by doing it this way I'm losing a small opportunity to associate keywords and links with the images, but I'm not sure it would make that much of a difference.

Then again, I could put some hard-coded images, keywords, and links in between the iframe tags which should get indexed. I don't see how that could be considered spam (unless I overdid it, which I won't), even though most users would never see it.

Chris
09-10-2003, 07:49 PM
If you're not putting content in it then I wouldn't worry about it.