diff --git a/content/post/2018-02.md b/content/post/2018-02.md index 367208fc5..28d875df7 100644 --- a/content/post/2018-02.md +++ b/content/post/2018-02.md @@ -301,3 +301,17 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds - I seriously doubt this leaking shit is fixed for sure, but I'm gonna cherry-pick all those commits and try them on DSpace Test and probably even CGSpace because I'm fed up with this shit - I cherry-picked all the commits for DS-3551 but it won't build on our current DSpace 5.5! - I sent a message to the dspace-tech mailing list asking why DSpace thinks these connections are busy when PostgreSQL says they are idle + +## 2018-02-11 + +- Magdalena from CCAFS emailed to ask why one of their items has such a weird thumbnail: [10568/90735](https://cgspace.cgiar.org/handle/10568/90735) + +![Weird thumbnail](/cgspace-notes/2018/02/CCAFS_WP_223.pdf.jpg) + +- I downloaded the PDF and manually generated a thumbnail with ImageMagick and it looked better: + +``` +$ convert CCAFS_WP_223.pdf\[0\] -profile /usr/local/share/ghostscript/9.22/iccprofiles/default_cmyk.icc -thumbnail 600x600 -flatten -profile /usr/local/share/ghostscript/9.22/iccprofiles/default_rgb.icc CCAFS_WP_223.jpg +``` + +![Manual thumbnail](/cgspace-notes/2018/02/CCAFS_WP_223.jpg) diff --git a/public/2018-02/index.html b/public/2018-02/index.html index 8368ccc2b..7580b8818 100644 --- a/public/2018-02/index.html +++ b/public/2018-02/index.html @@ -23,7 +23,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl - + @@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl "@type": "BlogPosting", "headline": "February, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-02/", - "wordCount": "2103", + "wordCount": "2147", "datePublished": "2018-02-01T16:28:54+02:00", - "dateModified": "2018-02-08T00:56:53+02:00", + "dateModified": "2018-02-08T01:08:36+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -455,6 +455,23 @@ $ grep 46.229.168 dspace.log.2018-02-07 | grep -o -E 'session_id=[A-Z0-9]{32}' |
$ convert CCAFS_WP_223.pdf\[0\] -profile /usr/local/share/ghostscript/9.22/iccprofiles/default_cmyk.icc -thumbnail 600x600 -flatten -profile /usr/local/share/ghostscript/9.22/iccprofiles/default_rgb.icc CCAFS_WP_223.jpg
+
+
+
+
diff --git a/public/2018/02/CCAFS_WP_223.jpg b/public/2018/02/CCAFS_WP_223.jpg
new file mode 100644
index 000000000..ed48758f8
Binary files /dev/null and b/public/2018/02/CCAFS_WP_223.jpg differ
diff --git a/public/2018/02/CCAFS_WP_223.pdf.jpg b/public/2018/02/CCAFS_WP_223.pdf.jpg
new file mode 100644
index 000000000..f49be90aa
Binary files /dev/null and b/public/2018/02/CCAFS_WP_223.pdf.jpg differ
diff --git a/public/robots.txt b/public/robots.txt
index 12f3bc2f9..86c3f15b8 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -32,7 +32,7 @@ Disallow: /cgspace-notes/2015-12/
Disallow: /cgspace-notes/2015-11/
Disallow: /cgspace-notes/
Disallow: /cgspace-notes/categories/
-Disallow: /cgspace-notes/tags/notes/
Disallow: /cgspace-notes/categories/notes/
+Disallow: /cgspace-notes/tags/notes/
Disallow: /cgspace-notes/post/
Disallow: /cgspace-notes/tags/
diff --git a/public/sitemap.xml b/public/sitemap.xml
index 76a0dfd41..2ba70273d 100644
--- a/public/sitemap.xml
+++ b/public/sitemap.xml
@@ -4,7 +4,7 @@