|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Have a quick glace at my source code?
Hey guys. Can someone simply look at the source code of one of my pages. The designers are outsourced, and I am not so sure that they did a very good job.
They have those goofy directions all throughout the code. For example: "// Now the fun part... animation! This script supports animation plugins you can add to each // menu object you create. Here's two to get you started. To enable animation, add one or // more functions to the menuObject.animations array, and set menuObject.animSpeed to the // desired percentage of animation to be completed per frame." I am sure they have their reasons for doing this, but there is ALOT of it; more then I have seen in the past. Does this sloppy source code have any effect on my SEO efforts? Please let me know.. Much appreciated, as always: www [dot] thebroadwaytheatre [dot] org Last edited by MarkEllison : August 15th, 2006 at 09:55 AM. |
|
#2
|
|||
|
|||
|
Quote:
These are just coding comments. They do not affect SEO or the performance of the script. They are good for future developers who go to modify your script - just makes it easier for them to figure out what it does and how. Ifyou never plan on having the script modified, you can delete them. Or make a backup of the script in a text file if you want to save the original.
__________________
"Live never to be ashamed of what is written about you. Even if what is written is not true" -- Richard Bach Yahoo Store Design |
|
#3
|
|||
|
|||
|
Not disagreeing with brandall ... but I generally try and keeps comments short and sweet. Mostly because page size just inflates with line after line of useless banter in comments and secondly because it also gives valuable info to competitors regarding the features and scripts your running; which makes it easier for them to utilize the same. One minor side note is that is does also affect overall kw density and while it does no harm in Google it can affect Y! and MSN; if your just barely holding on to your serp it can make the diff. from what Ive seen in the last Y! update. I ran some cloaking on Slurp and hid all comments, ajax/javascript from them and watched the site bounce from #10 -> #3 ; I release the cloaking and allowed Slurp to see it again and it bounced back to #10 within a few days. While not the most clinical or scientific approach in my instance it did make a difference. I ended up throwing all the javascript (1 script about 50k in size) into an iframe and the site floated back within 4 days and has held there since. Coincidence? perhaps, but I am not going to tempt fate a third time. For this question specifically with Google though, comment until your blue in the face lol
|
|
#4
|
||||
|
||||
|
KW density is what I was concerned about.. I don't want the SEs thinking my site is about teaching people how to write javascript.
|
|
#5
|
||||
|
||||
|
If you want compress those comments, they won't kill you, they won't hurt KW density, which in fact you shouldn't really worry too much about. Save a set of the comments in another file (the html pages w/ comments) and then delete them entirely if you want.
|
|
#6
|
|||
|
|||
|
i agree with brandall
comments do not affect SEO or script execution |
|
#7
|
||||
|
||||
|
Quote:
too many comments simply increase your website size, so they should be used with that in mind |
|
#8
|
||||
|
||||
|
You could safely strip those out, unless there's something in there that reminds the coder how each line works. You might wanna back those ones up
|
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > Expert SEO advisement please? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|