mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
```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
28 lines
754 B
YAML
28 lines
754 B
YAML
Categories:
|
|
- Writing
|
|
License: GPL-2.0-or-later
|
|
WebSite: http://hatapy.web.fc2.com/mininoteviewer.html
|
|
SourceCode: https://bitbucket.org/dalb8/mininoteviewer
|
|
|
|
AutoName: miniNoteViewer
|
|
Description: |-
|
|
* Simple file explorer
|
|
* View and edit text files(.txt)
|
|
* Option to encrypt files with a password (Blowfish algorithm)
|
|
* View and edit files encrypted by <a href="http://tombo.sourceforge.jp/En">Tombo</a> (.chi)
|
|
* Search for word in text (REGEX/CASE_INSENSITIVE)
|
|
|
|
The website is in Japanese only.
|
|
|
|
RepoType: git
|
|
Repo: https://bitbucket.org/dalb8/mininoteviewer.git
|
|
|
|
Builds:
|
|
- versionName: '0.40'
|
|
versionCode: 40
|
|
commit: 8dcc6cc
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: None
|
|
CurrentVersion: '0.40'
|
|
CurrentVersionCode: 40
|