I want to be able to have widgets with Drupal content to be embedded in other websites. For example a widget could show "new stories" or "top stories".
closed as unclear what you're asking by kiamlaluno♦ Jul 20 at 17:27
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
To avoid having to use an iframe (and because Drupal is moving more and more toward using APIs) I would recommend looking into the Content API module. It is still being developed, but it does allow any content on your site to be made into an import-friendly format for use with any other site/program.
Using Views is another option, but that depends on your ability to create and parse feeds with all the data you need, whereas the API method should do that for you.
Take a look at the Aggregator module, which is part of Drupal core.
A detailed explanation on how to embed an iframe can be found here: http://drupal.org/node/650612#comment-2336864
Associates website and copied their link to put their store Amazon store in an iframe.
<iframe src="http://www.charlottefabrics.com" width="100%" height="4000" frameborder="0" scrolling="no"></iframe>
It was really very simple: I copied their link and went to my website, and created a new page. (make sure your wysiwyg editor is turned off before pasting) I then pasted the link into the body area and changed the link to the Iframe src Also, since many of the searches from the Charlotte fabrics website can return many choices, I changed the scrolling to "yes".
Here is what I pasted into the blank body text:
<iframe src="http://www.charlottefabrics.com" width="100%" height="4000" frameborder="0" scrolling="yes"></iframe>
Note: I set the Input Format to "Full Html". Also, If you have the Wysiwyg editor enabled by default, I'd recommend that you change it so that the Wysiwyg is NOT enabled by default. Because the Wysiwyg will delete the link each time it is enable.
For our applications/sites we use the Colorbox module to display iframes. Works like a charm
Use the Entity Iframe module. This allows any node to be an iframe, and it even provides the embed code for all nodes.
You'll need to create a new theme that you want to use for the iframe, probably the same as your main theme but then remove all headers, footers, sidebars, etc.
Another possible solution: use the splashify module and create a "splash" page for the node you need to be in an iframe.