User:Ganeshk/WoRMS

From Wikipedia, the free encyclopedia
Screenshot of the WoRMS plugin on AWB

WoRMS Plugin is an AutoWikiBrowser plug-in that allows downloading information from the World Register of Marine Species using web services. It was written by Ganeshk.

WoRMS website for more information regarding the web services they provide.

Download[edit]

Using WoRMS Plugin[edit]

First, open AutoWikiBrowser.exe.config file using a text editor (Notepad) and add the following to the end of the file just before the </configuration> section.

   <system.serviceModel>
       <bindings>
           <basicHttpBinding>
               <binding name="AphiaNameServiceBinding" closeTimeout="00:01:00"
                   openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                   allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                   maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                   messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                   useDefaultWebProxy="true">
                   <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                       maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                   <security mode="None">
                       <transport clientCredentialType="None" proxyCredentialType="None"
                           realm="" />
                       <message clientCredentialType="UserName" algorithmSuite="Default" />
                   </security>
               </binding>
           </basicHttpBinding>
       </bindings>
       <client>
           <endpoint address="http://www.marinespecies.org/aphia.php?p=soap"
               binding="basicHttpBinding" bindingConfiguration="AphiaNameServiceBinding"
               contract="Aphia.AphiaNameServicePortType" name="AphiaNameServicePort" />
       </client>
   </system.serviceModel>
  1. Create a text file with a list of species names
  2. Start AWB
  3. Select WoRMS Plugin from the Plugins menu
  4. Select the input text file
  5. In the Settings box, enter a WikiPage Name (optional). This will create a wiki table with the results. Use a subpage under your user page. For example, "User:Ganeshk/sandbox/Species listing".
  6. In the Settings box, select whether to export to CSV file
  7. In the Settings box, select a field delimiter. Default is "~"
  8. Click OK
  9. If the export to CSV was checked, select the text file to write the output to and click Save.
  10. AWB will display progress on the status bar. Each species in the input text file is checked against WoRMS database.
  11. Go to skip tab and select "Don't care" in the Page option.
  12. Also, uncheck "only genfixes" in the General skip options
  13. Once the process is complete, proceed to saving the changes to Wiki Page (if required).

Example[edit]

History[edit]

  • 1.0.0.2 - Allow settings to be saved and loaded. - May 14, 2014
  • 1.0.0.1 - Fixed the program to write unicode files. - March 11, 2010
  • 1.0.0.0 - Released to public. - March 9, 2010

Source[edit]

Full source code available on Google Drive (select File - Download). It was developed with Visual Basic 2008 Express.