chiark / gitweb /
Added support for donate links in the metadata - sooner or later these will be used...
authorCiaran Gultnieks <ciaran@ciarang.com>
Wed, 19 Jan 2011 00:12:36 +0000 (00:12 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Wed, 19 Jan 2011 00:12:36 +0000 (00:12 +0000)
README
metadata.py
metadata/org.geometerplus.zlibrary.ui.android.txt
metadata/org.swiftp.txt

diff --git a/README b/README
index 90390465634938200ef46fb50cf151aab80be49f..b04f183cf83a1f29695f3fb47aeb6572f4905c3f 100644 (file)
--- a/README
+++ b/README
@@ -71,6 +71,11 @@ something human-friendly. Machine-readable source-code is covered in the
 The URL for the application's issue tracker. Optional, since not all
 applications have one.
 
+==Donate==
+
+The URL to donate to the project. This could be the project's donate page
+if it has one, or perhaps even a direct PayPal link.
+
 ==Summary==
 
 A brief summary of what the application is.
index 4b104105708d8445d66299da52f88c0a0da197d7..acc4a162f56072c6fefad08228a655d11add45ae 100644 (file)
@@ -34,6 +34,7 @@ def read_metadata():
         thisinfo['web'] = ''
         thisinfo['source'] = ''
         thisinfo['tracker'] = ''
+        thisinfo['donate'] = ''
         thisinfo['disabled'] = None
         thisinfo['antifeatures'] = None
         thisinfo['marketversion'] = ''
@@ -70,6 +71,8 @@ def read_metadata():
                         thisinfo['web'] = value
                     elif field == 'Issue Tracker':
                         thisinfo['tracker'] = value
+                    elif field == 'Donate':
+                        thisinfo['donate'] = value
                     elif field == 'Disabled':
                         thisinfo['disabled'] = value
                     elif field == 'AntiFeatures':
index bbabd8bb73e430b5c604e65744a04c15911e3e90..1d92748e563dd27f30a5d62b451e434a93a3585e 100644 (file)
@@ -2,6 +2,7 @@ License:GPLv2+
 Web Site:http://www.fbreader.org/FBReaderJ/
 Source Code:http://www.fbreader.org/FBReaderJ/
 Issue Tracker:
+Donate:http://www.fbreader.org/donation/make.php
 Summary:An e-book reader
 Description:
 An e-book reader.
index ae1f049f14e339de1d051219f4ad2570b3821258..748d1235353355f62d8dd35759290ea6a1c6c8b2 100644 (file)
@@ -2,6 +2,7 @@ License:GPLv3
 Web Site:http://code.google.com/p/swiftp/
 Source Code:http://code.google.com/p/swiftp/source/checkout
 Issue Tracker:http://code.google.com/p/swiftp/issues/list
+Donate:http://www.swiftp.org/donate.html
 Summary:FTP server
 Description:
 An FTP server allowing remote access to files on your SD card (or any files on the