iframes a no no?

Discussion in 'Search Engine Optimization' started by Jon12345, Feb 16, 2006.

  1. #1
    How do the search engines, Yahoo, Google etc view iframes? I have a need to use them for one part of my site but I worry that they are considered bad for some reason.

    Are they ok?

    Thanks,

    Jon
     
    Jon12345, Feb 16, 2006 IP
  2. dsm56

    dsm56 Active Member

    Messages:
    863
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    78
    #2
    As far as I know google reads iframes.
    Dunno about the other two, but who cares about them?? :)
     
    dsm56, Feb 16, 2006 IP
  3. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Don't use them.

    You can achieve exactly the same effect with either SSI or styling a layer using css so there is no reason to use them.
     
    mad4, Feb 16, 2006 IP
  4. Jon12345

    Jon12345 Peon

    Messages:
    599
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you saying I could use css to draw in a form from another host, so that it looks like it is on the current url but is actually from a different url?
     
    Jon12345, Feb 16, 2006 IP
  5. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No.

    You use css to create a layer within your page with scrollbars at the side and a border.

    You use SSI to pull in content from another website to make it look like its on your site. Its called screen scraping.
     
    mad4, Feb 16, 2006 IP
  6. Jon12345

    Jon12345 Peon

    Messages:
    599
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Can I ask why you would need the css if it is the SSI that pulls in the content?
     
    Jon12345, Feb 16, 2006 IP
  7. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You don't need the css.

    There are 2 reasons to use an iframe:
    1) to show content from another site on your site
    2) to put content in a scrolling window in the middle of your page

    use css for number 2 and ssi for number 1
     
    mad4, Feb 16, 2006 IP
  8. Jon12345

    Jon12345 Peon

    Messages:
    599
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If I am using SSI, is it possible for someone to know I am pulling content from another site? Are there any visible links or IP addresses that are revealed in some way?

    How do I know if my host has enabled SSI? Anything in Cpanel to show this?
     
    Jon12345, Feb 16, 2006 IP
  9. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Try this and see what happens, if it fails you need to configure the server firewall to allow outgoing connections.
    
    include('http://www.google.com');
    
    PHP:
    For more advanced options for example to open a remote page as a string to allow you to edit it you would need file_get_contents or fopen

    Sites can check their logs to see the user agent and IP address of whoever it requesting the files. You can change the user agent to be MSIE6 to be more discreet and use an anonymous IP if you really want.
     
    mad4, Feb 16, 2006 IP
  10. Jon12345

    Jon12345 Peon

    Messages:
    599
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I won't be taking the data off anyone elses site. Just my own on my server.

    Is that php code you are suggesting?
     
    Jon12345, Feb 16, 2006 IP
  11. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Yeah, its php.
     
    mad4, Feb 16, 2006 IP
  12. Jon12345

    Jon12345 Peon

    Messages:
    599
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks. I will try that.

    Is that how people generally do screen scraping then, without having to create their own content? They just use a php include?
     
    Jon12345, Feb 16, 2006 IP
  13. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #13
    A php include is the simplest way to do it but this would not allow you to manipulate the content you are including, for example changing links and image locations so the page works within your site.

    To alter the content you need to use file_get_content or fopen as this allows you to manipluate the page in the same way as any string variable using regular expressions and substitution functions.
     
    mad4, Feb 17, 2006 IP
  14. Brad Callen

    Brad Callen Peon

    Messages:
    854
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Frames are just asking for complications down the track.

    I have just tried explaining this to somebody I was working with the other day. They couldnt get it. But stay away from them unless you absolutely have too.

    I have seen a good article on highrankings.com about frames and how to seo around them.

    But simplest method is to not use them.

    Brad
     
    Brad Callen, Feb 17, 2006 IP
  15. Michael

    Michael Raider

    Messages:
    677
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    150
    #15

    I wrote something on Frames last year maybe it will help...

    - Michael
     
    Michael, Feb 17, 2006 IP
  16. Jon12345

    Jon12345 Peon

    Messages:
    599
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Interesting mad4, you have given me insight into how this stuff is done. I never knew.
     
    Jon12345, Feb 17, 2006 IP
  17. skunker

    skunker Guest

    Messages:
    545
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Hello everyone!

    I am looking for a programmer who can give me advice on how to proceed. Once accepted, I'd like to hire you to do the job.

    Here's my situation:

    I have a template that uses CSS tabs. The tabs, when clicked by the user, needs to load content within that same page. See it here: http://www.wargameshq.com/games/call-of-duty-2.php

    A good example of this effect can be seen here: http://www.vgpro.com/ Look at their TOP GUIDES, HOT VIDEOS, FRESH DEMOS, FEATURED FILES section in the middle of the page.

    I already have the CSS done, I just need someone to give me advice on the best way to proceed to get a similar effect done for my template.

    I think I want to use iframes to do this. But, I'm not sure if that's the best way to go. How will it affect search engines?

    Again, this is a paid job. So, if anyone is interested in helping me complete this, please email me at: skunker@gmail.com

    Thanks for your time!
     
    skunker, Mar 18, 2006 IP
  18. nikniknik

    nikniknik Peon

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    i frames are NO NO in MSN , do not use Iframes.

    they just get into a crawling loop and dont read it.
     
    nikniknik, Mar 21, 2006 IP