biulljca60
czarodziej/czarownica
Dołączył: 11 Lut 2011
Posty: 449
Przeczytał: 0 tematów
Ostrzeżeń: 0/3 Skąd: England Płeć: Kobieta
|
Wysłany: Pią 2:18, 18 Mar 2011 Temat postu: mac makeup wholesale deconcept A modern approach t |
|
The best way to add Flash progressively is by using Javascript, or more specifically, a script like FlashObject. First you lay out your page as if you aren't using Flash. If you are using a database for your content, you can spit out that data as HTML where the Flash movie will go on the page (or maybe just a preview of the content, it's up to you to show Google the content you would like indexed). Then you use FlashObject to replace this content only if the user has Javascript enabled and the required Flash plugin version.
Progressive enhancement is a method of web development that goes hand in hand with Web Standards. You start with your HTML (your content), then add CSS (your look and feel), then add in additional behavior (Javascript, Ajax, Flash, any other interactivity that isn't handled automatically by the browser).
A modern approach to Flash SEO
You've got your good thing,mac make up SEO Agency Organic Search Engine Optim, and I've got mine
deconcept
Here's a small example of what that might look like:
As stated before, if you are building Flash sites professionally, you probably move all your content out of your Flash movie and into an XML file or keep it in a database. This makes it much easier to allow Google to index this content by using progressive enhancement.
Search engine optimization is one of the most popular subjects when nerds sit around and talk about Flash. / p>
It doesn't matter.
Note: In this article I use the 'Google' name often, but it can be interchanged with any search engine, as they all work roughly the same way.
Behavior is generally added using Javascript. Maybe you want a new window to open set to a certain size, or you want to use some fancy Ajax to let users rate something without refreshing the page. This should all be added unobtrusively, and if the browser doesn't support Javascript, it will hopefully still work. Unfortunately,mac cosmetics wholesale Wordpress SEO The Only Gui, not everyone considers this, and these days Javascript is becoming more and more of a requirement to use most websites. So you should always provide some sort of alternative for non -Javascript users. When it comes to indexing behavior, Google will for the most part not index your Javascript files. Even if it did, most web users would have no idea what the. js file they are looking at actually does. When using Javascript to change your document, Google will not read the 'final' page, but only the raw HTML file. Google does not render Javascript 1.
Now that you know all of this, it's time to look at how to treat your Flash content. Since we've determined we don't want Google to index our swf files, but we do want it to index the content displayed inside them, what is the best way to go about this?
Style is added using CSS. Generally when you add images to your HTML that are purely presentational (no text or required content in them) you should add them in using CSS. In most cases you don't want Google to index them because people don't search the web for 'top left rounded corner gif. analysis because of this.
That brings up the question: the content from their Flash movies and load it in using Flash remoting or XML files. That leaves us with style and behavior.
This causes Google to skip the Flash swf files and only index the HTML (the content,[link widoczny dla zalogowanych]!) you place on the page. You can place links to other pages, images, whatever you want Google to index, and when a viewer with a browser that supports Flash visits your site, they will then see the Flash content. This gives you full control and much greater predictability over what content Google will index. And if your content is pulled from a database that is editor controlled,mac make up discount SEO UK Search Engine Optimisa, your pages will update and be re-indexed as the content changes without the need to re-publish all your swf files.
1 Currently Google does not render the Javascript on a page, but there are rumors that they are developing a new crawler based on Firefox (they employ a number of Mozilla foundation members) that will index pages based on how the browser sees them , instead of the raw HTML content. This means HTML hidden by CSS may not be indexed, and pages that are altered by Javascript after they load will be indexed how they appear to the user. However, this is all rumors and until it happens Google will ignore your Javascript content.
To understand this answer, you need to understand what Flash is. And to do that, you need to understand modern web development philosophy. First off, you need to embrace web standards. Semantic markup and separating content from style and behavior is the only way you should be building your sites. Many web standardistas have been recommending this method of web development for years, and rightly so. However, this post isn't the place to go into the whys of this type of development, so I 'll skip that part and just say this about how it's done: There are three areas of front-end web development: Content, Style, and Behavior. You should always keep these three things separated as much as possible.
Post został pochwalony 0 razy
|
|