lib/geos/point.rb
def to_georss(*args)
      xml = Geos::Helper.xml_options(*args)[0]
      xml.georss(:where) do
        xml.gml(:Point) do
          xml.gml(:pos, "#{self.lat} #{self.lng}")
        end
      end
    end
def to_georss(*args)
      xml = Geos::Helper.xml_options(*args)[0]
      xml.georss(:where) do
        xml.gml(:Point) do
          xml.gml(:pos, "#{self.lat} #{self.lng}")
        end
      end
    end
def to_georss ( * args ) xml = Geos :: Helper . xml_options ( args ) [ 0 ] xml . georss ( :where ) do xml . gml ( :Point ) do xml . gml ( :pos , "#{self.lat} #{self.lng}" ) end end end
Build some XmlMarkup for GeoRSS. You should include the
 appropriate georss and gml XML namespaces in your document.
Build some XmlMarkup for GeoRSS . You should include the appropriate georss and gml XML namespaces in your document .