I have content that I would like to share with other websites.
I am currently doing this through an iframe:
<iframe width="540"; height="700" frameborder="0" src="http://www.energiekostencalculator.nl/forms/frame_tabs.php?first=yes&product=1&links=1&css=http://www.energiekostencalculator.nl/forms/susteen.css"></iframe>
This has two problems.
- This is not SEO. Links to the contents of frames are not considered incoming links, as they are hosted on my server.
- It is (on my server anyway) impossible to associate external CSS styles with iframe content. The goal is for other websites to easily link their stylesheet to my content.
Who has a solution to these problems? Perhaps using jquery (see below), but I'm not sure that Google will analyze it and โseeโ the links ...
<html>
<head>
<script src="/js/jquery.js" type="text/javascript">
</head>
<body>
<div id='include-from-outside'></div>
<script type='text/javascript'>
$('#include-from-outside').load('http://example.com/included.html');
</script>
</body>
</html>
source
share