• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Automating the reading of Metadata using CFHTTP?

Enthusiast ,
Sep 22, 2009 Sep 22, 2009

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

TOPICS
Advanced techniques

Views

481

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 26, 2009 Sep 26, 2009

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation