PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/chappellemogulmall.com/wp-content/plugins/wp-automatic/inc/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/chappellemogulmall.com/wp-content/plugins/wp-automatic/inc/atef_full_content.php

<?php
/**
 * Grab full content from feeds knowing the summary text and the full source html
 */
 

class AtefFullContent{

	public  $debug = true;
	
	/**
	 * Remove headers , styles footer and so on
	 * @param unknown $doc
	 */
	function prepareDoc($doc){
		
		// Get body
		$doc = preg_match('{<body.*</body>}s', $doc , $bodyMatchs );
		$docBody = $bodyMatchs[0];
		
		if(trim($docBody) == ''){
			$this->echoDebug('No Body Found ... skiping');
			return false;
		}
		
		// Remove styles and js
		$pattersToStrip = array('{<noscript.*?script>}s','{<script.*?script>}s');
		$docBody = preg_replace($pattersToStrip , '', $docBody);
		
		print_r($docBody);
		
		//  echo $doc;
		
	}
	
	function echoDebug($msg){
		print_r($msg);
	}
	
	
}