I have two website one is in drupal 7 the other in rails.
Is it possible to have one page from the rails app to be embedded in a drupal 7 node? The page have a graph and search form.

  • 2
    You can iframe it.
    – Kevin
    Oct 19, 2017 at 17:47
  • yes, iframe is one way of doing it but i were looking for something , different.
    – mamesaye
    Oct 19, 2017 at 20:17

1 Answer 1


An iFrame is the only option that doesn't involve huge amounts of work.

I guess if you really wanted to you you could write an API for the rails app that Drupal could consume and recreate the content off this data.

Technically you could get Drupal to scrape the HTML (file_get_contents or curl) of the ruby app and then cache this locally and embed in the node. This doesn't seem like a good idea as is inefficient and you may have problems with the search action and cache flushing mechanisms.

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.