43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
---
|
|
layout: null
|
|
---
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- appstream-util validate-relax appstream.xml -->
|
|
<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>{% if post.title %}{{ post.title }}{% else %}{{ post.name | remove: ".md" }}{% endif %}.desktop</id>
|
|
<pkgname>{% if post.title %}{{ post.title }}{% else %}{{ post.name | remove: ".md" }}{% endif %}</pkgname>
|
|
{% if post.icons %}
|
|
<icon type="remote">{% if post.icons[0] contains '://' %}{{post.icons[0]}}{% else %}{{ '/database/' | prepend: site.url | append: post.icons[0] }}{% endif %}</icon>
|
|
{% endif %}
|
|
<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>{{ post.desktop["Desktop Entry"].Comment | strip_html | replace: "&", "&" }}</summary>
|
|
<description>
|
|
<p>
|
|
{% if post.appdata.Description.C %}
|
|
{{ post.appdata.Description.C | strip_html | replace: "&", "&" }}
|
|
{% elsif post.desktop["Desktop Entry"].Comment %}
|
|
{{ post.desktop["Desktop Entry"].Comment | strip_html | replace: "&", "&" }}
|
|
{% endif %}
|
|
</p>
|
|
</description>
|
|
<url type="homepage"></url>
|
|
{% if post.screenshots %}
|
|
<screenshots>
|
|
<screenshot type="default">
|
|
<image>{% if post.screenshots[0] contains '://' %}{{post.screenshots[0]}}{% else %}{{ '/database/' | prepend: site.url | append: post.screenshots[0] }}{% endif %}</image>
|
|
<caption/>
|
|
</screenshot>
|
|
</screenshots>
|
|
{% endif %}
|
|
<translation/>
|
|
<developer_name>{{ post.authors[0].name }}</developer_name>
|
|
</component>
|
|
{% endif %}{% endfor %}
|
|
</components>
|