Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Alternative to Iframe

  • 11-11-2017 06:31PM
    #1
    Registered Users, Registered Users 2 Posts: 735 ✭✭✭


    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, Registered Users 2 Posts: 7,208 ✭✭✭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, Paid Member Posts: 12,950 Mod ✭✭✭✭igCorcaigh


    You could try webscraping


Advertisement