fdroiddata/metadata/fr.strasweb.browserquest.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

36 lines
1.2 KiB
YAML

Categories:
- Games
License: MPL-2.0
SourceCode: https://svn.strasweb.fr/listing.php?repname=Pierre+Rudloff&path=%2Fbrowserquest%2F
AutoName: BrowserQuest
Description: |-
This is a PhoneGap port of <a href="http://browserquest.mozilla.org">BrowserQuest</a>, the
HTML5 MMORPG (multiplayer online role-playing game) that Little Workshop created
for Mozilla. It is an old-school action-RPG in which you explore a medieval land
with your friends.
This is an early version and there are some problems with using the onscreen
keyboard to speak to others. Content is licensed as CC-BY-SA.
Builds:
- versionName: 1.0.1
versionCode: 3
commit: '143'
extlibs:
- Java-WebSocket.build.xml
prebuild:
- git clone https://github.com/claudemamo/Java-WebSocket
- mv libs/Java-WebSocket.build.xml Java-WebSocket/build.xml
- sed -i 's@lib\/android.jar@$$SDK$$\/platforms\/android-14\/android.jar@g'
Java-WebSocket/build.xml
- ant -f Java-WebSocket/build.xml
- mv Java-WebSocket/*.jar libs/
MaintainerNotes: Repo disappeared.
ArchivePolicy: 0 versions
AutoUpdateMode: None
UpdateCheckMode: None
NoSourceSince: 1.0.1