November 9th, 2001, 12:02 PM
Read META Tags using VBScript
Originally posted by : Read META Tags using VBScript (firstname.lastname@example.org)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!
November 12th, 2001, 03:32 AM
Originally posted by : Praveen (email@example.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