Solved

SWFAddress & SWFObject alternate content

Posted on 2009-04-13
7
1,118 Views
Last Modified: 2013-11-11
Hi,
 
i have used SWFAddress and SWFObject in my flash site.
 
I did just like the example, using one HTML file which contains the SWFObject that has alternate content.
 
 
SWFAddress works as expected and changes the title and url.
 
 
the problem is I need this site to be "good" for SEO and PPC, therefor I need to be able to display alternate HTML based content to spiders.
 
I need to have multiple HTML files that spiders can visit and count, I need to be able to target the html version from PPC ads directly to a specific page (content).
 
the current situation is that I have one alternative content (SWFObject) and one big SWF file controled by SWFAddress with deep link capabilities
 
what is the recommended method to have multiple HTML files, with alternative content while still using SWFObject and SWFAddress ?
 
 
thanks
<div id="content">
            <p>In order to view this page you need JavaScript and Flash Player 8+ support!</p>
        </div>
        <script type="text/javascript">
        // <![CDATA[
            var so = new SWFObject('c.swf', 'c', '1008', '570', '8', '#000000');
            so.useExpressInstall('swfobject/expressinstall.swf');
            so.addParam('menu', 'false');
            so.write('content');
        // ]]>
        </script>

Open in new window

0
Comment
Question by:moshem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 24141401
You define your alternate content just in your <div id="content">.

For spiders this is all the content they see. So if you want to have multiple htmls with alternative flash content, you can use the same page framework with different content in the content div.
0
 
LVL 1

Author Comment

by:moshem
ID: 24142349
Yes, thats the straightforward and ugly way...and may I say manual.

but what bothers me the most is that these html pages links (URL) will be different from the one normal users will see (flash content).

that means my site will violate google's guidelines... on showing different links and content to users and spiders...
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 24144889
The url changing is the basic downside of using swf address or any flash history manager, or even flash for that matter.

Depending on your serverside language the content management can be manual and ugly, or automatically and easy.
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 1

Author Comment

by:moshem
ID: 24145197
what do you mean automatic ? I am using ASP (not .NET)

is there a way to make the html URLs and Flash inner URLs to be the same ?
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 24145400
I assume Google will not discredit you for having asppage.asp?xml and asppage.asp?html will they?
0
 
LVL 1

Author Comment

by:moshem
ID: 24145440
Roonaan,

can you please elaborate on that a little ?
0
 
LVL 49

Accepted Solution

by:
Roonaan earned 500 total points
ID: 24145542
Well, in your flash you can dynamically load content from the same asp script file that holds the alternative content.

So you create a .asp or .aspx file which outputs flash-targetted xml when you call it with asppage.asp?xml and plain html otherwise.

Then in your alternative content you can use plain links to the different asp files, while the flash uses the same content, but just loaded as xml.

You could even have a single asp page which you call like

asp.aspx?section=123
asp.aspx?section=456
While your flash uses
asp.aspx?section=123&mode=xml
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question