Revision: 28619
          http://sourceforge.net/p/bibdesk/svn/28619
Author:   hofman
Date:     2024-01-16 16:44:47 +0000 (Tue, 16 Jan 2024)
Log Message:
-----------
convert search group server plist to xml format

Modified Paths:
--------------
    trunk/bibdesk/SearchGroupServers.plist

Modified: trunk/bibdesk/SearchGroupServers.plist
===================================================================
--- trunk/bibdesk/SearchGroupServers.plist      2024-01-16 16:08:12 UTC (rev 
28618)
+++ trunk/bibdesk/SearchGroupServers.plist      2024-01-16 16:44:47 UTC (rev 
28619)
@@ -1,167 +1,251 @@
-(
-/* Entrez databases */
-    {
-        type = entrez;
-        name = PubMed;
-        database = pubmed;
-    },
-    {
-        type = entrez;
-        name = "3D Domains";
-        database = domains;
-    },
-    {
-        type = entrez;
-        name = Domains;
-        database = cdd;
-    },
-    {
-        type = entrez;
-        name = Genome;
-        database = genome;
-    },
-    {
-        type = entrez;
-        name = Nucleotide;
-        database = nucleotide;
-    },
-    {
-        type = entrez;
-        name = OMIM;
-        database = omim;
-    },
-    {
-        type = entrez;
-        name = PopSet;
-        database = popset;
-    },
-    {
-        type = entrez;
-        name = Protein;
-        database = protein;
-    },
-    {
-        type = entrez;
-        name = ProbeSet;
-        database = geo;
-    },
-    {
-        type = entrez;
-        name = Structure;
-        database = structure;
-    },
-    {
-        type = entrez;
-        name = SNP;
-        database = snp;
-    },
-    {
-        type = entrez;
-        name = Taxonomy;
-        database = taxonomy;
-    },
-    {
-        type = entrez;
-        name = UniGene;
-        database = unigene;
-    },
-    {
-        type = entrez;
-        name = UniSTS;
-        database = unists;
-    },
-/* z39.50 servers */
-
-/* We use IANA charset names for encoding, since the NSString localized
- * names are not suitable for keys.  An empty resultEncoding will be
- * interpreted as MARC-8.
- */
-    /* Library of Congress z39.50 connection */
-    /* Canonical test server.                */
-    {
-        type = zoom;
-        name = "Library of Congress";
-        database = Voyager;
-        host = "z3950.loc.gov";
-        port = "7090";
-        options = {
-            recordSyntax = "US MARC";
-            resultEncoding = "marc-8";
-        };
-    },
-    /* USC z39.50 connection */
-    /* This server limits the number of results that can be    */
-    /* returned in a single query, so it's useful for testing. */
-    {
-        type = zoom;
-        name = "University of Southern California";
-        database = unicorn;
-        host = "library.usc.edu";
-        port = "2200";
-        options = {
-            recordSyntax = "US MARC";
-            resultEncoding = "marc-8";
-        };
-    },
-    /* COPAC z39.50 connection */
-    /* Shows an alternate syntax and encoding specification. */
-    {
-        type = zoom;
-        name = "COPAC";
-        database = "copac";
-        host = "z3950.copac.ac.uk";
-        port = "2100";
-        options = {
-            recordSyntax = "MODS";
-            resultEncoding = "utf-8";
-        };
-    },
-    /* ADS z39.50 connection */
-    /* Bastard DC XML output that's missing any XML header. */
-    /* http://adsabs.harvard.edu/abs_doc/ads_server.html    */
-    {
-        type = zoom;
-        name = "ADS Astronomy";
-        database = "AST";
-        host = "z3950.adsabs.harvard.edu";
-        port = "210";
-        options = {
-            recordSyntax = "DC XML";
-            resultEncoding = "utf-8";
-        };
-    },
-    /* University of Basel z39.50 connection */
-    /* Example of a UTF-8 server which accepts diacritics */
-    /* in search strings.                                 */
-    {
-        type = zoom;
-        name = "UB Basel";
-        database = "IDS_UTF";
-        host = "aleph.unibas.ch";
-        port = "9909";
-        options = {
-            recordSyntax = "US MARC";
-            resultEncoding = "utf-8";
-        };
-    },
-    /* Columbia University */
-    /* Illustrates the use of a customized query config string. */
-    /* Note that the query config lines are separated by \n and */
-    /* there must be no leading space in the first line.        */
-    {
-        type = zoom;
-        name = "Columbia University";
-        database = "voyager";
-        host = "clio-db.cc.columbia.edu";
-        port = "7090";
-        options = {
-            recordSyntax = "US MARC";
-            resultEncoding = "marc-8";
-            /* config string that maps CCL keys to numeric fields */
-            /* http://www.loc.gov/z3950/agency/defns/bib1.html    */
-            /* http://www.loc.gov/z3950/agency/bib1.html          */
-            /* http://www.indexdata.com/yaz/doc/tools.tkl#CCL     */
-            queryConfig =  "term u=1016 t=l,r  s=al
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
+<plist version="1.0">
+<array>
+       <!--Entrez databases-->
+       <dict>
+               <key>database</key>
+               <string>pubmed</string>
+               <key>name</key>
+               <string>PubMed</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>domains</string>
+               <key>name</key>
+               <string>3D Domains</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>cdd</string>
+               <key>name</key>
+               <string>Domains</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>genome</string>
+               <key>name</key>
+               <string>Genome</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>nucleotide</string>
+               <key>name</key>
+               <string>Nucleotide</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>omim</string>
+               <key>name</key>
+               <string>OMIM</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>popset</string>
+               <key>name</key>
+               <string>PopSet</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>protein</string>
+               <key>name</key>
+               <string>Protein</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>geo</string>
+               <key>name</key>
+               <string>ProbeSet</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>structure</string>
+               <key>name</key>
+               <string>Structure</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>snp</string>
+               <key>name</key>
+               <string>SNP</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>taxonomy</string>
+               <key>name</key>
+               <string>Taxonomy</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>unigene</string>
+               <key>name</key>
+               <string>UniGene</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>unists</string>
+               <key>name</key>
+               <string>UniSTS</string>
+               <key>type</key>
+               <string>entrez</string>
+       </dict>
+       <!--Z39.50 servers-->
+       <!--We use IANA charset names for encoding,
+           since the NSString localized names are not suitable for keys.
+           An empty resultEncoding will be interpreted as MARC-8.-->
+       <!--Library of Congress z39.50 connection
+           Canonical test server.-->
+       <dict>
+               <key>database</key>
+               <string>Voyager</string>
+               <key>host</key>
+               <string>z3950.loc.gov</string>
+               <key>name</key>
+               <string>Library of Congress</string>
+               <key>options</key>
+               <dict>
+                       <key>recordSyntax</key>
+                       <string>US MARC</string>
+                       <key>resultEncoding</key>
+                       <string>marc-8</string>
+               </dict>
+               <key>port</key>
+               <string>7090</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--USC z39.50 connection
+           This server limits the number of results that can be
+           returned in a single query, so it's useful for testing.-->
+       <dict>
+               <key>database</key>
+               <string>unicorn</string>
+               <key>host</key>
+               <string>library.usc.edu</string>
+               <key>name</key>
+               <string>University of Southern California</string>
+               <key>options</key>
+               <dict>
+                       <key>recordSyntax</key>
+                       <string>US MARC</string>
+                       <key>resultEncoding</key>
+                       <string>marc-8</string>
+               </dict>
+               <key>port</key>
+               <string>2200</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--COPAC z39.50 connection */
+           Shows an alternate syntax and encoding specification.-->
+       <dict>
+               <key>database</key>
+               <string>copac</string>
+               <key>host</key>
+               <string>z3950.copac.ac.uk</string>
+               <key>name</key>
+               <string>COPAC</string>
+               <key>options</key>
+               <dict>
+                       <key>recordSyntax</key>
+                       <string>MODS</string>
+                       <key>resultEncoding</key>
+                       <string>utf-8</string>
+               </dict>
+               <key>port</key>
+               <string>2100</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--DS z39.50 connection
+           Bastard DC XML output that's missing any XML header.
+           http://adsabs.harvard.edu/abs_doc/ads_server.html-->
+       <dict>
+               <key>database</key>
+               <string>AST</string>
+               <key>host</key>
+               <string>z3950.adsabs.harvard.edu</string>
+               <key>name</key>
+               <string>ADS Astronomy</string>
+               <key>options</key>
+               <dict>
+                       <key>recordSyntax</key>
+                       <string>DC XML</string>
+                       <key>resultEncoding</key>
+                       <string>utf-8</string>
+               </dict>
+               <key>port</key>
+               <string>210</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--University of Basel z39.50 connection
+           Example of a UTF-8 server which accepts diacritics
+           in search strings.-->
+       <dict>
+               <key>database</key>
+               <string>IDS_UTF</string>
+               <key>host</key>
+               <string>aleph.unibas.ch</string>
+               <key>name</key>
+               <string>UB Basel</string>
+               <key>options</key>
+               <dict>
+                       <key>recordSyntax</key>
+                       <string>US MARC</string>
+                       <key>resultEncoding</key>
+                       <string>utf-8</string>
+               </dict>
+               <key>port</key>
+               <string>9909</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--Columbia University
+           Illustrates the use of a customized query config string.
+           Note that the query config lines are separated by \n and
+           there must be no leading space in the first line.-->
+       <dict>
+               <key>database</key>
+               <string>voyager</string>
+               <key>host</key>
+               <string>clio-db.cc.columbia.edu</string>
+               <key>name</key>
+               <string>Columbia University</string>
+               <key>options</key>
+               <!--config string that maps CCL keys to numeric fields
+                   http://www.loc.gov/z3950/agency/defns/bib1.html
+                   http://www.loc.gov/z3950/agency/bib1.html
+                   http://www.indexdata.com/yaz/doc/tools.tkl#CCL-->
+               <dict>
+                       <key>queryConfig</key>
+                       <string>term u=1016 t=l,r  s=al
                             au   u=1003 s=pw 
                             ti   u=4    s=pw
                             isbn u=7
@@ -173,35 +257,61 @@
                             da   u=32   r=r
                             la   u=54   s=pw
                             ab   u=62   s=pw
-                            note u=63   s=pw";
-            removeDiacritics = "YES";
-        };
-    },
-    /* University of Zurich */
-    /* Illustrates the use of username/password keys and */
-    /* Unicode characters in an ASCII property list.     */
-    {
-        type = zoom;
-        name = "University of Z\U00FCrich";
-        database = "IDS_UTF";
-        host = "biblio.unizh.ch";
-        port = "9909";
-        options = {
-            recordSyntax = "US MARC";
-            resultEncoding = "utf-8";
-            username = "z39";
-            password = "z39";
-        };
-    },
-/* DBLP servers */
-    {
-        type = dblp;
-        name = "DBLP Authors";
-        database = "Authors";
-    },
-    {
-        type = dblp;
-        name = "DBLP Publications";
-        database = "Publications";
-    }
-)
+                            note u=63   s=pw</string>
+                       <key>recordSyntax</key>
+                       <string>US MARC</string>
+                       <key>removeDiacritics</key>
+                       <string>YES</string>
+                       <key>resultEncoding</key>
+                       <string>marc-8</string>
+               </dict>
+               <key>port</key>
+               <string>7090</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--University of Zurich
+           Illustrates the use of username/password keys and
+           Unicode characters in an ASCII property list.-->
+       <dict>
+               <key>database</key>
+               <string>IDS_UTF</string>
+               <key>host</key>
+               <string>biblio.unizh.ch</string>
+               <key>name</key>
+               <string>University of Zürich</string>
+               <key>options</key>
+               <dict>
+                       <key>password</key>
+                       <string>z39</string>
+                       <key>recordSyntax</key>
+                       <string>US MARC</string>
+                       <key>resultEncoding</key>
+                       <string>utf-8</string>
+                       <key>username</key>
+                       <string>z39</string>
+               </dict>
+               <key>port</key>
+               <string>9909</string>
+               <key>type</key>
+               <string>zoom</string>
+       </dict>
+       <!--DBLP servers-->
+       <dict>
+               <key>database</key>
+               <string>Authors</string>
+               <key>name</key>
+               <string>DBLP Authors</string>
+               <key>type</key>
+               <string>dblp</string>
+       </dict>
+       <dict>
+               <key>database</key>
+               <string>Publications</string>
+               <key>name</key>
+               <string>DBLP Publications</string>
+               <key>type</key>
+               <string>dblp</string>
+       </dict>
+</array>
+</plist>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to