java scripts are represented as broken links
« on: August 03, 2005, 10:40:04 AM »
hi

I used the XML site generator and it "identified" 68 broken links most of which are javascripts that our system creats instead of normal links.
for exmaple the following script:
BuildaGate5/general2/JAVASCRIPT:datacard('','','','82974264','Card1');

this script is basically a link to one of the pages inside our site.

the quesion is whether this is a problem and will google for example will also identify this as broken links?

Shai.
Re: java scripts are represented as broken links
« Reply #1 on: August 03, 2005, 12:00:31 PM »
Hi Shai,

such links will be identified as broken links, because "javascript:" part should reside at the beginning of the link and not in the middle. It is recognized as "link protocol", the same as "mailto:" or "http:".
Re: java scripts are represented as broken links
« Reply #2 on: August 03, 2005, 02:37:23 PM »
Hi,

thank you for your fast reply.
I've identified three types of javascritps that we use in our site:

1. <A href="JAVASCRIPT:datacard('','','','127004577','Card1');" name="" target="_self">.Net Engineer</A>
    This one is being generated automatically once i createl links using the content management system that i
    was provided with. i guesss your recommendation would be to change those scripts to normal links. (i.e.    <a href:"www..........>some text</a>

2. <a href="mailto:partners@coridan.com.">partners@coridan.com</a>
     regulare mailto links
     i dont know if anything can be done about it

3. <a href="JAVASCRIPT:submitsurvey();">
    differet kind of scripts that perform certain ativities. in this case checks if the user entered an answer before presenting him with the survey results.
we have various scripts like this one that verify certain parameters before actually providing a link

i'd love to know what you think about the above.
all three types of scripts were shown in the xml  tool as broken links.

best regards and thank you very much for you help
shai
Re: java scripts are represented as broken links
« Reply #3 on: August 03, 2005, 08:26:32 PM »
Hi,

hmm.. these links just shouldn't be included into sitemap (ignored).
Please PM me the URL of your site so I can check it.
Re: java scripts are represented as broken links
« Reply #4 on: August 03, 2005, 08:56:44 PM »
Hi,

the url of our site is [ External links are visible to forum administrators only ]

note that we have two sites under this domain.
we have a subdomain: mantaray.coridan.com which resides on the same location.

if you need further clarifications regarding the structure of our site, let me know.

thanks again for your assitance,

shai
Re: java scripts are represented as broken links
« Reply #5 on: August 04, 2005, 12:21:29 AM »
Hi shai,

I see, the were not excluded (and treated as brolen links) because they appear in UPPERCASE. This small problem is solved at online generator, but you still have few bad links at your site:
email links should begin with "mailto:"
you have a typo: "htpp" instead of "http"
Re: java scripts are represented as broken links
« Reply #6 on: August 04, 2005, 12:00:35 PM »
I wish I knew your name so I could write "Hi xxxxx...."

anyhow, thank you very much for your help.
I rerun the online tool and now every thing is o.k.

i would be very happy if you can advise me on one other issue.

as i've already written, under [ External links are visible to forum administrators only ] we have two web sites.
the online tool maps them both becouse all the pages of both the sites start with [ External links are visible to forum administrators only ].........

how do i inform google that i have two sites here?
the other url is [ External links are visible to forum administrators only ] which directs to one of the pages in the server.

thank you in advance,
shai 
Re: java scripts are represented as broken links
« Reply #7 on: August 04, 2005, 02:39:59 PM »
Great shai,

you should create two sitemaps and submit each of them. Please note that ONLY the urls that start with the same domain name can be included in sitemap. So, if one of your sites links to another one, the pages from the last will not be included.

See you,
Oleg :)
Re: java scripts are represented as broken links
« Reply #8 on: August 04, 2005, 02:54:20 PM »
Hi Oleg,

both sites url start with [ External links are visible to forum administrators only ]......
do you know a way how can i create two different site maps?

shai
Re: java scripts are represented as broken links
« Reply #9 on: August 06, 2005, 01:23:16 AM »
Hi Shai,

I just checked the second site that you posted and found out that it uses pages with "mantaray.coridan.com" domain. So, this is not a problem, enter as the starting URL:
http://www.coridan.com/ for the first site
http://mantaray.coridan.com/ for the second site
Re: java scripts are represented as broken links
« Reply #10 on: August 07, 2005, 01:18:46 PM »
thanks,

i will try it to see what it generates.
Re: java scripts are represented as broken links
« Reply #11 on: August 10, 2005, 09:51:34 AM »
Hi Oleg,

The tool know works perfectly for my site, thanks
The url that we use has '&' symbols and sessionID which, I know, shouldnt be sent to google.
are you familiar with a tool that can create well formed url from given url.

thanks,
Shai
Re: java scripts are represented as broken links
« Reply #12 on: August 10, 2005, 06:16:04 PM »
Hi Shai,

the generator creates a well-formed URLs in a sitemap file that google will parse successfully.