create templates for news/newsletters/episodes
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Max Mehl 2020-04-30 17:29:05 +02:00
parent a217f2909c
commit 791a05cbda
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92
3 changed files with 186 additions and 0 deletions

View File

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<html newsdate="20YY-MM-DD" type="podcast">
<version>1</version>
<head>
<title>Software Freedom Podcast #n ...</title>
</head>
<body class="article">
<h1>Software Freedom Podcast #n ...</h1>
<p newsteaser="yes">SHORT PRECISE TEASER</p>
<audio-player />
<p>ANOTHER PARAGRAPH</p>
<figure>
<img src="/picturebase/xxyyzz" alt="DESCRIPTION"/>
<figcaption>
DESCRIPTION OF PICTURE IF WANTED
</figcaption>
</figure>
<p>Read more:</p>
<ul>
<li><a href="link1">Useful link</a></li>
<li><a href="link2">Useful link 2</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?referrer=podcast">donation</a>.
</p>
</body>
<discussion href="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Comments" />
<image url="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Preview_Image" />
<tags>
<tag key="front-page"/>
<tag key="podcast">Software Freedom Podcast</tag>
</tags>
<!-- Meta data for podcast, update with each episode! -->
<podcast>
<subtitle>Short summary of this episode</subtitle>
<duration>MM:SS</duration>
<episode>n</episode> <!-- number of episode -->
<!-- OPUS -->
<opus>
<url>https://download.fsfe.org/audio/podcast/SFPnnn.opus</url>
<length>1337</length> <!-- size of file in bytes -->
</opus>
<!-- MP3 -->
<mp3>
<url>https://download.fsfe.org/audio/podcast/SFPnnn.mp3</url>
<length>1338</length> <!-- size of file in bytes -->
</mp3>
<chapters>
<chapter start="0:00">Welcome to the podcast</chapter>
<chapter start="MM:SS">Introduction of guest</chapter>
<chapter start="MM:SS">Another Chapter</chapter>
<chapter start="MM:SS">Outro</chapter>
</chapters>
</podcast>
</html>
<!--
Local Variables: ***
mode: xml ***
End: ***
-->

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<html newsdate="20YY-MM-DD">
<version>1</version>
<head>
<title>TITLE</title>
</head>
<body>
<h1>TITLE</h1>
<p newsteaser="yes">SHORT PRECISE TEASER</p>
<p>ANOTHER PARAGRAPH</p>
<figure>
<img src="/picturebase/xxyyzz" alt="DESCRIPTION"/>
<figcaption>
DESCRIPTION OF PICTURE IF WANTED
</figcaption>
</figure>
<h2>SOME IN-BETWEEN HEADLINE</h2>
<p>ANOTHER PARAGRAPH</p>
<blockquote>A QUOTE!</blockquote>
<ul>
<li>LIST POINT 1</li>
<li>LIST POINT 2</li>
</ul>
<p>LAST PARAGRAPH</p>
</body>
<discussion href="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Comments" />
<tags>
<tag key="front-page"/>
</tags>
<image url="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Preview_Image" />
</html>

61
news/template-nl.en.xhtml Normal file
View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<html newsdate="20YY-MM-DD" type="newsletter">
<version>1</version>
<head>
<title>HIGHLIGHT1 +++ HIGHLIGHT2 +++ HIGHLIGHT3</title>
</head>
<body class="newsletter article" microformats="h-entry">
<h1>HIGHLIGHT1 +++ HIGHLIGHT2 +++ HIGHLIGHT3</h1>
<p newsteaser="yes">SHORT PRECISE TEASER</p>
<p>ANOTHER PARAGRAPH</p>
<figure>
<img src="/picturebase/xxyyzz" alt="DESCRIPTION"/>
<figcaption>
DESCRIPTION OF PICTURE IF WANTED
</figcaption>
</figure>
<hr/>
<p><a href="https://my.fsfe.org/donate?referrer=nl-20YYMM">Support us with your donation</a></p>
<hr/>
<h2>SOME IN-BETWEEN HEADLINE</h2>
<p>ANOTHER PARAGRAPH</p>
<blockquote>A QUOTE!</blockquote>
<ul>
<li>LIST POINT 1</li>
<li>LIST POINT 2</li>
</ul>
<p>LAST PARAGRAPH</p>
</body>
<discussion href="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Comments" />
<tags>
<tag key="front-page"/>
<tag key="newsletter">Newsletter</tag>
</tags>
<image url="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Preview_Image" />
<author id="https://wiki.fsfe.org/TechDocs/Mainpage/Editing#Authors" />
<date>
<original content="20YY-MM" />
</date>
<sidebar promo="about-fsfe" />
<followup>donate</followup>
</html>