Files
appimage.github.io/pages/appstream.xml
T
2018-05-21 12:41:27 +00:00

40 lines
1.4 KiB
XML

---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<components version="0.8" origin="">
{% assign sorted = site.pages | sort: 'permalink' %}
{% for post in sorted %}{% if post.layout == 'app' && post.published != 'false' %}
<component type="desktop">
<id>xxx.desktop</id>
<pkgname>{% if post.title %}{{ post.title }}{% else %}{{ post.name | remove: ".md" }}{% endif %}</pkgname>
<icon type="remote">{{ post.icons[0] }}</icon>
<update_contact></update_contact>
<metadata_license>CC0-1.0</metadata_license>
<project_license>{{ post.license }}</project_license>
<name>{{ post.desktop["Desktop Entry"].Name }}</name>
<summary><![CDATA[{{ post.desktop["Desktop Entry"].Comment }}]]></summary>
<description><![CDATA[
<p>
{% if post.appdata.Description.C %}
{{ post.appdata.Description.C }}
{% elsif post.desktop["Desktop Entry"].Comment %}
{{ post.desktop["Desktop Entry"].Comment }}
{% endif %}
</p>
]]></description>
<url type="homepage"></url>
<screenshots>
<screenshot type="default">
<image>{{ post.screenshots[0] }}</image>
<caption/>
</screenshot>
</screenshots>
<translation/>
<developer_name>{{ post.authors[0].name }}</developer_name>
<url type="bugtracker"></url>
<url type="help"></url>
</component>
{% endif %}{% endfor %}
</components>