Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the nosort parameter. #999

Merged
merged 2 commits into from Jan 10, 2015
Merged

Conversation

robbat2
Copy link
Contributor

@robbat2 robbat2 commented Jan 9, 2015

Signed-off-by: Robin H. Johnson robbat2@gentoo.org

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). |

The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.

By default, SimplePie if all of the items in the feed contain dates, SimplePie will sort the items in the feed so that the newest are displayed first. You can reverse this with the ''reverse'' parameter, or disable it entirely with ''nosort''.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence reads weird. How about shortening it: By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
@robbat2
Copy link
Contributor Author

robbat2 commented Jan 9, 2015

Change done as requested.

@scrutinizer-notifier
Copy link

The inspection completed: 8 new issues

splitbrain added a commit that referenced this pull request Jan 10, 2015
Document the nosort parameter.
@splitbrain splitbrain merged commit d7862ff into dokuwiki:master Jan 10, 2015
@splitbrain
Copy link
Collaborator

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants