PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!

  Author Author  
Picture of Sarfraz Ahmed
Name: Sarfraz Ahmed <contact>
Classes: 3 packages by
Country: Pakistan Pakistan


  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 (2)  >  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
 
  Groups   Screenshots Screenshots   Applications   Related pages   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  
screenshot
File Role Description
Accessible without login Image file screenshot Screen htmlSaveComplete


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.


  Related pages  
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 folder image Files  /  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.