Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Alternative to Iframe

Options
  • 11-11-2017 7:31pm
    #1
    Registered Users Posts: 734 ✭✭✭


    Hey All
    I am trying to embed http://www.neworleansrestaurants.com/map into a site I have via Iframe.

    However this site does not load when published. I have read elsewhere that some sites have restricted their sites being embedded in Iframes.

    I have tested the same iframe code with another site and it works fine.

    Is there an alternative?
    Tagged:


Comments

  • Registered Users Posts: 6,064 ✭✭✭Talisman


    curl -I http://www.neworleansrestaurants.com/map
    HTTP/1.1 200 OK
    Date: Sat, 11 Nov 2017 19:17:37 GMT
    Server: Apache
    Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
    X-Frame-Options: SAMEORIGIN
    X-Content-Type-Options: nosniff
    Cache-Control: max-age=0, no-cache
    Content-Type: text/html; charset=utf-8
    

    The setting for the X-Frame-Options header means that only a page on the neworleansrestaurants.com domain can embed the content.


  • Moderators, Recreation & Hobbies Moderators Posts: 11,159 Mod ✭✭✭✭igCorcaigh


    You could try webscraping


Advertisement