Solved

Add Site Search to an all-Flash site

Posted on 2008-10-14
7
337 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This video teaches users how to migrate an existing Wordpress website to a new domain.

760 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

18 Experts available now in Live!

Get 1:1 Help Now