weblicate 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +12 -1
- data/Rakefile +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
|
@@ -6,7 +6,7 @@ Weblicate creates a copy of a web page, complete with third party assets, to be
|
|
|
6
6
|
When given a HAR file, weblicate writes all assets to local disk. It appends a domain to the end of all
|
|
7
7
|
URLs so you can simulate external requests from sites like doubleclick and google.
|
|
8
8
|
|
|
9
|
-
HAR
|
|
9
|
+
HAR (HTTP Archive) files are a great way to pass around information about web pages. Firebug lets you export them.
|
|
10
10
|
|
|
11
11
|
== Installation
|
|
12
12
|
|
|
@@ -20,6 +20,17 @@ Running the following command:
|
|
|
20
20
|
|
|
21
21
|
weblicate www.cnn.com.har
|
|
22
22
|
|
|
23
|
+
Results in the following response:
|
|
24
|
+
|
|
25
|
+
Now run these commands...
|
|
26
|
+
|
|
27
|
+
rsync -avz www.cnn.com-files/ localhost:/var/www/weblicate/www.cnn.com/
|
|
28
|
+
scp www.cnn.com-vhosts localhost:/etc/apache2/sites-enabled/
|
|
29
|
+
cat www.cnn.com-hosts >> /etc/hosts # For access from workstation
|
|
30
|
+
|
|
31
|
+
OPTIONAL - if you want access from the wider internet
|
|
32
|
+
sh www.cnn.com-dns # Create domains on Slicehost
|
|
33
|
+
|
|
23
34
|
generates the following output:
|
|
24
35
|
|
|
25
36
|
www.cnn.com-files # All files and assets for the page
|
data/Rakefile
CHANGED
|
@@ -5,7 +5,7 @@ begin
|
|
|
5
5
|
require 'jeweler'
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
|
7
7
|
gem.name = "weblicate"
|
|
8
|
-
gem.version = '0.0.
|
|
8
|
+
gem.version = '0.0.6'
|
|
9
9
|
gem.summary = %Q{Replicate a website}
|
|
10
10
|
gem.description = %Q{Replicate a website based on a HAR file}
|
|
11
11
|
gem.email = "mike@bailey.net.au"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: weblicate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.0.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mike Bailey
|