PDA

View Full Version : SEO - HTML genarated by FlashPublish/alternative HTML


tapies
02-07-2010, 04:33 PM
Hello,

please could you help me with the following? I am new in the land of SEO.
I would need to work it out.

I have an index.html generated with Flash CS4 + my own alt.html as an alternative HTML content with links to some more alt HTMLs.
How should I modify index.html for search engine crawlers indexing?
Or what should I do so that alt.html would be noticed by search engine crawlers?


So far I have added this in the index.html:
<!DOCTYPE HTML SYSTEM>
<meta name="keywords" content=" .....key words......" />
inserted alt.html link here:
<noscript>
Go to
<a href="http://www.myweb.com/alt-my-web.html">Alternative Content</a>
</noscript>
Will search engine crawlers notice the alt-my-web.html?



HTML validator also reports these errors in the generated index.html:
- Line 174, Column 21: end tag for element "OBJECT" which is not open
str += '</object>';
- Line 183, Column 22: end tag for element "EMBED" which is not open
str += '> </embed>';
How to deal with?



Any suggestions concerning SEO/Flash are welcome!

Thanks a lot.


P.S. People in my country mostly use a local search engine that can't index swf files.

adninjastrator
02-08-2010, 02:02 PM
Skip the <object> & <embed> code that is generated by Flash, it's not valid code anyway. Instead use something like swfobject to place your Flash on the page. This gives you the opportunity to place alternate content right there on that page. So if a viewer doesn't have Flash installed, the Flash content will be invisible to them. They will see the other "Alternate content". This content can be text, images, links... all the stuff that you need to get the message of your page across.
If the viewer does have Flash, the Flash content will replace the alt content in the viewers browser. No need to make up extra or other pages and try to work out redirects, etc.
The good part is that all the "alt content" is just regular html content and is index by search engine. While this alt content is often only used to direct the viewer to the Adobe site and download Flash, it can be put to much better use by creating meaningful html content for SEO purposes.
Here's an example:
http://www.cidigitalmedia.com/video.html
View the page source code and scroll down to Alternate Content. The html text you see there gives details about all the video available on the page. Invisible to viewers with Flash but great for letting search engines know what each video is about.
For more info on swfobject:
http://code.google.com/p/swfobject/
Best wishes,
Adninjastrator

tapies
02-08-2010, 04:00 PM
Thank you very much for the material you sent me, I will study that and I may come with some more questions later, if you don't mind.
Thanks a lot once again!

tapies
02-10-2010, 07:08 PM
The swfobject is great, I really thank you very much!

Swfobject 1.5 seems to work fine. With 2.2 in Firefox 3.5.6 and in IE6 there only alternative content was displayed, not the swf. Any idea why? Should I expect some IE7, 8 trouble?
Thanks a lot, best regards.

Here is my swfobject test:
http://www.nweb.euweb.cz/TEST/testSWFObject.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TEST SWFObject</title>
<link href="mystyle.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>

<script type="text/javascript" src="swfobject.js"></script>

<!-- -->
<div id="flashcontent">
<div class="classDivA" id="DivA">
<h1>Alternativní HTML obsah</h1>
</div>
</div>
<!-- -->

<script type="text/javascript">
var so = new SWFObject("test.swf", "mymovie", "100%", "100%", "10", "#FFFFFF");
so.write("flashcontent");
</script>

</body>
</html>

adninjastrator
02-10-2010, 09:32 PM
It's working fine for me in IE7, FF 3.5, and Safari 4.0
Adninjastrator