Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Feb 11, 2023
1 parent 0445006 commit d7c5404
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 22 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the
HTML5 video element wherever possible, and provides a a download link as
fallback otherwise. The supported video formats depend on the browser.

For each video additional <a href="https://schema.org/">schema.org</a>
compliant markup will be generated, so search engines can index and show the
videos in search results.
Expand Down
6 changes: 3 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@
<delete dir="export"/>
<copy file="dist/config/config.php" tofile="dist/config/defaultconfig.php"/>
<copy file="dist/languages/en.php" tofile="dist/languages/default.php"/>
<zip destfile="Video_XH-2.0-dev.zip" basedir="dist" prefix="video/"/>
<zip destfile="Video_XH-2.0.zip" basedir="dist" prefix="video/"/>
<delete dir="dist"/>
</target>

<target name="build-patch" description="builds a distributable update package">
<fail unless="patchee" message="patchee is not defined!"/>
<unzip file="Video_XH-2.0-dev.zip" todir="current"/>
<unzip file="Video_XH-2.0.zip" todir="current"/>
<unzip file="${patchee}" todir="patchee"/>
<copy todir="dist">
<fileset dir="current">
Expand All @@ -95,7 +95,7 @@
<include name="css/stylesheet.css"/>
</fileset>
</delete>
<zip destfile="Video_XH-2.0-dev-PATCH.zip" basedir="dist" includeemptydirs="false"/>
<zip destfile="Video_XH-2.0-PATCH.zip" basedir="dist" includeemptydirs="false"/>
<delete dir="patchee" quiet="true"/>
<delete dir="current" quiet="true"/>
<delete dir="dist" quiet="true"/>
Expand Down
3 changes: 2 additions & 1 deletion help/help.htm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
</head>
<body>
<h1 id="video_xh">Video_XH</h1>
<p>Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the HTML5 video element wherever possible, and provides a a download link as fallback otherwise. The supported video formats depend on the browser. For each video additional <a href="https://schema.org/">schema.org</a> compliant markup will be generated, so search engines can index and show the videos in search results.</p>
<p>Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the HTML5 video element wherever possible, and provides a a download link as fallback otherwise. The supported video formats depend on the browser.</p>
<p>For each video additional <a href="https://schema.org/">schema.org</a> compliant markup will be generated, so search engines can index and show the videos in search results.</p>
<ul>
<li><a href="#requirements">Requirements</a></li>
<li><a href="#download">Download</a></li>
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

use Video\Dic;

const VIDEO_VERSION = '2.0-dev';
const VIDEO_VERSION = "2.0";

/** @SuppressWarnings(PHPMD.UnusedFormalParameter) */
function video(string $name, string $options = ''): string
Expand Down
34 changes: 20 additions & 14 deletions teplad.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
<!-- the name of the Plugin -->
<name type="plugin">Video_XH</name>
<!-- Date this xml-file was updated, yyyy.mm.dd -->
<date_update>2021.01.23</date_update>
<date_update>2023.02.11</date_update>
<!-- version of Plugin -->
<version>1.1</version>
<version>2.0</version>
<!-- date of publication, yyyy.mm.dd -->
<date_version>2016.12.23</date_version>
<date_version>2023.02.11</date_version>
<!-- the name of the programmer -->
<coder>Christoph M. Becker</coder>
<!-- Categories must be written in lower case. More than one possible, separated by comma without spaces. -->
Expand All @@ -62,37 +62,43 @@
<url>
<!-- URL where you can download the plugin -->
<!-- If there no Download-URL, enter this follows! - <download_url></download_url> -->
<download_url>https://github.com/cmb69/video_xh/releases/1.1</download_url>
<download_url>https://github.com/cmb69/video_xh/releases/2.0</download_url>
<!-- URL of the programmer's website -->
<!-- If there no Website, enter this follows! - <coder_url></coder_url> -->
<coder_url>https://3-magi.net</coder_url>
<coder_url>https://3-magi.net/</coder_url>
<!-- URL where find a demo -->
<!-- If there no Demo-Website, enter this follows! - <demo_url></demo_url> -->
<demo_url></demo_url>
</url>
<!-- compatibility with versions of XH, i.e. 1.6, 1.6.7 - 1.7.2, ≥ 1.7, ... -->
<compatibility>≥ 1.5.4</compatibility>
<compatibility>≥ 1.7.0</compatibility>
<!-- minimum version of PHP that is required, i.e. 5.3, 5.6, 7, ≥ 5.6, ... -->
<!-- If there no specification, e.g. for templates, enter this follows! - <php_ver></php_ver> -->
<php_ver>≥ 5.0.0</php_ver>
<php_ver>≥ 7.1.0</php_ver>
<!-- the License for the Plugin, GPLv3, AGPL, LGPL, GPLv2 ... -->
<license>GPLv3</license>
<!-- Description in English is mandatory -->
<descriptions>
<!-- description of the plugin, ca. 200 characters, you can use <br/>, <ol></ol>, <ul></ul>, <li></li>, <b></b>, <i></i>. -->
<description lang="en">
Video_XH facilitates presenting videos on a CMSimple_XH site. It uses the
HTML5 video element wherever possible, and provides a fallback to Flash video.
The supported video formats depend on the browser resp. the Flash player. For
the best user experience, JavaScript should be enabled in the browser of the visitor.
HTML5 video element wherever possible, and provides a a download link as
fallback otherwise. The supported video formats depend on the browser.

For each video additional <a href="https://schema.org/">schema.org</a>
compliant markup will be generated, so search engines can index and show the
videos in search results.
</description>
<!-- Beschreibung des Plugins, ca. 200 Zeichen, es können <br/>, <ol></ol>, <ul></ul>, <li></li>, <b></b>, <i></i> genutzt werden. -->
<description lang="de">
Video_XH ermöglicht die Präsentation von Videos auf einer
CMSimple_XH-Website. Es verwendet wo immer möglich das HTML5 Video-Element, und
nutzt andernfalls den Flash-Player. Die unterstützten Video-Formate hängen vom
Browser bzw. dem Flash-Player ab. Für das beste Nutzungserlebnis sollte
JavaScript im Browser des Besuchers aktiviert sein.
CMSimple_XH-Website. Es verwendet wo immer möglich das HTML5 Video-Element,
und bietet andernfalls einen Downloadlink als Fallback. Die unterstützten
Video-Formate hängen vom Browser ab.

Für jedes Video wird zusätzliches [schema.org](https://schema.org/)
konformes Markup generiert, so dass Suchmaschinen die Videos indexieren
und in Suchergebnissen anzeigen können.
</description>
<!-- additional languages are possible, i.e. da, fr, pl, ... -->
<!-- The use of this language is limited by the website where the repository is hosted. -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<h1>Video 2.0-dev</h1>
<h1>Video 2.0</h1>
<div class="video_syscheck">
<h2>System check</h2>
<p class="xh_success">Checking that PHP version ≥ 7.1.0 … okay</p>
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
require_once './classes/ShowVideo.php';

const CMSIMPLE_URL = "http://example.com/index.php";
const VIDEO_VERSION = "2.0-dev";
const VIDEO_VERSION = "2.0";
2 changes: 1 addition & 1 deletion version.nfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Video_XH,1.1,1.1,,,https://github.com/cmb69/video_xh/releases/1.1,https://raw.githubusercontent.com/cmb69/video_xh/master/version.nfo
Video_XH,2.0,2.0,,,https://github.com/cmb69/video_xh/releases/2.0,https://raw.githubusercontent.com/cmb69/video_xh/master/version.nfo

0 comments on commit d7c5404

Please sign in to comment.