Login   Register  
PHP Classes
elePHPant
Icontem

PHP Save Complete HTML Page: Save HTML pages complete with images, CSS and JS

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Sarfraz Ahmed
Name: Sarfraz Ahmed <e-mail contact>
Packages: 3 Browse all classes by Sarfraz Ahmed Browse all classes by
Country: Pakistan Pakistan - PHP jobs in Pakistan
Age: 29
All time rank: 8369 in Pakistan Pakistan
Week rank: 214 Up5 in Pakistan Pakistan Up


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can save HTML pages complete with images, CSS and JavaScript.

It takes the URL of a given page and retrieves it to store in a given file.

The class can parse the HTML and determine which images, CSS and JavaScript files it needs, so those files are also downloaded and saved inside the HTML page saved to a local file.

Optionally it can skip the JavaScript code, keep only the page content, and compress the resulting page removing the whitespace.

  Classes of Sarfraz Ahmed  >  PHP Save Complete HTML Page  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Save Complete HTML Page
Base name: save-complete-html
Description: Save HTML pages complete with images, CSS and JS
Version: 1.00
PHP version: 5.2
License: Freeware
All time users: 882 users
All time rank: 3641
Week users: 8 users
Week rank: 198 Up
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes

  Files folder image Screenshots  
htmlSaveComplete
File Role Description
Accessible without login Image file screenshot Screen htmlSaveComplete


  Freshmeat project  
Project record: php-save-complete-html-page
Popularity score: 34.45
Vitality score: 13.26

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
http://kschottie.staff.hostgator.com PHP Save Complete HTML Page is a class that downloads and saves HTML pages, complete with images, CSS, and JavaScript. It can optionally skip the JavaScript code, keep only the page content, and compress the resulting page by removing whitespace.
Sarfraz Ahmed's Blog Save Complete HTML Pages with Pure PHP

  Files folder image Files  
File Role Description
Files folder imageincludes (3 files)
Accessible without login Plain text file index.php Aux. index.php
Accessible without login HTML file output.html Example output.html
Accessible without login Plain text file saveCompletePage.php Example saveCompletePage.php

  Files  /  Files folder image includes  
File Role Description
  Plain text file content_extractor.php Class content_extractor.php
  Plain text file htmlSaveComplete.php Class htmlSaveComplete.php
  Accessible without login Plain text file url_to_absolute.php Aux. url_to_absolute.php

Install with Composer Install with Composer - Download Download all files: save-complete-html.tar.gz save-complete-html.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.