Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarfraznawaz2005/save-complete-html
This class can save HTML pages complete with images, CSS and JavaScript.
https://github.com/sarfraznawaz2005/save-complete-html
Last synced: 16 days ago
JSON representation
This class can save HTML pages complete with images, CSS and JavaScript.
- Host: GitHub
- URL: https://github.com/sarfraznawaz2005/save-complete-html
- Owner: sarfraznawaz2005
- Created: 2014-08-17T10:01:54.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-17T10:04:03.000Z (about 10 years ago)
- Last Synced: 2024-10-11T20:14:28.778Z (about 1 month ago)
- Language: PHP
- Size: 168 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Save Complete HTML Page
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.