From 5ac1d88cbf99bb2dfcedd0187e916f30808eacba Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 17 May 2018 18:11:18 +0300 Subject: [PATCH] Update notes for 2018-05-17 --- content/posts/2018-05.md | 5 +++++ docs/2018-05/index.html | 11 ++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/content/posts/2018-05.md b/content/posts/2018-05.md index dba84c7d3..dfe3beb24 100644 --- a/content/posts/2018-05.md +++ b/content/posts/2018-05.md @@ -287,3 +287,8 @@ ga('send', 'pageview', { - And actually I'm not entirely sure about the order of filtering before tokenizing, etc... - Ah, I see that `charFilter` must be before the tokenizer because it works on a stream, whereas `filter` operates on tokenized input so it must come after the tokenizer - Regarding the use of the `charFilter` vs the `filter` class before and after the tokenizer, respectively, I think it's better to use the `charFilter` to normalize the input stream before tokenizing it as I have no idea what kinda stuff might get removed by the tokenizer +- Skype with Geoffrey from IITA in Nairobi who wants to deposit records to CGSpace via the REST API but I told him that this skips the submission workflows and because we cannot guarantee the data quality we would not allow anyone to use it this way +- I finished making the XMLUI changes for anonymization of IP addresses in Google Analytics and merged the changes to the `5_x-prod` branch ([#375](https://github.com/ilri/DSpace/pull/375) +- Also, I think we might be able to implement [opt-out functionality for Google Analytics using a window property](https://developers.google.com/analytics/devguides/collection/analyticsjs/user-opt-out) that could be managed by [storing its status in a cookie](https://webgilde.com/en/analytics-opt-out/) +- This cookie could be set by a user clicking a link in a privacy policy, for example +- The additional Javascript could be easily added to our existing `googleAnalytics` template in each XMLUI theme diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index 54f530186..e00b121b9 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -27,7 +27,7 @@ Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked - + @@ -65,9 +65,9 @@ Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked "@type": "BlogPosting", "headline": "May, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-05/", - "wordCount": "2313", + "wordCount": "2444", "datePublished": "2018-05-01T16:43:54+03:00", - "dateModified": "2018-05-17T12:37:21+03:00", + "dateModified": "2018-05-17T13:14:29+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -470,6 +470,11 @@ $ ./bin/post -c countries ~/src/git/DSpace/2018-05-10-countries.csv
  • And actually I’m not entirely sure about the order of filtering before tokenizing, etc…
  • Ah, I see that charFilter must be before the tokenizer because it works on a stream, whereas filter operates on tokenized input so it must come after the tokenizer
  • Regarding the use of the charFilter vs the filter class before and after the tokenizer, respectively, I think it’s better to use the charFilter to normalize the input stream before tokenizing it as I have no idea what kinda stuff might get removed by the tokenizer
  • +
  • Skype with Geoffrey from IITA in Nairobi who wants to deposit records to CGSpace via the REST API but I told him that this skips the submission workflows and because we cannot guarantee the data quality we would not allow anyone to use it this way
  • +
  • I finished making the XMLUI changes for anonymization of IP addresses in Google Analytics and merged the changes to the 5_x-prod branch (#375
  • +
  • Also, I think we might be able to implement opt-out functionality for Google Analytics using a window property that could be managed by storing its status in a cookie
  • +
  • This cookie could be set by a user clicking a link in a privacy policy, for example
  • +
  • The additional Javascript could be easily added to our existing googleAnalytics template in each XMLUI theme
  • diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 5011ef0cc..8b6e612d2 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-05/ - 2018-05-17T12:37:21+03:00 + 2018-05-17T13:14:29+03:00 @@ -164,7 +164,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-05-17T12:37:21+03:00 + 2018-05-17T13:14:29+03:00 0 @@ -175,7 +175,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-05-17T12:37:21+03:00 + 2018-05-17T13:14:29+03:00 0 @@ -187,13 +187,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-05-17T12:37:21+03:00 + 2018-05-17T13:14:29+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-05-17T12:37:21+03:00 + 2018-05-17T13:14:29+03:00 0