diff --git a/feedgen/ext/dc.py b/feedgen/ext/dc.py index f731c0b..466c66d 100644 --- a/feedgen/ext/dc.py +++ b/feedgen/ext/dc.py @@ -91,7 +91,7 @@ def dc_contributor(self, contributor=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-contributor :param contributor: Contributor or list of contributors. - :param replace: Replace alredy set contributors (deault: False). + :param replace: Replace already set contributors (default: False). :returns: List of contributors. ''' if contributor is not None: @@ -139,7 +139,7 @@ def dc_creator(self, creator=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-creator :param creator: Creator or list of creators. - :param replace: Replace alredy set creators (deault: False). + :param replace: Replace already set creators (default: False). :returns: List of creators. ''' if creator is not None: @@ -158,7 +158,7 @@ def dc_date(self, date=None, replace=True): http://dublincore.org/documents/dcmi-terms/#elements-date :param date: Date or list of dates. - :param replace: Replace alredy set dates (deault: True). + :param replace: Replace already set dates (default: True). :returns: List of dates. ''' if date is not None: @@ -176,7 +176,7 @@ def dc_description(self, description=None, replace=True): http://dublincore.org/documents/dcmi-terms/#elements-description :param description: Description or list of descriptions. - :param replace: Replace alredy set descriptions (deault: True). + :param replace: Replace already set descriptions (default: True). :returns: List of descriptions. ''' if description is not None: @@ -195,7 +195,7 @@ def dc_format(self, format=None, replace=True): http://dublincore.org/documents/dcmi-terms/#elements-format :param format: Format of the resource or list of formats. - :param replace: Replace alredy set format (deault: True). + :param replace: Replace already set format (default: True). :returns: Format of the resource. ''' if format is not None: @@ -214,7 +214,7 @@ def dc_identifier(self, identifier=None, replace=True): http://dublincore.org/documents/dcmi-terms/#elements-identifier :param identifier: Identifier of the resource or list of identifiers. - :param replace: Replace alredy set identifier (deault: True). + :param replace: Replace already set identifier (default: True). :returns: Identifiers of the resource. ''' if identifier is not None: @@ -233,7 +233,7 @@ def dc_language(self, language=None, replace=True): http://dublincore.org/documents/dcmi-terms/#elements-language :param language: Language or list of languages. - :param replace: Replace alredy set languages (deault: True). + :param replace: Replace already set languages (default: True). :returns: List of languages. ''' if language is not None: @@ -252,7 +252,7 @@ def dc_publisher(self, publisher=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-publisher :param publisher: Publisher or list of publishers. - :param replace: Replace alredy set publishers (deault: False). + :param replace: Replace already set publishers (default: False). :returns: List of publishers. ''' if publisher is not None: @@ -270,7 +270,7 @@ def dc_relation(self, relation=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-relation :param relation: Relation or list of relations. - :param replace: Replace alredy set relations (deault: False). + :param replace: Replace already set relations (default: False). :returns: List of relations. ''' if relation is not None: @@ -289,7 +289,7 @@ def dc_rights(self, rights=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-rights :param rights: Rights information or list of rights information. - :param replace: Replace alredy set rightss (deault: False). + :param replace: Replace already set rights (default: False). :returns: List of rights information. ''' if rights is not None: @@ -313,7 +313,7 @@ def dc_source(self, source=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-source :param source: Source or list of sources. - :param replace: Replace alredy set sources (deault: False). + :param replace: Replace already set sources (default: False). :returns: List of sources. ''' if source is not None: @@ -331,7 +331,7 @@ def dc_subject(self, subject=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-subject :param subject: Subject or list of subjects. - :param replace: Replace alredy set subjects (deault: False). + :param replace: Replace already set subjects (default: False). :returns: List of subjects. ''' if subject is not None: @@ -349,7 +349,7 @@ def dc_title(self, title=None, replace=True): http://dublincore.org/documents/dcmi-terms/#elements-title :param title: Title or list of titles. - :param replace: Replace alredy set titles (deault: False). + :param replace: Replace already set titles (default: False). :returns: List of titles. ''' if title is not None: @@ -368,7 +368,7 @@ def dc_type(self, type=None, replace=False): http://dublincore.org/documents/dcmi-terms/#elements-type :param type: Type or list of types. - :param replace: Replace alredy set types (deault: False). + :param replace: Replace already set types (default: False). :returns: List of types. ''' if type is not None: diff --git a/feedgen/ext/geo_entry.py b/feedgen/ext/geo_entry.py index bb06cc2..4c18cfe 100644 --- a/feedgen/ext/geo_entry.py +++ b/feedgen/ext/geo_entry.py @@ -281,7 +281,7 @@ def geom_from_geo_interface(self, geom): - Point - LineString - Polygon (if there are holes / donuts in the polygons a warning will - be generaated + be generated Other GeoJson types will raise a ``ValueError``. diff --git a/feedgen/feed.py b/feedgen/feed.py index f5a8fdd..c32227b 100644 --- a/feedgen/feed.py +++ b/feedgen/feed.py @@ -997,7 +997,7 @@ def webMaster(self, webMaster=None): def add_entry(self, feedEntry=None, order='prepend'): '''This method will add a new entry to the feed. If the feedEntry - argument is omittet a new Entry object is created automatically. This + argument is omitted a new Entry object is created automatically. This is the preferred way to add new entries to a feed. :param feedEntry: FeedEntry object to add. @@ -1042,7 +1042,7 @@ def add_entry(self, feedEntry=None, order='prepend'): def add_item(self, item=None): '''This method will add a new item to the feed. If the item argument is - omittet a new FeedEntry object is created automatically. This is just + omitted a new FeedEntry object is created automatically. This is just another name for add_entry(...) ''' return self.add_entry(item)