Submitter 2.7 build: 9172 released: 2008-05-12 Submits pad xmls to 18 websites. Copyright (c) 2008 Canadian Mind Products. signed Java Applet (that can also be run as an application). Download from http://mindprod.com/products1.html#SUBMITTER ===> Free <=== Full source included. You may even include the source code, modified or unmodified in commercial programs that you write and distribute. May be used freely for any purpose but military. For more details on this restriction, see http://mindprod.com/roedy.html#NONMILITARY If you include any Canadian Mind Products code in your own applications, your app too must be labeled non-military use only. All Java jars and source code are included. ---- Prerequisites: This program runs under any OS, (e.g. Win2K/XP/Vista/OSX/Linux/Solaris/Vista64/AIX...) so long as you have <><> Java version 1.5 <><> or later installed. See http://mindprod.com/jgloss/installingjava.html for details. ---- Installing on a PC: Download source and compiled class files to run on your own machine as an application or Applet. First install a recent Java JDK or JVM. See http://mindprod.com/jgloss/installingjava.html. To install, extract the zip download with Winzip (or similar unzip utility) into any directory you please, often J:\ -- ticking off the "user folder names" option. To run as an application,type: java -jar J:\com\mindprod\submitter\submitter.jar parms adjusting as necessary to account for where the jar file is. ---- Installing on a MacIntosh: Use Safari to download source and compiled class files to run on your own machine as an application or Applet. Safari will automatically unpack the zip into ~/Downloads (version 10.5) [or on the Desktop (version 10.4 and earlier)]. First install a recent Java JDK or JVM. See http://mindprod.com/jgloss/installingjava.html. You may optionally move the download tree to a permanent home. To run as an application, without parameters, just double click the jar file. To run as an application with parameters, in bash shell type: open Terminal.app cd ~/Desktop java -jar com/mindprod/submitter/submitter.jar parms adjusting as necessary to account for where the jar file is. I don't have a MacIntosh, just a PC, so I can't test the programs for Mac compatibility. In theory they should work without problems, but in practice that does not always happen. If you have problems please, let me know, preferably with screenshots and complete verbatim error messages. ---- Rebuilding: The zip already contains the necessary class and jar files, so unless you modify the program, there is no need to recompile the source or rebuild the jar. Configure basedir="E:/" in rebuild.xml to the drive where your files are. Configure your certificate name with environment SET cert=mindprodcert2008dsa Configure your certificate password with environment SET jarsignerpassword=sesame Use ANT and rebuild.xml, not build.xml, to recompile and recreate the jar. ---- Use: Submitter will submit your PAD *.xml program descriptor file to 17 websites. Compose your PAD *.xml file using a program like PADGen, then upload it you your website. Then enter the URL of your website directory where you upload pads e.g. http://mypretendwebsite.com/pad and the name of the pad itself e.g. hypotheticalprogram.xml, then hit SUBMIT. The current list of sites is: 1. AmazingDownloads 2. BestFreewareDownload 3. DownBroad 4. Download-o-maniac! 5. Download3K 6. DownloadReady 7. Downloads2K 8 FileCluster 9. Filevolution 10. IFreewareDownload 11. PadRing 12. ShareSoftware24 13. Software-Dungeon 14. SoftwareArea51 15. Techpedia 16. Trial-Files 17. TwoBrothers 18. WillingSoftware See http://mindprod.com/jgloss/pad.html for hints on creating your PAD file. You can run it as a signed Applet or as standalone application: java com.mindprod.submitter.Submitter The Applet must be signed to allow it to talk to a variety of websites and to use the registry to persist just which pads it has already submitted. If you turn on the Java console, you can view the log of how the various websites responded. Normally you just get to see them for a few seconds. SUBMITBATCH ----------- There is also a batch version of the program. To use it, you prepare a list of complete URLs of your pad files on your website like this: http://mysite.com/pad/fantastic.xml http://mysite.com/pad/great.xml http://mysite.com/pad/astounding.xml ;http://ignorethissite.com/alreadydone.xml Lead semicolon means ignore, treat as comment. and put the list in a text file somewhere, called for example E:\env\pads.list You must have previously uploaded all these pads and the corresponding programs to your website. Then you can can submit that entire list of pads to every website with one command: java -jar submitbatch.jar E:\env\pads.list You might want to use 4NT scrolling, > output.txt or a tee utility to capture the voluminous console output to a file. Unlike the Applet version, the batch version will not stop you from frequently resubmitting PADs. Don't abuse that freedom, or the PAD websites may block you. You can also limit which sites you submit the list to by supplying a second parameter, e.g. java -jar submitbatch.jar E:\env\pads.list E:\env\somesites.list Where somesites.list looks like this: Download-o-maniac! PadPile Using the site names spelled precisely as is the list above. ICON ---- Why the intray icon? It represents dropping off a copy of your PAD file in the to-be-processed box of various websites. VERSION HISTORY --------------- 1.1 now uses two threads to give smoother repainting. It also accumulates all the output in the scroll region for all sites. 1.2 2007-05-29 add DownBroad website. 1.3 2007-06-02 add download3k website 1.4 2007-06-20 add downloadready website. Improved handling of down, non-compliant, or non-responsive websites. 1.5 2007-07-04 add HotLib website. 1.6 2007-07-19 new of GET/POST. New code for DownBroad. delete IgnoreTheLeft, modify HotLib. add BestFreewareDownload. Add SubmitBatch. 1.7 2007-08-12 add PadPile site, remove 1st4Software. 1.8 2007-08-24 use new http Read methods for proper handling of multibyte encoded streams. 1.9 2007-09-08 dropped HotLib which now requires a login. 2.0 2007-09-15 add Trial-Files 2.1 2007-09-25 add www.i-freeware-download.com 2.2 2007-09-26 add software-dungeon.co.uk 2.3 2007-11-30 add ShareSoftware24 2.4 2008-02-27 add Download-o-maniac!. Allow list of sites as parameter to submitbatch. 2.5 2008-02-28 remove padpile 2.6 2008-04-03 add build number to title, tidy code. 2.7 2008-05-12 add FileCluster