Solved

Add Site Search to an all-Flash site

Posted on 2008-10-14
7
338 Views
Last Modified: 2013-12-09
Is there a reliable way to add a Site Search feature to an all-Flash site?

I've heard that Google can read SWF files now, but I haven't seen any good evidence. (And it apparently has problems with SWFs within SWFs, and with SWFs loaded by Javascript, so that won't work for me...).

I've seen suggestions about adding duplicate text content in the HTML page, but commenting it out - but again, I haven't seen any testimonials that will work as well as a "standard" HTML search (and it really need to). That's about the most promising thing I've seen, though.

Any suggestions?
0
Comment
Question by:slovisa
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Tiggerito
ID: 22720905
I woudn't use the trick of commented out content. Its a well known way for keyword spamming and could get you banned.

If your going to duplicate the website do it for real and let search engines and limited users view an html only version of the website.

The best sounding solution I've seen is to create the content in html and use javascript to replace that with the flash object. Its debatable that this will be classed as a trick by the search engines.

Don't forget to include a good title and meta data to your file. This will be your best chance for providing the keywords you wish to score well in.
0
 
LVL 4

Author Comment

by:slovisa
ID: 22722962
Hi Tiggerito. Thanks for your help.

When you say use javascript to replace the HTML content, do you mean redirect the HTML-only page to the "real" Flash page, or cover up the HTML with Flash over the top, or...? Sounds interesting, although it makes me realize there's also going to be a problem with deep-linking to the Flash content...

SEO actually isn't a concern for this site, it just needs to be fully searchable by users.

The other solution I'm contemplating is drawing in dynamic text from a DB, and using the DB for searching. Seems like that could work, although I've never tried something like that before.
0
 
LVL 23

Expert Comment

by:Tiggerito
ID: 22726861
If the website is searchable, then you will need to be able to deep-link into the flash to where any search result matched. Maybe have your database text associated witha url that links to inside the flash.

The javascript idea is to use the same html page but replace its content dynamically with the flash tag. This way, javascript/flash free users get a nice html page, and the rest (most if us) get the flashy stuff.

The issue with having seperate html and flash versions of a website is that search engines will mainly direct users to the html versions. You would have to thing of a nice way to switch back to flash without anoying search engines or visitors.



0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 4

Author Comment

by:slovisa
ID: 22726940
I like the content-swap idea. Can you direct me to an example script that does that?

What if I just put my content in a <div> and set the visibility to hidden? Do you think a site's search function would have any trouble with that? And would the search engines have a problem with that? (Would it looking like keyword spamming, or other undesirable activity)?
0
 
LVL 23

Accepted Solution

by:
Tiggerito earned 500 total points
ID: 22728295
Its always a worry that search engines may think you are spamming when doing this sort of thing.

I would hope, if your intensions are good, you will not get black listed. So, if you provide an html version of the content for people without flash. Thats you been nice.

Here's a good article talking about this...

http://www.hochmanconsultants.com/articles/seo-friendly-flash.shtml 
0
 
LVL 4

Author Comment

by:slovisa
ID: 22731288
That makes total sense (duh), as I'm already using SWFObject to embed the Flash files. I'll simply add the content to the alternate div, along with the Flash message. Sometimes the obvious is so elusive when you're over-thinking a problem. Thank you!
0
 
LVL 4

Author Closing Comment

by:slovisa
ID: 31506175
Great advice - thanks.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now