#1
  1. No Profile Picture
    Steve Schofield
    Guest
    ASP Mastermind (5000+ posts)

    Read META Tags using VBScript


    Originally posted by : Read META Tags using VBScript (bjuurlink@hotmail.com)Hey...I'm just working on a website and can't seem to find any code that would allow me to read the meta description from a html file. I'm trying to make a website that reads the files in a directory on the server...displays them as links, along with a description. Can anybody help me out? It would be very much appreciated. Thank you!
  2. #2
  3. No Profile Picture
    Steve Schofield
    Guest
    ASP Mastermind (5000+ posts)
    Originally posted by : Praveen (bppraveen001@lycos.com)Hi bjuurlink, Yes you can do this by using FileSystemObject. Get the file and read the content of each file and load that into one temperary variable then search for "meta" keyword by using instr(), if present then read the content of that tag by suing left(), right() or mid() and store that in a variable.Hope this may solve your problemHappy ProgrammingPraveen

Similar Threads

  1. Retrieving Meta tags
    By Encrypt in forum ASP Development
    Replies: 0
    Last Post: January 27th, 2004, 01:32 PM
  2. how do I take .asp doc and remove all tags
    By shamrog12 in forum ASP Development
    Replies: 3
    Last Post: November 28th, 2003, 03:26 PM
  3. VBScript and listbox
    By wzhao in forum ASP Development
    Replies: 1
    Last Post: October 17th, 2003, 05:18 PM
  4. unique meta tags??
    By Steve Schofield in forum ASP Development
    Replies: 2
    Last Post: May 28th, 2002, 10:43 PM
  5. How to read doc,rtf file using VB (Without using MS word object)
    By Steve Schofield in forum ASP Development
    Replies: 0
    Last Post: March 1st, 2001, 01:44 AM

IMN logo majestic logo threadwatch logo seochat tools logo