Loading ...
Sorry, an error occurred while loading the content.
 

Re: [xenu-usergroup] javascript question

Expand Messages
  • Tilman Hausherr
    ... By telling your CMS to create HTML like this: It works in this page:
    Message 1 of 2 , May 21, 2005
      On Sat, 21 May 2005 12:59:51 -0000, frank visser wrote:

      >hi tilman,
      >
      >scanning this site:
      >
      >http://www.intel.com/espanol/products/
      >
      >xenu seems to be able to parse this line of code:
      >
      ><SCRIPT language="JavaScript" src="geo_int.js"></SCRIPT>
      >
      >which is present in the navbar of a site - so occurs on every page.
      >
      >xenu adds this to the URL of every page, causing a "broken" link:
      >
      >/espanol/products/chipsets/915g/geo_int.js
      >/espanol/products/chipsets/945p/geo_int.js
      >/espanol/products/processor/xeon/geo_int.js
      >etc.
      >
      >in reality, the file named geo_int.js is stored in the root /espanol/
      >folder only.
      >
      >question:
      >
      >- how can i prevent xenu from adding this filename to every URL it
      >scans?

      By telling your CMS to create HTML like this:

      <SCRIPT language="JavaScript" src="/espanol/geo_int.js"></SCRIPT>

      It works in this page:
      http://www.intel.com/espanol/products/processor/index.htm

      >- does xenu "read" these js includes by default?

      Yes. That was a requested feature, to check for script links.

      Tilman

      >
      >for a relative link "images/image.gif" i can imagine it makes sense to
      >add this to the URL the image exists on, but for this URL it leads to
      >errors.
      >
      >tnx,
      >
      >frank
      >
      >
      >
      >
      >
      >
      >
      >Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.