Counting pages on a site

Results 1 to 3 of 3

Thread: Counting pages on a site

  1. #1
    Join Date
    Dec 1969

    Default Counting pages on a site

    Is there a way to count pages on a site? Like write a script which would scan all directories in a site and output a number in reference to the number of .asp, .html, .htm, etc. it finds?<BR><BR>TIA

  2. #2
    KPW Guest

    Default RE: Counting pages on a site

    Yes, this should be possible. There was an article at 4Guys that demonstrated going through directories recursively and finding all files named .mp3. If you can find that article, you should be able to modify it for your purposes.<BR><BR>One problem I ran into, though, was that we use FrontPage (boy, THAT was a bad decision) and the script in the article kept crashing on certain FrontPage directories. Frankly, I finally gave up in ASP and used PHP instead. If you&#039re not using FrontPage, though, I would think you would have no problems.

  3. #3
    kan Guest

    Default RE: Counting pages on a site

    If You Want How many Pages In the Site You Can use Application contents Collection Count Property.You Refer to Apllication Object.You can get help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts