GNUHealth_Podcast (#1325)
All checks were successful
continuous-integration/drone/push Build is passing

fix image source

shrink images and actually use them

allow for bonus podcast episodes outside of normal numbering

fix mistakes

exception for special podcast episodes

updated version tag

Merge branch 'master' of git.fsfe.org:fsfe/fsfe-website into GNUHealth_Podcast

GNU Health Podcast episode

Co-authored-by: max.mehl <max.mehl@fsfe.org>
This commit is contained in:
bonnie 2020-04-24 15:09:22 +02:00 committed by Max Mehl
parent 247866c5c4
commit 63a071d591
5 changed files with 119 additions and 19 deletions

View File

@ -82,11 +82,11 @@
<!-- ============ -->
<!-- Main routine -->
<!-- ============ -->
<xsl:template match="/buildinfo">
<xsl:apply-templates select="document" />
</xsl:template>
<xsl:template match="/buildinfo/document">
<!-- param audioformat mp3 or opus (or none), set variable $format and $alternateformat -->
@ -193,12 +193,12 @@
<itunes:block>false</itunes:block>
<itunes:explicit>false</itunes:explicit>
<!-- Podcast episodes -->
<xsl:for-each select="/buildinfo/document/set/news[translate (@date, '-', '') &lt;= translate ($today, '-', '')]">
<xsl:sort select="@date" order="descending"/>
<xsl:element name="item">
<!-- Title -->
<xsl:element name="title">
<xsl:value-of select="title"/>
@ -216,7 +216,7 @@
<xsl:copy-of select="normalize-space(body)"/>
<xsl:text> Join the FSFE community and support the podcast: https://my.fsfe.org/support?referrer=podcast</xsl:text>
</xsl:element>
<!-- Podcast body -->
<xsl:element name="content:encoded">
<xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
@ -244,17 +244,17 @@
</xsl:element>
</xsl:element>
</xsl:if>
<xsl:element name="p">
<xsl:element name="a">
<xsl:attribute name="href">https://my.fsfe.org/support?referrer=podcast</xsl:attribute>
<xsl:text>Join the FSFE community and support the podcast</xsl:text>
</xsl:element>
</xsl:element>
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
</xsl:element>
<!-- Link and GUID -->
<xsl:if test="link != ''">
<xsl:variable name="link">
@ -289,7 +289,16 @@
<itunes:author>Free Software Foundation Europe (FSFE)</itunes:author>
<itunes:explicit>false</itunes:explicit>
<itunes:block>false</itunes:block>
<itunes:episodeType>full</itunes:episodeType>
<itunes:episodeType>
<xsl:choose>
<xsl:when test="podcast/type != ''">
<xsl:value-of select="podcast/type" />
</xsl:when>
<xsl:otherwise>
<xsl:text>full</xsl:text>
</xsl:otherwise>
</xsl:choose>
</itunes:episodeType>
<!-- Episode subtitle -->
<xsl:element name="itunes:subtitle">
@ -302,9 +311,11 @@
</xsl:element>
<!-- Episode number -->
<xsl:element name="itunes:episode">
<xsl:value-of select="podcast/episode"/>
</xsl:element>
<xsl:if test="podcast/episode != ''">
<xsl:element name="itunes:episode">
<xsl:value-of select="podcast/episode"/>
</xsl:element>
</xsl:if>
<!-- Enclosure (audio file path) -->
<xsl:element name="enclosure">
@ -337,11 +348,11 @@
</channel>
</rss>
</xsl:template>
<!-- take care that links within <content:encoded> are not relative -->
<xsl:template match="a">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:choose>
<xsl:when test="substring(@href,1,1) = '/'">
@ -353,9 +364,9 @@
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="." />
</xsl:element>
</xsl:template>
<!-- as well as images -->
@ -387,8 +398,8 @@
<xsl:apply-templates select="node()"/>
</xsl:copy>
</xsl:template>
<!-- Do not copy <body-complete> to output at all -->
<xsl:template match="body-complete"/>
</xsl:stylesheet>

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<html newsdate="2020-04-24" type="podcast">
<version>1</version>
<head>
<title>Software Freedom Podcast Special about GNU Health with Dr. Luis Falcón and Dr. Axel Braun</title>
</head>
<body class="article">
<h1>Software Freedom Podcast Special about GNU Health with Dr. Luis Falcón and Dr. Axel Braun</h1>
<p newsteaser="yes">
For our Software Freedom Podcast we talk with people who have inspiring ideas about software freedom. In this special episode, we talk with Dr. Luis Falcón and Dr. Axel Braun about the Free health and hospital information system GNU Health.</p>
<p>Unfortunately, as we had to do this podcast remotely this time, we cannot provide the same level of audio quality as you are used to in this podcast. We apologise for this and will look into
better solutions for remote recordings for future episodes.</p>
<audio-player />
<p>
In this special episode of the Software Freedom Podcast we talk about some of the advantages of <a href=" https://www.gnuhealth.org">GNU Health</a> and how as a Free health and hospital information system it can and already does help with the current Covid-19 pandemic. Our guests are Dr. Luis Falcón who is the author of GNU Health and Dr. Axel Braun who published the first live CD of GNU Health. We discover how and why Dr. Luis Falcón got the idea for the software and what are the next steps in the development of GNU Health, how it is financed and where it is already being used. Together we speak about the importance of a Free health and hospital information system and why <a href="https://publiccode.eu/">public code</a> is essential in the public health care sector during the Covid-19 crisis and beyond. This is the perfect episode for an overview of how important Free Software is in the current situation and especially in hospitals and the public health system.
</p>
<figure>
<img src="/picturebase/graphics/logos/GNUHealth-800px.jpg" alt="The logo of GNU Health (GH)" />
<figcaption>GNU Health the free health and hospital information system</figcaption>
</figure>
<p>Read more:</p>
<ul>
<li><a href="https://www.gnuhealth.org/#/about">GNU Health</a></li>
<li><a href="https://meanmicio.org/2020/03/31/tackling-the-beast-using-gnu-health-to-help-the-fight-against-the-covid-19-pandemic/">"Tackling the Beast: Using GNU Health to help the fight against the COVID-19 pandemic"</a></li>
<li><a href="https://www.youtube.com/watch?v=NBFzCJvzgL0">GNU Health in 5 Minutes</a></li>
<li><a href="https://publiccode.eu/">”Public Mone? Public Code!” For more background information on public code in the public administrations</a></li>
<li> <a href="https://fsfe.org/news/2020/news-20200408-01.html">COVID-19 Hackathons: Only Free Software creates global solutions</a></li>
<li> <a href="https://fsfe.org/news/2020/news-20200403-01.html">FSFE Supporters write about Free Software for remote working</a></li>
<li><a href="https://fsfe.org/news/2020/news-20200330-01.html">Freeware, Free Software and the Corona Virus Crisis Choose your tools wisely!</a></li>
<li><a href="https://fsfe.org/news/2020/news-20200327-01.html">FSFE in times of Corona: How a virus affects us</a></li>
<li><a href="https://fsfe.org/about/basics/freesoftware">What is Free Software?</a></li>
<li><a href="https://fsfe.org/freesoftware/basics/4freedoms.html">The four freedoms of Free Software</a></li>
</ul>
<p>If you liked this episode and want to support our continues work for software freedom, please help us with a <a href="https://my.fsfe.org/donate/">donation</a>.</p>
</body>
<tags>
<tag>front-page</tag>
<tag content="Software Freedom Podcast">podcast</tag>
<tag content="Tools">tools</tag>
</tags>
<!-- Meta data for podcast, update with each episode! -->
<podcast>
<type>bonus</type> <!-- "bonus" for special episodes, no episode number then -->
<subtitle>Interview with Dr. Luis Falcón and Dr. Axel Braun about GNU Health, the Free health and hospital information system. The perfect episode for a quick overview why Free Software is no less important during a pandemic.</subtitle>
<duration>27:14</duration>
<episode></episode> <!-- leave empty if bonus/special episode (see <type>) -->
<!-- OPUS -->
<opus>
<url>https://download.fsfe.org/audio/podcast/SFP-special-1.opus</url>
<length>6634645</length> <!-- size of file in bytes -->
</opus>
<!-- MP3 -->
<mp3>
<url>https://download.fsfe.org/audio/podcast/SFP-special-1.mp3</url>
<length>22882045</length> <!-- size of file in bytes -->
</mp3>
<chapters>
<chapter start="0:00">Preface</chapter>
<chapter start="0:16">Welcome to the podcast</chapter>
<chapter start="0:47">Introduction of Dr. Luis Falcón and Dr. Axel Braun</chapter>
<chapter start="01:33">Interview with Dr. Luis Falcón and Dr. Axel Braun</chapter>
<chapter start="26:10">Closing words</chapter>
<chapter start="26:44">Outro</chapter>
</chapters>
</podcast>
<discussion href="DISCUSSION LINK " />
<image url="https://fsfe.org/picturebase/graphics/logos/GNUHealth-800px.jpg" />
</html>
<!--
Local Variables: ***
mode: xml ***
End: ***
-->

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

View File

@ -127,7 +127,7 @@ for f in $files_all; do
if [[ ( $f =~ $fileregex ) && ( -e "$f" ) ]]; then
filename="$(basename "${f}")"
# file naming scheme
regex="^((nl-20[0-9]{4})|episode-[0-9]{1,3}|(news|event)-20[0-9]{6}-[0-9]{2})\.[a-z]{2}\.(xml|xhtml)$"
regex="^((nl-20[0-9]{4})|episode-(special-)?[0-9]{1,3}|(news|event)-20[0-9]{6}-[0-9]{2})\.[a-z]{2}\.(xml|xhtml)$"
if ! [[ $filename =~ $regex ]]; then
RETURN_NAME=$((RETURN_NAME + 1))
FILES_NAME="${FILES_NAME}|${f}"