PDA

View Full Version : Modifying PHP DIG?


kasper48
03-12-2005, 11:49 PM
Hi,

I am trying to modify PHP-Dig to store data into a file from pages that it spiders. (Code that is in between the HTML tag. (<pre> *. </pre>).)

I am however quite green with PHP and am having trouble even finding where to start.

Any help would be greatly appreciated.

Thanks,
Greg.

Charter
03-15-2005, 09:18 AM
Perhaps try editing the phpdigCleanHtml function in the robot_functions.php file so that $text is set to the contents inside the pre tags, similar to the way $title is set in the function.