|
Daily Jesus webmaster widgets
JavaScript (Simple) cut and paste to any html page
<script src='http://www.jesuscentral.com/dj/djjs.php?format=arial|10'></script>
[test]
<div class=signature id=signature> <a target=_blank href='http://www.JesusCentral.com'>Content provided by JesusCentral.com</a></div> <script src='http://www.jesuscentral.com/dj/signature.php'></script> RSS Link
http://www.jesuscentral.com/dj/dj.php
[test]
RSS Reader Link
http://www.jesuscentral.com/dj/djrss.php
[test]
PHP (Simple) [note: fopen must allow http]
<?include'http://www.jesuscentral.com/dj/djrss.php';?>
PHP (Program) [note: curllib must installed]
<?$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.jesuscentral.com/dj/djrss.php"); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($ch); curl_close($ch); echo $data;?> |