Page Ripper: Retrieve and alter remote Web pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 1,290 All time: 2,958 This week: 416Up
Version License Categories
pageripper 1.0.0BSD LicenseHTML, Web services
Description Author

This class can be used to retrieve and alter remote Web pages.

It can retrieve HTML pages from remote sites and extract parts of the HTML data and optionally replace with new values.

Name: ben <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: 50
All time rank: 93727 in The Netherlands The Netherlands
Week rank: 611 Up12 in The Netherlands The Netherlands Up

Details
10-10-2006 9:48
 De Bron Digital Solution (http://www.dbds.nl)
Ben Heesen (b.heesen@dbds.nl)


README

Simple pagerip class in php. With cURL you pick up a specific part of a page. With extra possibilities like improve code beginning and ending,
replacement of pieces of code or picking up page content after submitting a form (like e.g. login form)



Simpele pagerip class in php. Met curl haal je een bepaald gedeelte van een pagina op.
Met extra mogelijkheden zoals het verbeteren van de code aan het begin en het eind, het vervangen van stukken code en het ophalen van een pagina na het versturen van een formulier (bv een inlog formulier).




SYNTAX:
#Simple
# require("pageripper.class.php");
# $pr = new PageRip();
# echo $pr->getChunk($url,$start,$end,$repair_start,$repair_end,$error_msg);

#entended
# require("pageripper.class.php");
# $pr = new PageRip();
# echo $pr->getChunkandReplace($url,$start,$end,$repair_start,$repair_end,$error_msg,$str_rep_1,$str_rep_1_with,$str_rep_2,$str_rep_2_with,$str_rep3,$str_rep_3_with);


# example
# require('class.pagerip.php');
# $pr = new PageRip();
# $url = 'http://www.phpclasses.org';
# $start = '';
# $end = 'Help FAQ';
# $error_msg = 'failed to rip page';
# $ripped_piece = $pr->getChunkandReplace($url,$start,$end,$repair_start,$repair_end,$error_msg);
# echo $ripped_piece;



For more information Visit
http://www.dbds.nl/blog/?cat=5

  Files folder image Files  
File Role Description
Plain text file pageripper.class.php Class pagerip with cURL
Accessible without login Plain text file README.TXT Doc. README

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,290
This week:0
All time:2,958
This week:416Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:41%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2048
  

For more information send a message to info at phpclasses dot org.