Re: AllMajorChanges functionality and clarification on how web feeds work
Petko Yotov <[email protected]> Sun, 29 Jun 2025 10:42:54 +0200
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
I have committed to Subversion a function to keep the previous $page['time'] attribute when the "Minor edit" checkbox is selected. See documentation at: https://www.pmwiki.org/EditVariables#EnableMinorEditKeepMeta You can get the pre-release from ChangeLog to test it: https://www.pmwiki.org/ChangeLog Please report if you notice any problems. Petko -- If you upgrade : https://www.pmwiki.org/Upgrades On 11/05/2025 20:15, Petko Yotov wrote: > Sorry, the Cookbook:MajorChanges recipe seems to claim that the RSS > feed would only show the last "major" edit and time for pages. This is > incorrect. > > When you use that recipe, the feed items will be in the same order as > the links in the page (or add &trail=Site.AllMajorChanges to the url). > > However, when the individual RSS items are generated, every linked > page is listed with its last modified description, title, date, > summary, and author. It is the last ones, not the last major ones. > > The AllMajorChanges page lists for example the page Dayon as it had a > major edit in January. But when the feed is generated, it sees this > page in the list and pulls the latest edit information which was > today. > > So your observation is correct. > > Apparently there is a feature request from 2005: > > https://www.pmwiki.org/wiki/PITS/00623 > > It was marked with low priority, a single user voted, and nobody > pushed for it. Maybe now is a good time to find a way to implement it, > either in the core or as a recipe? > > Petko > > > On 11/05/2025 18:37, Markong wrote: >> Hello list! >> >> I'm having an hard time understanding how the generated web feeds >> work: what I'm trying to achieve is described here [1], in particular >> I'm trying to generate an rss/atom feed with all the major changes >> (wiki changes except minor edits). >> >> The problem is that when I look at the Site.MajorChanges [2] page, I >> can see that correctly only major edits are listed, but if instead I >> try to generate a rss feed for that page e.g.: [3] the generated feed >> contains the major changes *and* also all the minor edits which I >> don't want to be added there ! >> >> I've reviewed quite thoroughly the web feeds doc. [4] and despite >> founding the page a bit convoluted, from what I understand [2] content >> structure represents a valid wikitrail like the companion standard [5] >> all changes page, yet its rss feed [3] contain extra entries. >> >> The cookbook recipe starts with "Create group.MajorChanges pages and >> Site.AllMajorChanges to track all major changes.." which I think I >> have created (just inserted the URLs in the browser bar and saved the >> pages), is that enough to create those pages ? >> >> What the cookbook page author means [1] with "If the page >> Site.AllMajorChanges is used as part of an RSS feed, the RSS feed will >> show all of the major changes made to a wiki." ? >> >> Am I misunderstanding something or is there some more recent and easy >> ways to achieve what I'm trying to achieve ? >>