Kontakt | Impressum
Zeitspanne



Suchergebnisse () RSS-Feeds abonnieren JS-Code anfordern PHP-Code anfordern  

Feed-Auswahl X
PHP-Code zur Integration X
<?php
$appUrl = "http://www.contentpool.ekir.de/admin/app/CPIAPI/app.php";
$cpArticle = "";
if (key_exists("cpArticle", $_REQUEST)){
$cpArticle = $_REQUEST['cpArticle'];
}
$data = array('feedUrl' => 'http://www.contentpool.ekir.de/admin/app/crawler-search/Rss.php?Data=YToxOntzOjc6IkxpY2VuY2UiO2E6MTp7czo2OiJQdWJsaWMiO3M6MToiMSI7fX0%3D',
'docPath' => '/Pfad/zur/aktuellen/Seite',
'cpArticle' => $cpArticle);
$options = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded
",
'method' => 'POST',
'content' => http_build_query($data),
)
);
$context = stream_context_create($options);
$result = file_get_contents($appUrl, false, $context);
print($result);

?>
Code kopieren
JS-Code zur Integration X
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
var jQuery_1_11_2 = $.noConflict(true);
</script>
<script src="http://www.contentpool.ekir.de/admin/app/CPIAPI/js/cpAppCode.js"></script>
<script src="http://www.contentpool.ekir.de/admin/app/CPIAPI/js/iframeResizer.min.js"></script>
<script type="text/javascript">
jQuery_1_11_2(function(){
var iFrameId = 'CpIframe'+new Date().getTime();
var cpApp = new cp_iframeform('http://www.contentpool.ekir.de/admin/app/CPIAPI/app.php', '#cpcontent', iFrameId);
//Start: Config
cpApp.addParameter('feedUrl', 'http://www.contentpool.ekir.de/admin/app/crawler-search/Rss.php?Data=YToxOntzOjc6IkxpY2VuY2UiO2E6MTp7czo2OiJQdWJsaWMiO3M6MToiMSI7fX0%3D');
cpApp.addParameter('styleRef', 'http://www.beispiel.de/css/custom.css');
//End: Config
cpApp.addParameter('docPath', document.location.href);
cpApp.addParameter('iFrameId', iFrameId);
cpApp.addParameter('cpArticle', getUrlParameter("cpArticle"));
cpApp.send();
});
</script>
<div id="cpcontent"></div>
Code kopieren