It's a community website with different people contributing content. One of the
contributors has pointed out to me that when they make a change to an old post
, the post doesn't show up in the list of "Latest Updates" on the home page (as
they would like it to).
That list is a list of the 10 most recent posts ordered by 'pubdate DESC'.
Looks as though I can simply change it to order by 'updated DESC' or 'modified
DESC' to get the behaviour I want. Logically - if I have understood Owen's
example correctly - I think it should be by 'updated DESC' but in the short
term I might need to set it to 'modified DESC' because I am sure nobody will
have thought to uncheck the "Minor Edit" checkbox. Where would I change what
that checkbox defaults to? I think for my users it would be easier if it
defaulted to unchecked.
Thanks for all the posts on this and the clarification of the different
timestamps.
Philip
On 8 Feb 2014, at 19:30, Owen Winkler wrote:
> I am the editor of an online magazine, covering the amazing activities
> of Justin Bieber.
>
> The Bieb has arrived for a vacation in Miami, and so I write a post
> about how his favorite place to cruise is Miami, and publish it with a
> couple of stock photos of Bieber 'shopped with Don Johnson. Habari
> publishes the post and sets the Published, Updated, and Modified dates
> all to the same value.
>
> I then write a post about Justin Bieber's success in Germany, where he's
> well known for his grasp of different languages, like German. Habari
> publishes the post and once again sets this post's Published, Updated,
> and Modified dates all to the same value. Because the *Updated* date is
> after the one about Miami, this post appears after that one in any feed
> that Habari publishes (Atom or RSS via plugin).
>
> The next day, I find out that Justin has been arrested by the Miami cops
> for speeding and coking up while driving. I decide to update that
> existing article with this news (usually, I just add a bold "UPDATE:" to
> the bottom of my post followed by the new content), and when I save it
> with the minor edit checkbox *not* checked, the Published date stays the
> same (since the date that I originally published the post is still
> yesterday), and the Updated and Modified dates are set to the current
> date and time. Because the Updated date of the Miami post is now
> *after* the polyglot one, the Miami post shows up as the most recent
> post in any feeds that Habari produces.
>
> Later that day, I learn that Bieber doesn't really know German (or
> indeed what "German" is) and decide to update that post to change all of
> the references from "German" to "Canadian". I feel this is a minor
> edit, not worthy of updating my news feeds, and so when I save the post,
> I check the "Minor Edit" checkbox. When the post is saved, the
> Published and Updated dates stay the same, but the Modified date is
> changed to the current date, which causes it to appear at the top ("most
> recently edited") of the list of posts in the admin, but doesn't affect
> its order in the feed or on the home page. The post about Miami remains
> the most recent thing I've updated in all feeds Habari publishes.
>
> All three date values are available to the theme for display, and the
> sort order that Habari uses for post output is generally based on the
> value of the Updated field, although this is possible to change with
> some code.
>
> Owen
>
> --
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/habari-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "habari-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
--
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
---
You received this message because you are subscribed to the Google Groups
"habari-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.