Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 19th, 2007, 07:05 PM
linarator linarator is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 60 linarator User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 26 sec
Reputation Power: 5
Does google include...

Hello everyone,

I've tried searching for this on google, maybe I'm just not using the right words... but maybe someone here can help? :]

I am trying to find out if google includes/indexes HTML written into the page using javascript's writeIn function.

For example, here is the code I would use to embed my HTML:

Code:
<script type="text/javascript" src="[URL to a PHP file off site which generates the javascript.]">
</script>


And here is what the included URL.php's output would look like:

Code:
document.writeln('[HTML goes here.]')


Basically the idea is I can update the PHP file dynamically off site and the HTML is automatically updated on all sites using the <script> code.

If google does not include/index this sort of thing, is there some alternative using javascript? Or am I forced to use an <iframe></iframe> or PHP's file_get_contents()?

Please let me know if I've made anything unclear.

Thanks in advance!

Regards,
linarator

Reply With Quote
  #2  
Old October 19th, 2007, 07:06 PM
stymiee's Avatar
stymiee stymiee is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 219 stymiee User rank is Sergeant Major (2000 - 5000 Reputation Level)stymiee User rank is Sergeant Major (2000 - 5000 Reputation Level)stymiee User rank is Sergeant Major (2000 - 5000 Reputation Level)stymiee User rank is Sergeant Major (2000 - 5000 Reputation Level)stymiee User rank is Sergeant Major (2000 - 5000 Reputation Level)stymiee User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 20 h 15 m 53 sec
Reputation Power: 48
Google does not read javascript especially if it is in an external file.

Reply With Quote
  #3  
Old October 19th, 2007, 07:24 PM
linarator linarator is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 60 linarator User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 26 sec
Reputation Power: 5
Quote:
Originally Posted by stymiee
Google does not read javascript especially if it is in an external file.


Okay dokay. Thank you, good sir.

Reply With Quote
  #4  
Old October 19th, 2007, 08:33 PM
linarator linarator is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 60 linarator User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 26 sec
Reputation Power: 5
Actually,

Would the embedded content with an <embed> tag be included in googles indexing directly? Would it even bother to go and crawl the <embed>ed URL?

What about the <object> tag?

Thanks for the help, really appreciate it!

Have a good one,
linarator

Reply With Quote
  #5  
Old October 23rd, 2007, 01:55 AM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 393 Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level)Catacaustic User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 30 m 38 sec
Reputation Power: 54
I don't believe that it will.

If it wasn't for the returned value being Javascript, I'd say you should use a server-side language to include it. Unfortunately because it's Javascript that's being returned, it won't ever be seen.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Does google include...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT