Fix a few typos.
deprected → deprecated instanciate → instantiate repostiory → repository ressource → resource
This commit is contained in:
parent
e3a3d053d4
commit
9da6b17ca2
4 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@
|
||||||
Create a Feed
|
Create a Feed
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
To create a feed simply instanciate the FeedGenerator class and insert some
|
To create a feed simply instantiate the FeedGenerator class and insert some
|
||||||
data::
|
data::
|
||||||
|
|
||||||
>>> from feedgen.feed import FeedGenerator
|
>>> from feedgen.feed import FeedGenerator
|
||||||
|
|
|
@ -582,10 +582,10 @@ class FeedEntry(object):
|
||||||
was published. This method is just another name for the published(...)
|
was published. This method is just another name for the published(...)
|
||||||
method.
|
method.
|
||||||
|
|
||||||
pubdate(…) is deprected and may be removed in feedgen ≥ 0.8. Use
|
pubdate(…) is deprecated and may be removed in feedgen ≥ 0.8. Use
|
||||||
pubDate(…) instead.
|
pubDate(…) instead.
|
||||||
'''
|
'''
|
||||||
warnings.warn('pubdate(…) is deprected and may be removed in feedgen '
|
warnings.warn('pubdate(…) is deprecated and may be removed in feedgen '
|
||||||
'≥ 0.8. Use pubDate(…) instead.')
|
'≥ 0.8. Use pubDate(…) instead.')
|
||||||
return self.published(pubDate)
|
return self.published(pubDate)
|
||||||
|
|
||||||
|
|
|
@ -265,7 +265,7 @@ class DcBaseExtension(BaseExtension):
|
||||||
return self._dcelem_publisher
|
return self._dcelem_publisher
|
||||||
|
|
||||||
def dc_relation(self, relation=None, replace=False):
|
def dc_relation(self, relation=None, replace=False):
|
||||||
'''Get or set the dc:relation which describes a related ressource.
|
'''Get or set the dc:relation which describes a related resource.
|
||||||
|
|
||||||
For more information see:
|
For more information see:
|
||||||
http://dublincore.org/documents/dcmi-terms/#elements-relation
|
http://dublincore.org/documents/dcmi-terms/#elements-relation
|
||||||
|
|
|
@ -32,7 +32,7 @@ Installation
|
||||||
**Prebuild packages**
|
**Prebuild packages**
|
||||||
|
|
||||||
If you are running Fedora Linux, RedHat Enterprise Linux, CentOS or Scientific
|
If you are running Fedora Linux, RedHat Enterprise Linux, CentOS or Scientific
|
||||||
Linux you can use the RPM Copr repostiory:
|
Linux you can use the RPM Copr repository:
|
||||||
|
|
||||||
http://copr.fedoraproject.org/coprs/lkiesow/python-feedgen/
|
http://copr.fedoraproject.org/coprs/lkiesow/python-feedgen/
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ You can also use pip to install the feedgen module. Simply run::
|
||||||
Create a Feed
|
Create a Feed
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
To create a feed simply instanciate the FeedGenerator class and insert some
|
To create a feed simply instantiate the FeedGenerator class and insert some
|
||||||
data::
|
data::
|
||||||
|
|
||||||
>>> from feedgen.feed import FeedGenerator
|
>>> from feedgen.feed import FeedGenerator
|
||||||
|
|
Loading…
Reference in a new issue