(self, entry)
return entry
Add additional fields to an RSS item.

        :param feed: The RSS item XML element to use.
Add additional fields to an RSS item.
Add additional fields to an RSS item .
def extend_file(self, entry):
        '''Add additional fields to an RSS item.

        :param feed: The RSS item XML element to use.
        '''

        GEO_NS = 'http://www.georss.org/georss'

        if self.__point:
            point = xml_elem('{%s}point' % GEO_NS, entry)
            point.text = self.__point

        if self.__line:
            line = xml_elem('{%s}line' % GEO_NS, entry)
            line.text = self.__line

        if self.__polygon:
            polygon = xml_elem('{%s}polygon' % GEO_NS, entry)
            polygon.text = self.__polygon

        if self.__box:
            box = xml_elem('{%s}box' % GEO_NS, entry)
            box.text = self.__box

        if self.__featuretypetag:
            featuretypetag = xml_elem('{%s}featuretypetag' % GEO_NS, entry)
            featuretypetag.text = self.__featuretypetag

        if self.__relationshiptag:
            relationshiptag = xml_elem('{%s}relationshiptag' % GEO_NS, entry)
            relationshiptag.text = self.__relationshiptag

        if self.__featurename:
            featurename = xml_elem('{%s}featurename' % GEO_NS, entry)
            featurename.text = self.__featurename

        if self.__elev:
            elevation = xml_elem('{%s}elev' % GEO_NS, entry)
            elevation.text = str(self.__elev)

        if self.__floor:
            floor = xml_elem('{%s}floor' % GEO_NS, entry)
            floor.text = str(self.__floor)

        if self.__radius:
            radius = xml_elem('{%s}radius' % GEO_NS, entry)
            radius.text = str(self.__radius)

        return entry
def extend_file ( self , entry ) : GEO_NS = 'http://www.georss.org/georss' if self . __point : point = xml_elem ( '{%s}point' % GEO_NS , entry ) point . text = self . __point if self . __line : line = xml_elem ( '{%s}line' % GEO_NS , entry ) line . text = self . __line if self . __polygon : polygon = xml_elem ( '{%s}polygon' % GEO_NS , entry ) polygon . text = self . __polygon if self . __box : box = xml_elem ( '{%s}box' % GEO_NS , entry ) box . text = self . __box if self . __featuretypetag : featuretypetag = xml_elem ( '{%s}featuretypetag' % GEO_NS , entry ) featuretypetag . text = self . __featuretypetag if self . __relationshiptag : relationshiptag = xml_elem ( '{%s}relationshiptag' % GEO_NS , entry ) relationshiptag . text = self . __relationshiptag if self . __featurename : featurename = xml_elem ( '{%s}featurename' % GEO_NS , entry ) featurename . text = self . __featurename if self . __elev : elevation = xml_elem ( '{%s}elev' % GEO_NS , entry ) elevation . text = str ( self . __elev ) if self . __floor : floor = xml_elem ( '{%s}floor' % GEO_NS , entry ) floor . text = str ( self . __floor ) if self . __radius : radius = xml_elem ( '{%s}radius' % GEO_NS , entry ) radius . text = str ( self . __radius ) return entry