Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsSearch Engine StrategiesSearch 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 SEO Chat Forums Sponsor:
  #1  
Old August 3rd, 2004, 10:20 AM
Jasber Jasber is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Raleigh, North Carolina
Posts: 11 Jasber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 8 m 25 sec
Reputation Power: 0
Send a message via AIM to Jasber Send a message via MSN to Jasber
External Javascript Links

Hey everyone.

What I'm wanting to learn a little more about is a link in an external javascript file.

The reason I'm asking is I created a form for a site of mine which allows users to rate (You can see it by going to http://www.accordingtobrad.com/ and looking on the right - the BlogCatalog rate box) a certain page.

I spent lots of time going through how I wanted to do this, unfortunately I seemed to have totally overlooked the idea of external links in javascript.

Basically a page would containe <script language="JavaScript" src="http://www.blogcatalog.com/rate-button.js.php?id=1"></script>

http://www.blogcatalog.com/rate-button.js.php?id=1 as you can see contains quite a few lines of code

My first question is do links in the external javascript file, IE:

document.write('<a href="http://www.blogcatalog.com" style="font-size: 0;">');
document.write('<img src="http://www.blogcatalog.com/form-button.php?id=1" style="border: 0;" alt="BlogCatalog - The Ultimate Blog Directory" />');
document.write('</a>');

Count towards PR? In addition to PR would the other popular engines be able to crawl this?

If not (I don't believe so but I've gotten mixed answers by looking at old posts on this board) what have other people done in situations like this.

The reason why I don't want to just move the HTML onto the users actual page (I want to keep it external) is because
- There are quite a few lines of code and I'm not sure people would want to paste all that into their site
- If I keep it in an external JS file I can always update it as I need to

I can't put it in a PHP file and have users file()/file_get_contents()/etc.. because not everyone has PHP available to them.

Like I said I did do a search but most the posts I found were related to users wanting to keep PR from passing, I want to do the opposite.

Any thoughts on the situation would really help.

Thanks,
Brad

Reply With Quote
  #2  
Old August 3rd, 2004, 12:12 PM
Jasber Jasber is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Raleigh, North Carolina
Posts: 11 Jasber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 8 m 25 sec
Reputation Power: 0
Send a message via AIM to Jasber Send a message via MSN to Jasber
What I ended up doing was using <noscript> tags. This seems to work fairly well.

Reply With Quote
  #3  
Old August 8th, 2004, 11:37 PM
amitbhawnani amitbhawnani is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: India
Posts: 352 amitbhawnani User rank is Lance Corporal (50 - 100 Reputation Level)amitbhawnani User rank is Lance Corporal (50 - 100 Reputation Level)amitbhawnani User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 21 h 49 m 25 sec
Reputation Power: 6
Send a message via MSN to amitbhawnani
Quote:
Originally Posted by Jasber
My first question is do links in the external javascript file, IE:

document.write('<a href="http://www.blogcatalog.com" style="font-size: 0;">');
document.write('<img src="http://www.blogcatalog.com/form-button.php?id=1" style="border: 0;" alt="BlogCatalog - The Ultimate Blog Directory" />');
document.write('</a>');

Count towards PR? In addition to PR would the other popular engines be able to crawl this?


Even if the javascript link was embedded in the html file it woudnt count ;-)
Using the <noscript> tag is the way to go...
__________________
Search Engine Optimization
Spider Simulator, Duplicate Content Checker
Build Backlinks, 301 Redirect

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization > External Javascript Links


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 5 hosted by Hostway
Stay green...Green IT