Add notes for 2016-10-27

This commit is contained in:
Alan Orth 2016-10-27 09:35:31 +03:00
parent 3639434f47
commit c0abb63d30
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
9 changed files with 162 additions and 75 deletions

View File

@ -158,37 +158,52 @@ dspace=# select text_value from metadatavalue where resource_type_id in (3,4) an
```
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://www.ilri.org/images/Iconrss2.png"/>','<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://www.ilri.org/images/Iconrss2.png"/>%';
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://www.ilri.org/images/email.jpg"/>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://www.ilri.org/images/email.jpg"/>%';
UPDATE 17
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="http://www.ilri.org/images/Iconrss2.png"/>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="http://www.ilri.org/images/Iconrss2.png"/>%';
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="http://www.ilri.org/images/email.jpg"/>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="http://www.ilri.org/images/email.jpg"/>%';
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="http://www.ilri.org/images/Iconrss2.png"></img>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="http://www.ilri.org/images/Iconrss2.png"></img>%';
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="http://www.ilri.org/images/email.jpg"></img>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="http://www.ilri.org/images/email.jpg"></img>%';
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://ilri.org/images/Iconrss2.png"></img>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://ilri.org/images/Iconrss2.png"></img>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://ilri.org/images/email.jpg"></img>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://ilri.org/images/email.jpg"></img>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://www.ilri.org/images/Iconrss2.png"></img>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://www.ilri.org/images/Iconrss2.png"></img>%';
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://www.ilri.org/images/email.jpg"></img>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://www.ilri.org/images/email.jpg"></img>%';
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://ilri.org/images/Iconrss2.png"/>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://ilri.org/images/Iconrss2.png"/>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img align="left" src="https://ilri.org/images/email.jpg"/>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img align="left" src="https://ilri.org/images/email.jpg"/>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img valign="center" align="left" src="https://www.ilri.org/images/Iconrss2.png"/>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img valign="center" align="left" src="https://www.ilri.org/images/Iconrss2.png"/>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img valign="center" align="left" src="https://www.ilri.org/images/email.jpg"/>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img valign="center" align="left" src="https://www.ilri.org/images/email.jpg"/>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img valign="center" align="left" src="http://www.ilri.org/images/Iconrss2.png"/>', '<span class="fa fa-rss fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img valign="center" align="left" src="http://www.ilri.org/images/Iconrss2.png"/>%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '<img valign="center" align="left" src="http://www.ilri.org/images/email.jpg"/>', '<span class="fa fa-at fa-2x" aria-hidden="true"></span>') where resource_type_id in (3,4) and text_value like '%<img valign="center" align="left" src="http://www.ilri.org/images/email.jpg"/>%';
UPDATE 1
```
- Getting rid of these reduces the number of network requests each client makes on community/collection pages, and makes use of Font Awesome icons (which they are already loading anyways!)
- And now that I start looking, I want to fix a bunch of links to popular sites that should be using HTTPS, like Twitter, Facebook, Google, Feed Burner, DOI, etc
- I should look to see if any of those domains is sending an HTTP 301 or setting HSTS headers to their HTTPS domains, then just replace them
## 2016-10-27
- Run Font Awesome fixes on DSpace Test:
```
dspace=# \i /tmp/font-awesome-text-replace.sql
UPDATE 17
UPDATE 17
UPDATE 3
UPDATE 3
UPDATE 30
UPDATE 30
UPDATE 1
UPDATE 1
UPDATE 7
UPDATE 7
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 0
```
- Looks much better now:
![CGSpace with old icons](2016/10/cgspace-icons.png)
![DSpace Test with Font Awesome icons](2016/10/dspacetest-fontawesome-icons.png)

View File

@ -290,35 +290,20 @@ $ git rebase -i dspace-5.5</p></li>
<pre><code>dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/Iconrss2.png&quot;/&gt;','&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/Iconrss2.png&quot;/&gt;%';
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/email.jpg&quot;/&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/email.jpg&quot;/&gt;%';
UPDATE 17
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/Iconrss2.png&quot;/&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/Iconrss2.png&quot;/&gt;%';
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/email.jpg&quot;/&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/email.jpg&quot;/&gt;%';
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/Iconrss2.png&quot;&gt;&lt;/img&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/Iconrss2.png&quot;&gt;&lt;/img&gt;%';
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/email.jpg&quot;&gt;&lt;/img&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;http://www.ilri.org/images/email.jpg&quot;&gt;&lt;/img&gt;%';
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/Iconrss2.png&quot;&gt;&lt;/img&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/Iconrss2.png&quot;&gt;&lt;/img&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/email.jpg&quot;&gt;&lt;/img&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/email.jpg&quot;&gt;&lt;/img&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/Iconrss2.png&quot;&gt;&lt;/img&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/Iconrss2.png&quot;&gt;&lt;/img&gt;%';
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/email.jpg&quot;&gt;&lt;/img&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://www.ilri.org/images/email.jpg&quot;&gt;&lt;/img&gt;%';
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/Iconrss2.png&quot;/&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/Iconrss2.png&quot;/&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/email.jpg&quot;/&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img align=&quot;left&quot; src=&quot;https://ilri.org/images/email.jpg&quot;/&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;https://www.ilri.org/images/Iconrss2.png&quot;/&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;https://www.ilri.org/images/Iconrss2.png&quot;/&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;https://www.ilri.org/images/email.jpg&quot;/&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;https://www.ilri.org/images/email.jpg&quot;/&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;http://www.ilri.org/images/Iconrss2.png&quot;/&gt;', '&lt;span class=&quot;fa fa-rss fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;http://www.ilri.org/images/Iconrss2.png&quot;/&gt;%';
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, '&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;http://www.ilri.org/images/email.jpg&quot;/&gt;', '&lt;span class=&quot;fa fa-at fa-2x&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;') where resource_type_id in (3,4) and text_value like '%&lt;img valign=&quot;center&quot; align=&quot;left&quot; src=&quot;http://www.ilri.org/images/email.jpg&quot;/&gt;%';
UPDATE 1
</code></pre>
<ul>
@ -327,6 +312,39 @@ UPDATE 1
<li>I should look to see if any of those domains is sending an HTTP 301 or setting HSTS headers to their HTTPS domains, then just replace them</li>
</ul>
<h2 id="2016-10-27">2016-10-27</h2>
<ul>
<li>Run Font Awesome fixes on DSpace Test:</li>
</ul>
<pre><code>dspace=# \i /tmp/font-awesome-text-replace.sql
UPDATE 17
UPDATE 17
UPDATE 3
UPDATE 3
UPDATE 30
UPDATE 30
UPDATE 1
UPDATE 1
UPDATE 7
UPDATE 7
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 0
</code></pre>
<ul>
<li>Looks much better now:</li>
</ul>
<p><img src="2016/10/cgspace-icons.png" alt="CGSpace with old icons" />
<img src="2016/10/dspacetest-fontawesome-icons.png" alt="DSpace Test with Font Awesome icons" /></p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

View File

@ -217,35 +217,20 @@ $ git rebase -i dspace-5.5&lt;/p&gt;&lt;/li&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;,&#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 17
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
@ -253,6 +238,39 @@ UPDATE 1
&lt;li&gt;And now that I start looking, I want to fix a bunch of links to popular sites that should be using HTTPS, like Twitter, Facebook, Google, Feed Burner, DOI, etc&lt;/li&gt;
&lt;li&gt;I should look to see if any of those domains is sending an HTTP 301 or setting HSTS headers to their HTTPS domains, then just replace them&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-10-27&#34;&gt;2016-10-27&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run Font Awesome fixes on DSpace Test:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# \i /tmp/font-awesome-text-replace.sql
UPDATE 17
UPDATE 17
UPDATE 3
UPDATE 3
UPDATE 30
UPDATE 30
UPDATE 1
UPDATE 1
UPDATE 7
UPDATE 7
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 0
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Looks much better now:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;2016/10/cgspace-icons.png&#34; alt=&#34;CGSpace with old icons&#34; /&gt;
&lt;img src=&#34;2016/10/dspacetest-fontawesome-icons.png&#34; alt=&#34;DSpace Test with Font Awesome icons&#34; /&gt;&lt;/p&gt;
</description>
</item>

View File

@ -217,35 +217,20 @@ $ git rebase -i dspace-5.5&lt;/p&gt;&lt;/li&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;,&#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 17
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
@ -253,6 +238,39 @@ UPDATE 1
&lt;li&gt;And now that I start looking, I want to fix a bunch of links to popular sites that should be using HTTPS, like Twitter, Facebook, Google, Feed Burner, DOI, etc&lt;/li&gt;
&lt;li&gt;I should look to see if any of those domains is sending an HTTP 301 or setting HSTS headers to their HTTPS domains, then just replace them&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-10-27&#34;&gt;2016-10-27&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run Font Awesome fixes on DSpace Test:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# \i /tmp/font-awesome-text-replace.sql
UPDATE 17
UPDATE 17
UPDATE 3
UPDATE 3
UPDATE 30
UPDATE 30
UPDATE 1
UPDATE 1
UPDATE 7
UPDATE 7
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 0
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Looks much better now:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;2016/10/cgspace-icons.png&#34; alt=&#34;CGSpace with old icons&#34; /&gt;
&lt;img src=&#34;2016/10/dspacetest-fontawesome-icons.png&#34; alt=&#34;DSpace Test with Font Awesome icons&#34; /&gt;&lt;/p&gt;
</description>
</item>

View File

@ -216,35 +216,20 @@ $ git rebase -i dspace-5.5&lt;/p&gt;&lt;/li&gt;
&lt;pre&gt;&lt;code&gt;dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;,&#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 17
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 3
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 29
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;&amp;gt;&amp;lt;/img&amp;gt;%&#39;;
UPDATE 7
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img align=&amp;quot;left&amp;quot; src=&amp;quot;https://ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;https://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-rss fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/Iconrss2.png&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
dspace=# update metadatavalue set text_value = regexp_replace(text_value, &#39;&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;&#39;, &#39;&amp;lt;span class=&amp;quot;fa fa-at fa-2x&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#39;) where resource_type_id in (3,4) and text_value like &#39;%&amp;lt;img valign=&amp;quot;center&amp;quot; align=&amp;quot;left&amp;quot; src=&amp;quot;http://www.ilri.org/images/email.jpg&amp;quot;/&amp;gt;%&#39;;
UPDATE 1
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
@ -252,6 +237,39 @@ UPDATE 1
&lt;li&gt;And now that I start looking, I want to fix a bunch of links to popular sites that should be using HTTPS, like Twitter, Facebook, Google, Feed Burner, DOI, etc&lt;/li&gt;
&lt;li&gt;I should look to see if any of those domains is sending an HTTP 301 or setting HSTS headers to their HTTPS domains, then just replace them&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2016-10-27&#34;&gt;2016-10-27&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Run Font Awesome fixes on DSpace Test:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;dspace=# \i /tmp/font-awesome-text-replace.sql
UPDATE 17
UPDATE 17
UPDATE 3
UPDATE 3
UPDATE 30
UPDATE 30
UPDATE 1
UPDATE 1
UPDATE 7
UPDATE 7
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 0
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Looks much better now:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;2016/10/cgspace-icons.png&#34; alt=&#34;CGSpace with old icons&#34; /&gt;
&lt;img src=&#34;2016/10/dspacetest-fontawesome-icons.png&#34; alt=&#34;DSpace Test with Font Awesome icons&#34; /&gt;&lt;/p&gt;
</description>
</item>

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB