Copy link to clipboard
Copied
Does anybody have any simple ways of spidering a site to read it's metadata? In particular the keywords?
(I can't use custom tags as I'm using a godaddy shared server)
I guess it would be a CFHTTP GET then some code to loop over the recovered HTML?
Maybe somebody out there has already written a routine?
Thanks
Mark
Copy link to clipboard
Copied
I guess it would be a CFHTTP GET then some code to loop over the recovered HTML?
I think so too.
Maybe somebody out there has already written a routine?
I would do it as above. Use CFHTTP GET and, treating the result as a string, use an appropriate Coldfusion function to search for the keyword meta tag.
It should take just a few lines of code. If you get stuck, bring the code to the forum.