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