From 8e9d3aef1e1cb6c6cf92419312f9717b459df2ff Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 8 Sep 2015 12:03:56 -0700 Subject: [PATCH 1/3] last changes for archiving --- views/permanent_web.erb | 2 +- views/site.erb | 2 -- views/site/archives.erb | 8 +++++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/views/permanent_web.erb b/views/permanent_web.erb index 45d518c5..f44f47bb 100644 --- a/views/permanent_web.erb +++ b/views/permanent_web.erb @@ -13,7 +13,7 @@

- This is still very early stage technology, so if you don't understand what this stuff is, don't worry about it for now. But if you'd like to read more about why we're interested in this new technology, please see our blog post on the topic. + This is still very early stage technology, so if you don't understand what this stuff is, don't worry about it for now. But if you'd like to read more about why we're interested in this new technology, please see our blog post on the topic.

diff --git a/views/site.erb b/views/site.erb index 89167300..b1008b7f 100644 --- a/views/site.erb +++ b/views/site.erb @@ -38,11 +38,9 @@ Edit Site <% end %> - <% if current_site && current_site != site %> <% is_following = current_site.is_following?(site) %> diff --git a/views/site/archives.erb b/views/site/archives.erb index a42e91f4..ffd2de4f 100644 --- a/views/site/archives.erb +++ b/views/site/archives.erb @@ -23,7 +23,13 @@

- Note: This is a very early preview release of a new technology! We're still figuring things out. We may stop hosting archives without notice. Learn how you can host your own copies of these archives. + This is a very early, experimental preview release of a new technology! We're still figuring things out. We may stop hosting archives without notice. Learn how you can host your own copies of these archives. +

+

+ Archives are captured once every 24 hours, so if you don't see your latest changes, check back later. +

+

+ The URLs are using hshca, a standard for using cryptographic hashes with subdomains.

<% end %> From 310dac87ab33a8d0e7a2080bcf54646bb2a1069b Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 8 Sep 2015 12:27:40 -0700 Subject: [PATCH 2/3] show ipfs link on site profile --- views/site.erb | 2 -- 1 file changed, 2 deletions(-) diff --git a/views/site.erb b/views/site.erb index b1008b7f..b5de419f 100644 --- a/views/site.erb +++ b/views/site.erb @@ -21,11 +21,9 @@

<%= site.title %> <% if site.supporter? %> <% end %>

<%= site.host %>

-
<%= site.views.format_large_number %> view<%= site.views == 1 ? '' : 's' %>
<% follows_count = site.follows_dataset.count %> From e271c2c802f12324956442f0538987429a73da38 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 8 Sep 2015 12:31:17 -0700 Subject: [PATCH 3/3] show ipfs hash on link --- views/site.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/site.erb b/views/site.erb index b5de419f..53c7bfcf 100644 --- a/views/site.erb +++ b/views/site.erb @@ -22,7 +22,7 @@

<%= site.title %> <% if site.supporter? %> <% end %>

<%= site.host %>

<% if site.latest_archive %> -

IPFS Link(what is this?)

+

<%= site.latest_archive.ipfs_hash %>(what is this?)

<% end %>
<%= site.views.format_large_number %> view<%= site.views == 1 ? '' : 's' %>