Skip to main content
Inspiring
September 22, 2009
Question

Automating the reading of Metadata using CFHTTP?

  • September 22, 2009
  • 1 reply
  • 535 views

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

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
September 26, 2009
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.