commonmeta-ruby 3.3.16 → 3.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -29
  3. data/bin/commonmeta +1 -1
  4. data/lib/commonmeta/cli.rb +7 -0
  5. data/lib/commonmeta/readers/json_feed_reader.rb +5 -6
  6. data/lib/commonmeta/utils.rb +18 -2
  7. data/lib/commonmeta/version.rb +1 -1
  8. data/spec/cli_spec.rb +1 -1
  9. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/blog_post_with_non-url_id.yml +18 -88
  10. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/blogger_post.yml +11 -50
  11. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_author_name_suffix.yml +64 -173
  12. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_doi.yml +13 -75
  13. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_institutional_author.yml +15 -11
  14. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_organizational_author.yml +15 -46
  15. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_without_doi.yml +17 -155
  16. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/jekyll_post.yml +14 -45
  17. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/jekyll_post_with_anonymous_author.yml +13 -16
  18. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/substack_post_with_broken_reference.yml +938 -1865
  19. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/syldavia_gazette_post_with_references.yml +128 -267
  20. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/upstream_post_with_references.yml +570 -1279
  21. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post.yml +12 -119
  22. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post_with_many_references.yml +4095 -5759
  23. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post_with_references.yml +24 -220
  24. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post_with_tracking_code_on_url.yml +13 -12
  25. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_anonymous_author.yml +13 -16
  26. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_doi.yml +12 -119
  27. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_organizational_author.yml +15 -46
  28. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_upstream_blog.yml +13 -201
  29. data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_with_references.yml +104 -813
  30. data/spec/readers/json_feed_reader_spec.rb +19 -21
  31. data/spec/utils_spec.rb +40 -0
  32. data/spec/writers/crossref_xml_writer_spec.rb +4 -4
  33. metadata +2 -2
@@ -13,6 +13,52 @@ http_interactions:
13
13
  - rogue-scholar.org
14
14
  User-Agent:
15
15
  - http.rb/5.1.1
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: Not Found
20
+ headers:
21
+ Age:
22
+ - '0'
23
+ Cache-Control:
24
+ - public, max-age=0, must-revalidate
25
+ Content-Length:
26
+ - '28'
27
+ Content-Type:
28
+ - application/json; charset=utf-8
29
+ Date:
30
+ - Mon, 10 Jul 2023 21:04:46 GMT
31
+ Etag:
32
+ - '"jtxxi9yf69s"'
33
+ Server:
34
+ - Vercel
35
+ Strict-Transport-Security:
36
+ - max-age=63072000
37
+ X-Matched-Path:
38
+ - "/api/posts/[[...params]]"
39
+ X-Vercel-Cache:
40
+ - MISS
41
+ X-Vercel-Id:
42
+ - fra1::iad1::bkz2t-1689023085834-cfabfa78ce26
43
+ Connection:
44
+ - close
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"message":"Post not found"}'
48
+ recorded_at: Mon, 10 Jul 2023 21:04:46 GMT
49
+ - request:
50
+ method: get
51
+ uri: https://rogue-scholar.org/api/posts/153d65e1-f0e4-49a6-a969-33d2129800ba
52
+ body:
53
+ encoding: UTF-8
54
+ string: ''
55
+ headers:
56
+ Connection:
57
+ - close
58
+ Host:
59
+ - rogue-scholar.org
60
+ User-Agent:
61
+ - http.rb/5.1.1
16
62
  response:
17
63
  status:
18
64
  code: 200
@@ -23,193 +69,38 @@ http_interactions:
23
69
  Cache-Control:
24
70
  - public, max-age=0, must-revalidate
25
71
  Content-Length:
26
- - '14782'
72
+ - '1692'
27
73
  Content-Type:
28
74
  - application/json; charset=utf-8
29
75
  Date:
30
- - Sun, 18 Jun 2023 15:23:53 GMT
76
+ - Tue, 11 Jul 2023 05:58:11 GMT
31
77
  Etag:
32
- - '"wzh4e4jhaxbem"'
78
+ - '"z7ox1e74871b0"'
33
79
  Server:
34
80
  - Vercel
35
81
  Strict-Transport-Security:
36
82
  - max-age=63072000
37
83
  X-Matched-Path:
38
- - "/api/posts/[slug]"
84
+ - "/api/posts/[[...params]]"
39
85
  X-Vercel-Cache:
40
86
  - MISS
41
87
  X-Vercel-Id:
42
- - fra1::iad1::r4svw-1687101833448-3467c5c4b7d4
88
+ - fra1::iad1::kz72z-1689055090778-9a199d4a33af
43
89
  Connection:
44
90
  - close
45
91
  body:
46
92
  encoding: UTF-8
47
- string: '{"id":"https://doi.org/10.59350/ytvy2-59450","uuid":"6179ad80-cc7f-4904-9260-0ecb3c3a90ba","url":"https://www.ideasurg.pub/academic-powerhouse/","title":"How
48
- to Build an Academic Powerhouse: Let''s Study Who''s Doing it","summary":"A
49
- Data Exploration with Public Data from the Academic Surgical Congress","date_published":"2023-06-03T04:54:30Z","date_modified":null,"date_indexed":"2023-06-16T14:13:56.969774+00:00","authors":[{"url":null,"name":"Tejas
50
- S. Sathe, MD"}],"image":null,"content_html":"<p>Students and residents aspiring
51
- for a career in academic surgery are looking for training programs that will
52
- help jumpstart their careers by exposing them to mentorship and opportunities
53
- to conduct research. While the gold standard of academic productivity (for
54
- the time being) remains peer-reviewed publications, conference presentations
55
- are an important secondary metric. In addition to feeding eventual papers,
56
- conference talks allow trainees to practice presentation skills, build their
57
- networks, and learn about the work being done at peer institutions and the
58
- field more broadly. Residents pursuing professional development are encouraged
59
- to apply to and attend conferences, though in the post COVID era the cost
60
- of conference attendance and travel are being re-evaluated. Even moreso than
61
- publications, conference presentations are typically led by students and residents.
62
- For now, academic conference participation can serve as an important albeit
63
- limited metric to evaluate an overall institution''s research power &#x2013;
64
- especially as it relates to trainees.</p><p>In order to understand how to
65
- build a successful research program, we wanted to understand who had already
66
- done so. Conceivably, by finding successful examples, we can conduct interviews
67
- and focus groups among key stakeholders at these programs to understand what
68
- they did, and how these actions can be replicated. We were particularly interested
69
- in seeing which programs demonstrated a high number of accepted abstracts
70
- and which programs were able to improve their abstract performance from year
71
- to year. </p><p>The <a href=\"https://www.academicsurgicalcongress.org/?ref=ideasurg.pub\">Academic
72
- Surgical Congress</a> (ASC) is a joint surgical meeting co-hosted by the <a
73
- href=\"https://www.aasurg.org/?ref=ideasurg.pub\">Association for Academic
74
- Surgery</a> (AAS) and the <a href=\"https://www.susweb.org/?ref=ideasurg.pub\">Society
75
- for University Surgeons</a> (SUS) and held annually in February. Anecdotally,
76
- it is a popular conference for students and residents to attend. The ASC maintains
77
- a public archive of all abstracts dating from 2015-2020. We obtained a machine
78
- readable version of this public database through the webmaster (this version
79
- of the data spans 2016 to 2023).</p><p>For each abstract, we looked at the
80
- year and primary institution at which the work was conducted. In order to
81
- intuit the primary institution, we searched the institution block string for
82
- the first presence of \"university\", \"hospital\", \"institute\", or \"medical
83
- center\" or the first expression to occur before a comma. This method was
84
- chosen as institutions&#x2019; names are written variably (Department of Surgery,
85
- University Hospital, New York, NY vs. University Hospital, Division of Colorectal
86
- Surgery, Department of Surgery, New York, NY). Unfortunately, our code is
87
- unable to merge slight variations in the resultant institution name (University
88
- of Michigan vs. University of Michigan Ann Arbor). </p><p>In order to do a
89
- primary survey of institutional trends in this dataset, we conducted the following
90
- analyses. First, we measured the number of abstracts accepted each year from
91
- 2016 to 2023. Second, we looked at the number of accepted abstracts by institution
92
- over the entire study period. Then, we looked at the number of abstract institutions
93
- by institution and year to study changes in institutional trends over time.
94
- Finally, we did a subset analysis on post-COVID data (2021 to 2023) to look
95
- at absolute and per cent year-over-year changes in accepted abstracts to see
96
- which institutions were able to significantly increase their abstract performance
97
- in one year. </p><h3 id=\"accepted-abstracts-are-increasing-but-down-from-peak\">Accepted
98
- Abstracts are increasing but down from peak</h3><p>We plotted the total number
99
- of abstracts accepted by year. The number of accepted abstracts increased
100
- from 1125 in 2016 to an all-time high of 1742 in 2020 before declining to
101
- 922 and 848 in 2021 and 2022, respectively. Accepted abstracts have since
102
- rebounded to 1469 in 2023, or roughly 84% of the maximum amount. Of note,
103
- the 2021 and 2022 meetings were held virtually due to the COVID-19 pandemic.
104
- Conversely the 2020 meeting was held immediately prior to the institution
105
- of lockdowns and other social distancing policies.</p><figure class=\"kg-card
106
- kg-image-card kg-width-wide\"><img src=\"https://www.ideasurg.pub/content/images/2023/06/newplot--1-.png\"
107
- class=\"kg-image\" alt loading=\"lazy\" width=\"1400\" height=\"800\" srcset=\"https://www.ideasurg.pub/content/images/size/w600/2023/06/newplot--1-.png
108
- 600w, https://www.ideasurg.pub/content/images/size/w1000/2023/06/newplot--1-.png
109
- 1000w, https://www.ideasurg.pub/content/images/2023/06/newplot--1-.png 1400w\"
110
- sizes=\"(min-width: 1200px) 1200px\"></figure><h3 id=\"alabama-michigan-lead-abstract-acceptances-during-study-period\">Alabama,
111
- Michigan lead abstract acceptances during study period</h3><p>Next, we plotted
112
- the total number of accepted abstracts by institution. The graph shows data
113
- for the twenty leading institutions. The University of Alabama and the University
114
- of Michigan lead in abstract acceptances during the study period (477 and
115
- 348, respectively). Given an eight year time-range, the top twenty institutions
116
- reflect an average annual abstract acceptance ranging from roughly thirteen
117
- to 60.</p><figure class=\"kg-card kg-image-card kg-width-wide\"><img src=\"https://www.ideasurg.pub/content/images/2023/06/newplot--2-.png\"
118
- class=\"kg-image\" alt loading=\"lazy\" width=\"1400\" height=\"800\" srcset=\"https://www.ideasurg.pub/content/images/size/w600/2023/06/newplot--2-.png
119
- 600w, https://www.ideasurg.pub/content/images/size/w1000/2023/06/newplot--2-.png
120
- 1000w, https://www.ideasurg.pub/content/images/2023/06/newplot--2-.png 1400w\"
121
- sizes=\"(min-width: 1200px) 1200px\"></figure><p>We also plotted the number
122
- of accepted abstracts by year using a separate line plot for each individual.
123
- While Michigan has maintained between 30 and 60 abstracts for each year, Alabama
124
- went from 6 to 48 abstracts between 2016 and 2017 and has maintained greater
125
- than 60 accepted abstracts each year. There is a notable dip in the number
126
- of accepted abstracts from 2021 to 2022, consistent with a similar trend in
127
- the total yearly acceptance data. </p><figure class=\"kg-card kg-image-card
128
- kg-width-wide\"><img src=\"https://www.ideasurg.pub/content/images/2023/06/newplot--8-.png\"
129
- class=\"kg-image\" alt loading=\"lazy\" width=\"1400\" height=\"800\" srcset=\"https://www.ideasurg.pub/content/images/size/w600/2023/06/newplot--8-.png
130
- 600w, https://www.ideasurg.pub/content/images/size/w1000/2023/06/newplot--8-.png
131
- 1000w, https://www.ideasurg.pub/content/images/2023/06/newplot--8-.png 1400w\"
132
- sizes=\"(min-width: 1200px) 1200px\"></figure><p>Overall, there appears to
133
- be a general clustering of the other eighteen institutions in the top twenty,
134
- a trend seen in both the aggregate and the year-to-year data.</p><h3 id=\"mgh-brigham-lead-absolute-and-per-cent-increase-in-abstracts-in-2023\">MGH,
135
- Brigham lead absolute and per cent increase in abstracts in 2023</h3><p>Next,
136
- we measured the absolute and percent change between accepted abstracts in
137
- consecutive years for the top twenty institutions. We restricted our analysis
138
- to 2021, 2022, and 2023. The greatest absolute increases in accepted abstracts
139
- came from Massachusetts General Hospital in 2023 (27), Brigham and Women''s
140
- Hospital in 2023 (16), and UCLA in 2022 (16). The greatest percentage increases
141
- in accepted abstracts came from Brigham and Women''s Hospital in 2023 (800%),
142
- Johns Hopkins in 2023 (500%), and Massachusetts General Hospital in 2023 (386%).
143
- Of note, Johns Hopkins and Brigham and Women''s Hospital also had the largest
144
- absolute and percentage decrease in accepted abstracts in 2022. Interestingly,
145
- University of Alabama (+4 in 2022, +3 in 2023) and University of Michigan
146
- (+11 in 2023) &#xA0;- which rank at the top in all time and yearly abstracts
147
- - experienced less extreme swings during the 2021-2023 time period.</p><figure
148
- class=\"kg-card kg-image-card kg-width-wide\"><img src=\"https://www.ideasurg.pub/content/images/2023/06/newplot--7-.png\"
149
- class=\"kg-image\" alt loading=\"lazy\" width=\"1400\" height=\"800\" srcset=\"https://www.ideasurg.pub/content/images/size/w600/2023/06/newplot--7-.png
150
- 600w, https://www.ideasurg.pub/content/images/size/w1000/2023/06/newplot--7-.png
151
- 1000w, https://www.ideasurg.pub/content/images/2023/06/newplot--7-.png 1400w\"
152
- sizes=\"(min-width: 1200px) 1200px\"></figure><figure class=\"kg-card kg-image-card
153
- kg-width-wide\"><img src=\"https://www.ideasurg.pub/content/images/2023/06/newplot--4-.png\"
154
- class=\"kg-image\" alt loading=\"lazy\" width=\"1400\" height=\"800\" srcset=\"https://www.ideasurg.pub/content/images/size/w600/2023/06/newplot--4-.png
155
- 600w, https://www.ideasurg.pub/content/images/size/w1000/2023/06/newplot--4-.png
156
- 1000w, https://www.ideasurg.pub/content/images/2023/06/newplot--4-.png 1400w\"
157
- sizes=\"(min-width: 1200px) 1200px\"></figure><h3 id=\"conclusions\">Conclusions</h3><p>In
158
- this data exploration, we analyzed abstract acceptance data for the Academic
159
- Surgical Congress between 2016 and 2023. We showed that the number of abstracts
160
- increased from 2016 to 2020, dipped in 2021 and 2022, and is recovering in
161
- 2023 - likely reflecting the variability forced by COVID19 and the transition
162
- to virtual conferences in 2021 and 2022. We also showed that the University
163
- of Alabama and the University of Michigan have significantly led accepted
164
- abstracts throughout the study period with University of Alabama maintaining
165
- a top position following an impressive 700 percent increase in abstracts between
166
- 2016 and 2017. In 2023, Massachusetts General Hospital and Brigham and Women''s
167
- Hospital have led absolute and percent increases in abstract submissions,
168
- though this may reflect some degree of reversion following drops in abstract
169
- acceptances in 2022.</p><h3 id=\"limitations-and-future-directions\">Limitations
170
- and Future Directions</h3><p>This data exploration has several limitations.
171
- First, our study is limited to one conference and conferences themselves are
172
- only a limited component of academic productivity. However, the Academic Surgical
173
- Congress is an international meeting that is well regarded, popular among
174
- trainees, and has consistent multi-year data. Another limitation of our study
175
- is our assumption that the first institution listed in the author block is
176
- the primary institution&#x2013;a method which does not take into account multi-institutional
177
- abstracts. However, we suspect this reflects the minority of the abstracts.
178
- Finally, we have not fully optimized name-matching to correctly combine terms
179
- like \"University of Michigan\" and \"University of Michigan Ann Arbor\".
180
- However, given that most of the data currently is only for the top 20 institutions,
181
- we believe the overall trends will be preserved.</p><p>In the future, we can
182
- attempt to obtain more granular data on authors and institutions and optimize
183
- the capture of this data for aggregated analysis. We are also researching
184
- different techniques to perform string matching to fix the institution name
185
- issue. We can improve the generalizability of our findings by bringing in
186
- similar data from other large meetings &#x2013; such as the American College
187
- of Surgeons Clinical Congress and the Society of American Gastrointestinal
188
- and Endoscopic Surgeons (SAGES). We can also use the PubMed API to perform
189
- similar analyses in top surgical journals such as JAMA Surgery or the Annals
190
- of Surgery.</p><p>With regards to the data we have obtained, we can conduct
191
- survey-based studies or focus groups with key stakeholders from institutions
192
- that have demonstrated strong abstract performance during the study period
193
- as well as those who have shown significant improvement. By talking to department
194
- chairs, program directors, and research and education leaders we can understand
195
- what steps each institution took to improve abstract acceptance (e.g. hiring
196
- a new research faculty, creating a mentorship program, providing administrative
197
- support for IRBs/stats etc.). Following this, we can map individual interventions
198
- to improvements to understand the contribution that each can have on increased
199
- academic productivity.</p><p>We have also not yet mined the abstract body
200
- for themes. Using natural language processing, we can understand how themes
201
- and trends of emergent research change from year to year, and even develop
202
- models to predict which topics will be of interest in future works. This will
203
- likely be the subject of a future data exploration.</p><p>Overall, we hope
204
- to demonstrate that abstract acceptance data from a single international meeting
205
- can provide interesting, meaningful data on which programs have strong research
206
- infrastructure and which programs are making strides to achieve it. By studying
207
- this data and improving the inputs, we can better understand whose example
208
- to follow and ultimately develop a playbook that all institutions can employ
209
- to maximize the academic opportunities of students and trainees.</p><h3 id=\"see-the-data\">See
210
- the Data</h3><p>You can see the raw data as well as all of our code here,
211
- and use this for your own studies with appropriate attribution.</p><p><a href=\"https://deepnote.com/@tejas-sathe-a73f/ASC-Data-Exploration-948ca211-bfc7-459b-9d6d-ef952a5baf32?ref=ideasurg.pub\">https://deepnote.com/@tejas-sathe-a73f/ASC-Data-Exploration-948ca211-bfc7-459b-9d6d-ef952a5baf32</a></p>","tags":["Pre-Print"],"language":"en","references":[],"blog_id":"3cxcm20","blog":{"id":"3cxcm20","title":"I.D.E.A.S.","description":"Innovation
93
+ string: '{"id":"153d65e1-f0e4-49a6-a969-33d2129800ba","doi":"https://doi.org/10.59350/ytvy2-59450","url":"https://www.ideasurg.pub/academic-powerhouse","title":"How
94
+ to Build an Academic Powerhouse: Let''s Study Who''s Doing it","summary":"Students
95
+ and residents aspiring for a career in academic surgery are looking for training
96
+ programs that will help jumpstart their careers by exposing them to mentorship
97
+ and opportunities to conduct research. While the gold standard of academic
98
+ productivity (for the time being) remains peer-reviewed publications, conference
99
+ posters and presentations are an important secondary metric. In addition to
100
+ feeding eventual papers, conference talks allow trainees to practice presentation
101
+ skills, build...","published_at":1685768070,"updated_at":1685768070,"indexed_at":1689006804,"authors":[{"url":null,"name":"Tejas
102
+ S. Sathe, MD"}],"image":null,"tags":["Pre-Print"],"language":"en","reference":[],"blog_id":"3cxcm20","blog_name":"I.D.E.A.S.","blog":{"id":"3cxcm20","title":"I.D.E.A.S.","description":"Innovation
212
103
  and Design Experiments in Academic Surgery (I.D.E.A.S.)","language":"en","favicon":"https://www.ideasurg.pub/favicon.png","feed_url":"https://www.ideasurg.pub/rss/","home_page_url":"https://www.ideasurg.pub/","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T13:44:29+00:00","indexed_at":"2023-01-04","feed_format":"application/rss+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
213
- 5.51","category":"Medical and Health Sciences","prefix":"10.59350","modified_at":"2023-06-03T04:54:30+00:00","version":"https://jsonfeed.org/version/1.1","backlog":false,"authors":null}}'
214
- recorded_at: Sun, 18 Jun 2023 15:23:53 GMT
215
- recorded_with: VCR 6.1.0
104
+ 5.53","category":"Medical and Health Sciences","prefix":"10.59350","modified_at":"2023-06-03T04:54:30+00:00","version":"https://jsonfeed.org/version/1.1","backlog":false,"current_feed_url":null,"expired":null}}'
105
+ recorded_at: Tue, 11 Jul 2023 05:58:11 GMT
106
+ recorded_with: VCR 6.2.0
@@ -23,100 +23,38 @@ http_interactions:
23
23
  Cache-Control:
24
24
  - public, max-age=0, must-revalidate
25
25
  Content-Length:
26
- - '7690'
26
+ - '1988'
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Sun, 18 Jun 2023 15:23:53 GMT
30
+ - Mon, 10 Jul 2023 21:04:49 GMT
31
31
  Etag:
32
- - '"qqak09er395xl"'
32
+ - '"de3a467vbp1j8"'
33
33
  Server:
34
34
  - Vercel
35
35
  Strict-Transport-Security:
36
36
  - max-age=63072000
37
37
  X-Matched-Path:
38
- - "/api/posts/[slug]"
38
+ - "/api/posts/[[...params]]"
39
39
  X-Vercel-Cache:
40
40
  - MISS
41
41
  X-Vercel-Id:
42
- - fra1::iad1::82gm6-1687101832786-c5cd691a4309
42
+ - fra1::iad1::g8hwc-1689023089548-ad26f56478e1
43
43
  Connection:
44
44
  - close
45
45
  body:
46
46
  encoding: UTF-8
47
- string: '{"id":"https://doi.org/10.53731/4nwxn-frt36","uuid":"5bb66e92-5cb9-4659-8aca-20e486b695c9","url":"https://blog.front-matter.io/posts/does-it-compose/","title":"Does
47
+ string: '{"id":"5bb66e92-5cb9-4659-8aca-20e486b695c9","doi":"https://doi.org/10.53731/4nwxn-frt36","url":"https://blog.front-matter.io/posts/does-it-compose","title":"Does
48
48
  it compose?","summary":"One question I have increasingly asked myself in the
49
49
  past few years. Meaning Can I run this open source software using Docker containers
50
50
  and a Docker Compose file?As the Docker project turned ten this spring, it
51
51
  has become standard practice to distribute open source software via Docker
52
52
  images and to provide a Docker Compose file to run the software together with
53
53
  other dependencies. The Awesome Compose project has collected many examples,
54
- and all you need is a docker-compose.ymlfile and a...","date_published":"2023-05-16T11:36:56Z","date_modified":"2023-05-16T11:36:56Z","date_indexed":"2023-06-17T21:21:53.395318+00:00","authors":[{"url":"https://orcid.org/0000-0003-1419-2405","name":"Martin
55
- Fenner"}],"image":"https://images.unsplash.com/photo-1523351964962-1ee5847816c3?crop&#x3D;entropy&cs&#x3D;tinysrgb&fit&#x3D;max&fm&#x3D;jpg&ixid&#x3D;M3wxMTc3M3wwfDF8c2VhcmNofDUzfHxjb250YWluZXJ8ZW58MHx8fHwxNjg0MjMyMTQ0fDA&ixlib&#x3D;rb-4.0.3&q&#x3D;80&w&#x3D;2000","content_html":"
56
- <p><img src=\"https://images.unsplash.com/photo-1523351964962-1ee5847816c3?crop&#x3D;entropy&cs&#x3D;tinysrgb&fit&#x3D;max&fm&#x3D;jpg&ixid&#x3D;M3wxMTc3M3wwfDF8c2VhcmNofDUzfHxjb250YWluZXJ8ZW58MHx8fHwxNjg0MjMyMTQ0fDA&ixlib&#x3D;rb-4.0.3&q&#x3D;80&w&#x3D;2000\"></p><p>One
57
- question I have increasingly asked myself in the past few years. Meaning </p><blockquote>Can
58
- I run this open source software  using Docker containers and a Docker Compose
59
- file?</blockquote><p>As the Docker project <a href=\"https://snyk.io/blog/the-docker-project-turns-10/\">turned
60
- ten this spring</a>, it has become standard practice to distribute open source
61
- software via Docker images and to provide a <a href=\"https://docs.docker.com/compose/\">Docker
62
- Compose</a> file to run the software together with other dependencies. The
63
- <a href=\"https://github.com/docker/awesome-compose\">Awesome Compose</a>
64
- project has collected many examples, and all you need is a <code>docker-compose.yml</code>file
65
- and a recent installation of Docker, e.g. <a href=\"https://www.docker.com/products/docker-desktop/\">Docker
66
- Desktop</a>. Be aware that Docker Compose has evolved over the years. It started
67
- out as a dedicated Python application but was later integrated into the Docker
68
- application (written in Go) as Compose V2.</p><p>Docker and Docker Compose
69
- allow you to run pretty complex applications without first addressing a long
70
- list of requirements (which might conflict with other software you have installed),
71
- or needing a long and complex build step where many things can go wrong. For
72
- example a self-hosted instance of Supabase (a hosted Postgres database with
73
- additional features) that I installed last week following <a href=\"https://supabase.com/docs/guides/self-hosting/docker\">these
74
- instructions</a>.</p><p>An important open source project that I am involved
75
- in is <a href=\"https://inveniordm.docs.cern.ch/\">InvenioRDM</a>, the turn-key
76
- research data management repository. InvenioRDM started in 2019, with a first
77
- production-suitable version in August 2021, and the <a href=\"https://inveniosoftware.org/products/rdm/#status\">next
78
- major goal </a>is to have the large and popular <a href=\"https://zenodo.org/\">Zenodo</a>
79
- repository running on top of InvenioRDM. Zenodo <a href=\"https://blog.zenodo.org/2023/05/08/2023-05-08-10years/\">turned
80
- ten last week</a>, a few weeks after Docker. Interestingly, my personal tenth
81
- anniversary was last year in May as I became a full-time software developer
82
- and left academic medicine as a medical doctor treating cancer patients in
83
- <a href=\"https://doi.org/10.53731/r294649-6f79289-8cw2j\">May 2012</a>.</p><p>Unfortunately,
84
- InvenioRDM \"doesn''t compose\" yet. It is very close, but there are no ready-made
85
- Docker images to download, and the <a href=\"https://inveniordm.docs.cern.ch/install/\">installation
86
- instructions</a> start with installing a Python command-line tool (invenio-cli).
87
- So if you have 1-2 hours to play with InvenioRDM and get a first impression,
88
- there is no official solution from the InvenioRDM project yet. For this reason,
89
- I started the <a href=\"https://github.com/front-matter/docker-invenio-rdm\">docker-invenio-rdm</a>
90
- repository on Github. It contains a Docker Compose file that uses pre-built
91
- Docker images, and using that file with a <code>docker compose up</code>command
92
- on your local computer should give you a running InvenioRDM within 15 minutes:</p><figure
93
- class=\"kg-card kg-image-card\"><img src=\"https://blog.front-matter.io/content/images/2023/05/Bildschirmfoto-2023-05-11-um-10.37.55.png\"
94
- class=\"kg-image\" alt loading=\"lazy\" width=\"2000\" height=\"1210\" srcset=\"https://blog.front-matter.io/content/images/size/w600/2023/05/Bildschirmfoto-2023-05-11-um-10.37.55.png
95
- 600w, https://blog.front-matter.io/content/images/size/w1000/2023/05/Bildschirmfoto-2023-05-11-um-10.37.55.png
96
- 1000w, https://blog.front-matter.io/content/images/size/w1600/2023/05/Bildschirmfoto-2023-05-11-um-10.37.55.png
97
- 1600w, https://blog.front-matter.io/content/images/2023/05/Bildschirmfoto-2023-05-11-um-10.37.55.png
98
- 2193w\" sizes=\"(min-width: 720px) 720px\"></figure><p>I started this recently
99
- and obviously want to move forward in two directions:</p><ul><li>fine-tune
100
- the initial configuration to provide a great initial experience with InvenioRDM,
101
- e.g. making it easy to <a href=\"https://inveniordm.docs.cern.ch/develop/topics/theming/\">theme</a>
102
- the InvenioRDM instance</li><li>make this an official part of the InvenioRDM
103
- project, extending the <a href=\"https://github.com/inveniosoftware/docker-invenio\">docker-invenio</a>
104
- GitHub repository that provides Docker base images for InvenioRDM and other
105
- projects using the Invenio software.</li></ul><p>But of course, Docker Compose
106
- is not the answer to all questions regarding running Docker-based infrastructure.
107
- For production environments, most people shy away from using Docker Compose.
108
- The reasons for that and the alternatives will be the topic of a future blog
109
- post (spoiler: there is exciting news).</p><p>Docker Compose also needs more
110
- work to be set up correctly for development environments. It is a common practice
111
- and a workflow I used while working at DataCite (where we launched Docker-based
112
- infrastructure in 2016), but for now, the easiest way to set up InvenioRDM
113
- development environments is using the <a href=\"https://inveniordm.docs.cern.ch/install/\">invenio-cli
114
- tool with a local development environment</a>.</p><p>Please reach out to me
115
- with feedback on running Docker Compose for InvenioRDM (use the <a href=\"https://github.com/front-matter/docker-invenio-rdm/discussions\">discussions</a>
116
- feature in the GitHub repo), or if you have questions about running InvenioRDM
117
- in production.</p> ","tags":["News"],"language":"en","references":[],"blog_id":"f0m0e38","blog":{"id":"f0m0e38","title":"Front
118
- Matter","description":"The Front Matter Blog covers the intersection of science
119
- and technology since 2007.","language":"en","favicon":"https://blog.front-matter.io/favicon.png","feed_url":"https://blog.front-matter.io/atom/","home_page_url":"https://blog.front-matter.io","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T07:20:33+00:00","indexed_at":"2023-01-02","feed_format":"application/atom+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
120
- 5.52","category":"Engineering and Technology","prefix":"10.53731","modified_at":"2023-06-05T13:18:24+00:00","version":"https://jsonfeed.org/version/1.1","backlog":true,"authors":null}}'
121
- recorded_at: Sun, 18 Jun 2023 15:23:53 GMT
122
- recorded_with: VCR 6.1.0
54
+ and all you need is a docker-compose.ymlfile and a...","published_at":1684237016,"updated_at":1687084066,"indexed_at":1689007007,"authors":[{"url":"https://orcid.org/0000-0003-1419-2405","name":"Martin
55
+ Fenner"}],"image":"https://images.unsplash.com/photo-1523351964962-1ee5847816c3?crop&#x3D;entropy&cs&#x3D;tinysrgb&fit&#x3D;max&fm&#x3D;jpg&ixid&#x3D;M3wxMTc3M3wwfDF8c2VhcmNofDUzfHxjb250YWluZXJ8ZW58MHx8fHwxNjg0MjMyMTQ0fDA&ixlib&#x3D;rb-4.0.3&q&#x3D;80&w&#x3D;2000","tags":["News"],"language":"en","reference":[],"blog_id":"f0m0e38","blog_name":"Front
56
+ Matter","blog":{"id":"f0m0e38","title":"Front Matter","description":"The Front
57
+ Matter Blog covers the intersection of science and technology since 2007.","language":"en","favicon":"https://blog.front-matter.io/favicon.png","feed_url":"https://blog.front-matter.io/atom-complete/","home_page_url":"https://blog.front-matter.io","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T07:20:33+00:00","indexed_at":"2023-01-02","feed_format":"application/atom+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
58
+ 5.52","category":"Engineering and Technology","prefix":"10.53731","modified_at":"2023-07-05T19:22:17+00:00","version":"https://jsonfeed.org/version/1.1","backlog":false,"current_feed_url":"https://blog.front-matter.io/atom/","expired":null}}'
59
+ recorded_at: Mon, 10 Jul 2023 21:04:49 GMT
60
+ recorded_with: VCR 6.2.0
@@ -23,34 +23,38 @@ http_interactions:
23
23
  Cache-Control:
24
24
  - public, max-age=0, must-revalidate
25
25
  Content-Length:
26
- - '1509'
26
+ - '1722'
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Wed, 28 Jun 2023 07:30:24 GMT
30
+ - Mon, 10 Jul 2023 21:04:53 GMT
31
31
  Etag:
32
- - '"8258swzkwh15x"'
32
+ - '"rlwl6qviqb1bu"'
33
33
  Server:
34
34
  - Vercel
35
35
  Strict-Transport-Security:
36
36
  - max-age=63072000
37
37
  X-Matched-Path:
38
- - "/api/posts/[slug]"
38
+ - "/api/posts/[[...params]]"
39
39
  X-Vercel-Cache:
40
40
  - MISS
41
41
  X-Vercel-Id:
42
- - fra1::iad1::wc777-1687937422070-9bb853322252
42
+ - fra1::iad1::h8hbv-1689023092969-0c0ff4bb4099
43
43
  Connection:
44
44
  - close
45
45
  body:
46
46
  encoding: UTF-8
47
- string: '{"id":"63cef642602205003d6f50fb","uuid":"2b3cdd27-5123-4167-9482-3c074392e2d2","url":"https://blog.oa.works/nature-features-oa-reports-work-putting-oa-policy-into-practice/","title":"Nature
47
+ string: '{"id":"2b3cdd27-5123-4167-9482-3c074392e2d2","doi":"https://doi.org/10.59350/tfahc-rp566","url":"https://blog.oa.works/nature-features-oa-reports-work-putting-oa-policy-into-practice","title":"Nature
48
48
  features OA.Report''s work putting OA policy into practice!","summary":"After
49
49
  a couple of years of working to support institutions implementing their OA
50
50
  policies, we''re so proud to see OA.Report, our development partner, and one
51
51
  of our collaborators featured in Nature. We appreciate Nature bringing attention
52
- to the progress being made in more effectively implementing OA policies.","date_published":"2023-01-24T11:11:47Z","date_modified":null,"date_indexed":"2023-06-20T06:34:19.365+00:00","authors":[{"url":null,"name":"OA.Works"}],"image":"https://blog.oa.works/content/images/2023/01/nature-website-v2.png","tags":["OA.Report"],"language":"en","references":[],"blog_id":"h7bpg11","blog":{"id":"h7bpg11","title":"OA.Works
53
- Blog","description":"OA.Works Blog","language":"en","favicon":"https://blog.oa.works/favicon.png","feed_url":"https://blog.oa.works/rss/","home_page_url":"https://blog.oa.works/","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T14:11:14+00:00","indexed_at":"2023-01-04","feed_format":"application/rss+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
54
- 5.53","category":"Engineering and Technology","prefix":null,"modified_at":"2023-03-23T12:24:58+00:00","version":"https://jsonfeed.org/version/1.1","backlog":true,"authors":null}}'
55
- recorded_at: Wed, 28 Jun 2023 07:30:24 GMT
56
- recorded_with: VCR 6.1.0
52
+ to the progress being made in more effectively implementing OA policies.Read
53
+ the full story on Nature''s website.Screenshot of the story on the Nature
54
+ websiteFind out more about how OA.Report can help your organization on our
55
+ website or in our recent...","published_at":1674558707,"updated_at":1674558707,"indexed_at":1688982864,"authors":[{"url":null,"name":"OA.Works"}],"image":"https://blog.oa.works/content/images/2023/01/nature-website-v2.png","tags":["OA.Report"],"language":"en","reference":[],"blog_id":"h7bpg11","blog_name":"OA.Works
56
+ Blog","blog":{"id":"h7bpg11","title":"OA.Works Blog","description":"OA.Works
57
+ Blog","language":"en","favicon":"https://blog.oa.works/favicon.png","feed_url":"https://blog.oa.works/rss/","home_page_url":"https://blog.oa.works/","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T14:11:14+00:00","indexed_at":"2023-01-04","feed_format":"application/rss+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
58
+ 5.53","category":"Engineering and Technology","prefix":"10.59350","modified_at":"2023-07-03T15:34:01+00:00","version":"https://jsonfeed.org/version/1.1","backlog":true,"current_feed_url":null,"expired":null}}'
59
+ recorded_at: Mon, 10 Jul 2023 21:04:53 GMT
60
+ recorded_with: VCR 6.2.0
@@ -23,69 +23,38 @@ http_interactions:
23
23
  Cache-Control:
24
24
  - public, max-age=0, must-revalidate
25
25
  Content-Length:
26
- - '4357'
26
+ - '1680'
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Sun, 18 Jun 2023 15:23:51 GMT
30
+ - Mon, 10 Jul 2023 21:04:47 GMT
31
31
  Etag:
32
- - '"wi68ur4zhx3d1"'
32
+ - '"10p8jql4uqx1ai"'
33
33
  Server:
34
34
  - Vercel
35
35
  Strict-Transport-Security:
36
36
  - max-age=63072000
37
37
  X-Matched-Path:
38
- - "/api/posts/[slug]"
38
+ - "/api/posts/[[...params]]"
39
39
  X-Vercel-Cache:
40
40
  - MISS
41
41
  X-Vercel-Id:
42
- - fra1::iad1::wk65l-1687101831526-b4c70309908a
42
+ - fra1::iad1::tkv5t-1689023087319-da88ab8eb283
43
43
  Connection:
44
44
  - close
45
45
  body:
46
46
  encoding: UTF-8
47
- string: '{"id":"https://libscie.org/ku-leuven-supports-researchequals/","uuid":"5561f8e4-2ff1-4186-a8d5-8dacb3afe414","url":"https://libscie.org/ku-leuven-supports-researchequals/","title":"KU
47
+ string: '{"id":"5561f8e4-2ff1-4186-a8d5-8dacb3afe414","doi":"https://doi.org/10.59350/2shz7-ehx26","url":"https://libscie.org/ku-leuven-supports-researchequals","title":"KU
48
48
  Leuven supports ResearchEquals","summary":"KU Leuven is now an inaugural supporting
49
49
  member of ResearchEquals, sustaining and governing the development of modular
50
50
  publishing.As part of their commitment to Open Science, KU Leuven supports
51
51
  sustainable implementations of Open Access and Open Science through the KU
52
- Leuven Fund for Fair OA. The fund is usually only","date_published":"2023-05-09T06:43:26Z","date_modified":null,"date_indexed":"1970-01-01T00:00:00+00:00","authors":[{"url":"https://ror.org/0342dzm54","name":"Liberate
53
- Science"}],"image":"https://libscie.org/content/images/2023/04/thank-you-1-.jpg","content_html":"<img
54
- src=\"https://libscie.org/content/images/2023/04/thank-you-1-.jpg\" alt=\"KU
55
- Leuven supports ResearchEquals\"><p>KU Leuven is now an inaugural supporting
56
- member of ResearchEquals, sustaining and governing the development of modular
57
- publishing.</p><p>As part of their commitment to Open Science, KU Leuven supports
58
- sustainable implementations of Open Access and Open Science through the <a
59
- href=\"https://www.kuleuven.be/open-science/what-is-open-science/scholarly-publishing-and-open-access/open-access-kuleuven/OS-services?ref=libscie.org\">KU
60
- Leuven Fund for Fair OA</a>. The fund is usually only available to non-profits,
61
- but ResearchEquals&#x2019; governance convinced KU Leuven to support a for-profit
62
- initiative.</p><p>&#x201C;We don&#x2019;t want to be too rigid in our approach
63
- and understand that publishing or other research infrastructures can work
64
- according to different sustainability models. What matters to us is that,
65
- if profits are made, they are reinvested in the academic community and that
66
- researchers remain firmly in control.&#x201D; Demmy Verbeke said.</p><p>Supporting
67
- members help sustain operations and receive additional governance rights for
68
- <a href=\"https://researchequals.com/?ref=libscie.org\">ResearchEquals</a>.
69
- These rights include the option to participate in quarterly assemblies, strategy
70
- and decision making processes, the power to block acquisitions, and to request
71
- more information around business operations. As a result, supporting members
72
- shape how ResearchEquals evolves. Individuals can become supporting members
73
- for 79.99 euro&#x2019;s per year. Institutions can become supporting members
74
- for a yearly contribution of at least 2500 euro&#x2019;s. </p><p>ResearchEquals
75
- is an open source, open access publishing platform for research modules. ResearchEquals
76
- realized the first modular publishing platform (launched February 1st, 2022),
77
- which revolves around sharing the research process, step by step, instead
78
- of only the final report.</p><p>&#x201C;It is great to see KU Leuven support
79
- generative projects, regardless of whether they are for-profit or not&#x201D;
80
- Chris Hartgerink said.</p><p>KU Leuven is one of the first institutional supporting
81
- members of ResearchEquals.</p><hr><p>KU Leuven is one of the largest universities
82
- in Belgium, with a strong commitment to open access and open science. Demmy
83
- Verbeke and Laura Mesotten manage the Fund for Fair OA of KU Leuven Libraries.</p><p>Liberate
84
- Science GmbH (est. 2019) cultivates alternative publishing formats that work
85
- for researchers everywhere. ResearchEquals is a Liberate Science GmbH project.
86
- For more information view the <a href=\"https://www.researchequals.com/supporting-member?ref=libscie.org\">supporting
87
- member page</a> or contact CEO Chris Hartgerink (<a href=\"mailto:ceo@libscie.org\">ceo@libscie.org</a>).</p>","tags":["ResearchEquals"],"language":"en","references":null,"blog_id":"h49ct36","blog":{"id":"h49ct36","title":"Liberate
88
- Science","description":"Research as a commons","language":"en","favicon":"https://libscie.org/favicon.png","feed_url":"https://libscie.org/rss/","home_page_url":"https://libscie.org/","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T14:08:03+00:00","indexed_at":"2023-01-04","feed_format":"application/rss+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
89
- 5.49","category":"Social Sciences","prefix":null,"modified_at":"2023-06-13T06:48:37+00:00","version":"https://jsonfeed.org/version/1.1","backlog":true,"authors":null}}'
90
- recorded_at: Sun, 18 Jun 2023 15:23:51 GMT
91
- recorded_with: VCR 6.1.0
52
+ Leuven Fund for Fair OA. The fund is usually only available to non-profits,
53
+ but ResearchEquals’ governance convinced KU Leuven to support a for-profit
54
+ initiative.“We don’t want to be too rigid in our approach...","published_at":1683614606,"updated_at":1683614606,"indexed_at":1689006804,"authors":[{"url":"https://ror.org/0342dzm54","name":"Liberate
55
+ Science"}],"image":"https://libscie.org/content/images/2023/04/thank-you-1-.jpg","tags":["ResearchEquals"],"language":"en","reference":[],"blog_id":"h49ct36","blog_name":"Liberate
56
+ Science","blog":{"id":"h49ct36","title":"Liberate Science","description":"Research
57
+ as a commons","language":"en","favicon":"https://libscie.org/favicon.png","feed_url":"https://libscie.org/rss/","home_page_url":"https://libscie.org/","user_id":"8498eaf6-8c58-4b58-bc15-27eda292b1aa","created_at":"2023-05-31T14:08:03+00:00","indexed_at":"2023-01-04","feed_format":"application/rss+xml","license":"https://creativecommons.org/licenses/by/4.0/legalcode","generator":"Ghost
58
+ 5.49","category":"Social Sciences","prefix":"10.59350","modified_at":"2023-07-04T06:30:20+00:00","version":"https://jsonfeed.org/version/1.1","backlog":true,"current_feed_url":null,"expired":null}}'
59
+ recorded_at: Mon, 10 Jul 2023 21:04:47 GMT
60
+ recorded_with: VCR 6.2.0