diff --git a/content/posts/2019-03.md b/content/posts/2019-03.md index 5f0d8cfc9..28738375b 100644 --- a/content/posts/2019-03.md +++ b/content/posts/2019-03.md @@ -98,4 +98,27 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/dc-subject.x - I need to follow up on the privacy page that Sisay worked on - We want to try to migrate the 600 [Livestock CRP blog posts](https://livestock.cgiar.org) to CGSpace, Peter will try to export the XML from WordPress so I can try to parse it with a script +## 2019-03-09 + +- I shared a post on Yammer informing our editors to try to AGROVOC controlled list +- The SPDX legal committee had a meeting and discussed the addition of CC-BY-ND-3.0-IGO and other IGO licenses to their list, but it seems unlikely ([spdx/license-list-XML/issues/767](https://github.com/spdx/license-list-XML/issues/767#issuecomment-470709673)) +- The FireOak report highlights the fact that several CGSpace collections have mixed-content errors due to the use of HTTP links in the Feedburner forms +- I see 46 occurrences of these with this query: + +``` +dspace=# SELECT text_value FROM metadatavalue WHERE resource_type_id in (3,4) AND (text_value LIKE '%http://feedburner.%' OR text_value LIKE '%http://feeds.feedburner.%'); +``` + +- I can replace these globally using the following SQL: + +``` +dspace=# UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://feedburner.','https//feedburner.', 'g') WHERE resource_type_id in (3,4) AND text_value LIKE '%http://feedburner.%'; +UPDATE 43 +dspace=# UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://feeds.feedburner.','https//feeds.feedburner.', 'g') WHERE resource_type_id in (3,4) AND text_value LIKE '%http://feeds.feedburner.%'; +UPDATE 44 +``` + +- I ran the corrections on CGSpace and DSpace Test + + diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index e2241933a..f29f45b9e 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - + @@ -55,9 +55,9 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca "@type": "BlogPosting", "headline": "March, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-03/", - "wordCount": "844", + "wordCount": "991", "datePublished": "2019-03-01T12:16:30+01:00", - "dateModified": "2019-03-08T13:56:34+02:00", + "dateModified": "2019-03-08T14:41:01+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -249,6 +249,32 @@ $ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/dc-subject.x +

2019-03-09

+ + + +
dspace=# SELECT text_value FROM metadatavalue WHERE resource_type_id in (3,4) AND (text_value LIKE '%http://feedburner.%' OR text_value LIKE '%http://feeds.feedburner.%');
+
+ + + +
dspace=# UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://feedburner.','https//feedburner.', 'g') WHERE resource_type_id in (3,4) AND text_value LIKE '%http://feedburner.%';
+UPDATE 43
+dspace=# UPDATE metadatavalue SET text_value = REGEXP_REPLACE(text_value, 'http://feeds.feedburner.','https//feeds.feedburner.', 'g') WHERE resource_type_id in (3,4) AND text_value LIKE '%http://feeds.feedburner.%';
+UPDATE 44
+
+ + + diff --git a/docs/robots.txt b/docs/robots.txt index 2b88ae317..9c8f41429 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -45,7 +45,7 @@ Disallow: /cgspace-notes/2015-12/ Disallow: /cgspace-notes/2015-11/ Disallow: /cgspace-notes/ Disallow: /cgspace-notes/categories/ -Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/tags/notes/ +Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/posts/ Disallow: /cgspace-notes/tags/ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 9cd172d47..49f05995c 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-03/ - 2019-03-08T13:56:34+02:00 + 2019-03-08T14:41:01+02:00 @@ -214,7 +214,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-03-08T13:56:34+02:00 + 2019-03-08T14:41:01+02:00 0 @@ -223,27 +223,27 @@ 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2019-03-08T14:41:01+02:00 + 0 + + https://alanorth.github.io/cgspace-notes/categories/notes/ 2018-03-09T22:10:33+02:00 0 - - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-03-08T13:56:34+02:00 - 0 - - https://alanorth.github.io/cgspace-notes/posts/ - 2019-03-08T13:56:34+02:00 + 2019-03-08T14:41:01+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-03-08T13:56:34+02:00 + 2019-03-08T14:41:01+02:00 0