Michael R. Davis > Geo-GoogleEarth-Document-0.11 > example.cgi

Download:
Geo-GoogleEarth-Document-0.11.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source  

NAME ^

example.cgi - Geo::GoogleEarth::Document example

SAMPLE OUTPUT ^

  Content-Type: text/xml; charset=ISO-8859-1
  
  <?xml version='1.0' standalone='yes'?>
  <Document>
    <name>My Document Name</name>
    <Folder>
      <name>-77</name>
      <Placemark>
        <name>39 -77</name>
        <Point>
          <coordinates>-77,39,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;39 -77&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>40 -77</name>
        <Point>
          <coordinates>-77,40,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;40 -77&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>41 -77</name>
        <Point>
          <coordinates>-77,41,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;41 -77&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
    </Folder>
    <Folder>
      <name>-78</name>
      <Placemark>
        <name>39 -78</name>
        <Point>
          <coordinates>-78,39,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;39 -78&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>40 -78</name>
        <Point>
          <coordinates>-78,40,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;40 -78&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>41 -78</name>
        <Point>
          <coordinates>-78,41,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;41 -78&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
    </Folder>
    <Folder>
      <name>-79</name>
      <Placemark>
        <name>39 -79</name>
        <Point>
          <coordinates>-79,39,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;39 -79&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>40 -79</name>
        <Point>
          <coordinates>-79,40,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;40 -79&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>41 -79</name>
        <Point>
          <coordinates>-79,41,0</coordinates>
        </Point>
        <description>&lt;html&gt;&lt;p&gt;41 -79&lt;/p&gt;&lt;/html&gt;</description>
      </Placemark>
    </Folder>
  </Document>