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

Include fragments of html files from another website into a coldfusion web page on CF8 or CF10

Explorer ,
May 27, 2013 May 27, 2013

Hi

Is there way to include fragments of html files from external website/domain into a coldfusion web page. Currently, we run CF8 version but, if required upgrade to CF10.

Thank you in advance

497
Translate
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
Engaged ,
May 28, 2013 May 28, 2013
LATEST

You could use <cfhttp> to do a request to that other website, getting its content into a string that you can then output to your page.  Unless you're calling some sort of API which only returns exactly the information you need, you'll probably have to parse the string to get just the part of that site that you want.

http://www.learncfinaweek.com/week1/CFHTTP/

http://www.quackit.com/coldfusion/tutorial/coldfusion_http.cfm

Translate
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