Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/telamon/stonecurse
Embeds all resources of a webpage into a single HTML file.
https://github.com/telamon/stonecurse
Last synced: about 1 month ago
JSON representation
Embeds all resources of a webpage into a single HTML file.
- Host: GitHub
- URL: https://github.com/telamon/stonecurse
- Owner: telamon
- Created: 2011-05-22T14:53:35.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-22T15:08:54.000Z (over 13 years ago)
- Last Synced: 2024-04-29T22:21:55.763Z (8 months ago)
- Language: Ruby
- Size: 89.8 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Stone Curse
-----------This class takes an URL as input and inlines all references to
javascripts, stylesheets and images into the html.usage:
> File.open('goog.html', 'w'){ |f|
> f.write Stonecurse.new("http://google.com").petrify
> }I came up with this idea when I was about to fall asleep but
I have to confess that I have no idea what to use this class for.
Maybe you can figure it out.