Michael R. Davis > Geo-GoogleEarth-Document-0.11 > simple.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 ^

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

SAMPLE OUTPUT ^

  Content-Type: text/xml; charset=ISO-8859-1
  
  <?xml version='1.0' standalone='yes'?>
  <Document>
    <name>DC Tour</name>
    <Folder>
      <name>Government Folder</name>
      <Placemark>
        <name>White House</name>
        <Point>
          <coordinates>-77.0366,38.8976,0</coordinates>
        </Point>
        <description>&lt;html&gt;
                                     &lt;p&gt;White House&lt;/p&gt;
                                     &lt;p&gt;&lt;a href=&quot;http://www.whitehouse.gov/&quot;&gt;http://www.whitehouse.gov/&lt;/a&gt;&lt;/p&gt;
                                    &lt;/html&gt;</description>
      </Placemark>
      <Placemark>
        <name>United States Capitol</name>
        <Point>
          <coordinates>-77.009,38.8899,0</coordinates>
        </Point>
        <description>&lt;html&gt;
                                     &lt;p&gt;United States Capitol&lt;/p&gt;
                                     &lt;p&gt;&lt;a href=&quot;http://www.aoc.gov/&quot;&gt;http://www.aoc.gov/&lt;/a&gt;&lt;/p&gt;
                                    &lt;/html&gt;</description>
      </Placemark>
    </Folder>
  </Document>