Changeset 319 in josm for src/org/openstreetmap/josm/plugins


Ignore:
Timestamp:
2007-09-04T10:21:49+02:00 (17 years ago)
Author:
imi
Message:
  • removed MinML2 dependency (use javax.xml)
  • fixed reorder action (thanks Robert)
  • added backup files before saving (thanks Dave)
  • added search for last modifying user (thanks Dave)
  • fixed import of plugin list and added author field (thanks Shaun)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/plugins/PluginDownloader.java

    r300 r319  
    6565        }
    6666
    67         private static final Pattern wiki = Pattern.compile("^</td></tr><tr><td><a class=\"ext-link\" href=\"([^\"]*)\"><span class=\"icon\">([^<]*)</span></a></td><td>[^<]*</td><td>([^<]*)</td><td>(.*)");
     67        private static final Pattern wiki = Pattern.compile("^</td></tr><tr><td><a class=\"ext-link\" href=\"([^\"]*)\"><span class=\"icon\">([^<]*)</span></a></td><td>([^<]*)</td><td>([^<].*)</td><td>(.*)");
    6868
    6969        public static int downloadDescription() {
     
    109109                        b.append("    <name>"+escape(m.group(2))+"</name>\n");
    110110                        b.append("    <resource>"+escape(m.group(1))+"</resource>\n");
    111                         b.append("    <description>"+escape(m.group(3))+"</description>\n");
    112                         b.append("    <version>"+escape(m.group(4))+"</version>\n");
     111                        b.append("    <author>"+escape(m.group(3))+"</author>\n");
     112                        b.append("    <description>"+escape(m.group(4))+"</description>\n");
     113                        b.append("    <version>"+escape(m.group(5))+"</version>\n");
    113114                        b.append("  </plugin>\n");
    114115                }
Note: See TracChangeset for help on using the changeset viewer.