Skip to content
Permalink
Browse files
lie a little less
  • Loading branch information
ralsina committed May 9, 2015
1 parent 2fe0484 commit b8cec997d192f6785b28512b3eb3d118e513c9f2
Showing 1 changed file with 2 additions and 2 deletions.
@@ -95,8 +95,8 @@ posts are added into RSS feeds and stories are not. All of them are in a list ca
"the timeline" formed by objects of class ``Post``.

When you are creating a task that needs the list of posts and/or stories (for example,
the RSS creation plugin) on task execution time, your plugin should have a dependency
on the ``scan_posts`` task to ensure the timeline is created and available in
the RSS creation plugin) on task execution time, your plugin should call ``self.site.scan_posts()``
in ``gen_tasks`` to ensure the timeline is created and available in
``self.site.timeline``. You should not modify the timeline, because it will cause consistency issues.

.. sidebar:: scan_posts

0 comments on commit b8cec99

Please sign in to comment.