fdroiddata/metadata/de.lsubel.amam.yml
Hans-Christoph Steiner cf4e8a40ff convert all MediaWiki links to HTML links
```python
import yaml, glob, re, os
from fdroidserver import metadata

pat = re.compile(r'\[(https?://[^ \]]+)\s+([^\]]+)\]')

for f in glob.glob('metadata/*.yml'):
    with open(f) as fp:
        data = yaml.load(fp)
    description = data.get('Description', '')
    for m in pat.finditer(data.get('Description', '')):
        link = m.group(1)
        text = m.group(2)
        print(f, link, text, flush=True)
        description = description.replace(m.group(), '<a href="%s">%s</a>' % (link, text))
    data['Description'] = description
    app = metadata.App(data)
    metadata.write_metadata(f, app)
```

```
sed -i 's,^      - true,      - yes,' metadata/*.yml
sed -i 's,^      - false,      - no,' metadata/*.yml
```

closes fdroid-website#510
2020-12-09 19:10:44 +01:00

63 lines
1.7 KiB
YAML

Categories:
- Games
License: MIT
AuthorName: Lukas Subel
AuthorEmail: github@lsubel.de
WebSite: https://lsubel.github.io/amam
SourceCode: https://github.com/lsubel/amam-cordova
IssueTracker: https://github.com/lsubel/amam-cordova/issues
Changelog: https://github.com/lsubel/amam-cordova/blob/HEAD/CHANGELOG.md
AutoName: Ask me anything meaningful
Description: |-
At the end of the 19th century it was a popular game on social events to answer
a questionnaire. They should help to learn about the interviewee and their
character. The French author Marcel Proust (1871-1922) was one of the most
famous people who answered it
(<a href="https://en.wikipedia.org/wiki/Proust_Questionnaire">Wikipedia</a>). This
application allows to get a randomized question from questionnaire, e.g. the
Proust questionnaire, so you can discuss it with another person.
RepoType: git
Repo: https://github.com/lsubel/amam-cordova.git
Builds:
- versionName: 1.2.2
versionCode: 10202
commit: v1.2.2
subdir: platforms/android/
- versionName: 1.3.2
versionCode: 10302
commit: v1.3.2
subdir: platforms/android/
- versionName: 1.3.3
versionCode: 10303
commit: v1.3.3
subdir: platforms/android/
- versionName: 1.3.4
versionCode: 10304
commit: v1.3.4
subdir: platforms/android/
- versionName: 1.3.5
versionCode: 10305
commit: v1.3.5
subdir: platforms/android/
- versionName: 1.4.0
versionCode: 10400
commit: v1.4.0
subdir: platforms/android/
- versionName: 1.4.1
versionCode: 10401
commit: v1.4.1
subdir: platforms/android/
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 1.4.1
CurrentVersionCode: 10401