• Welcome to Sitemap Generator Forum.
 

java scripts are represented as broken links

Started by Shai, August 03, 2005, 10:40:04 AM

Previous topic - Next topic

Shai

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.

XML-Sitemaps Support

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:".

Shai

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

XML-Sitemaps Support

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.

Shai

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: [ External links are visible to forum administrators only ] 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

XML-Sitemaps Support

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"

Shai

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 

XML-Sitemaps Support

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 :)

Shai

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

XML-Sitemaps Support

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:
[ External links are visible to logged in users only ] for the first site
[ External links are visible to logged in users only ] for the second site

Shai

thanks,

i will try it to see what it generates.

Shai

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