is there a way to show content from an external URL (e.g. from GitHub) in a page?
I was using PHP code but because of security reasons I would prefer to use a module instead.
$c = curl_init(); curl_setopt($c, CURLOPT_URL, "https://raw.githubusercontent.com/foo/bar/master/file1.txt"); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); echo htmlspecialchars(curl_exec($c)); curl_close($c);
I am looking to something similar to https://www.drupal.org/project/url_embed but without WYSIWYG. I just need to add some tags with the URL in the appropriate place on the page to display it.