Alex Schroeder
6d5f97e1ba
journal-rss: fix headers for raw output
2021-02-20 11:17:56 +01:00
Alex Schroeder
4b1063c699
journal-rss: add one more test
2021-02-20 10:18:24 +01:00
Alex Schroeder
b891674a6f
journal-rss: support raw mode
2021-02-20 09:51:31 +01:00
Alex Schroeder
6af02a8a1e
Fix quoting of RC and RSS link parameters
...
When generating RC and RSS link parameters, the values of the
parameters were not URL encoded. This is now fixed.
2019-03-19 14:46:29 +01:00
Alex Schroeder
8f43c818df
journal-rss: fix bug
...
The old code assumed that a kept revision for the last major revision
would always exist. But if you just create a page using a minor edit, it
still gets shown, triggering a call to die. This fixes it.
2018-11-26 08:58:21 +01:00
Alex Schroeder
94fd9c0c2a
journal-rss: minor changes don't update pubDate
...
If this is a minor edit, let's keep everything as it is, but show the
date of the last major change, if possible. This is important for
blogs that get added to a Planet. A minor change doesn't mean that the
page needs to go to the front of the Planet.
2018-10-17 23:09:10 +02:00
Alex Schroeder
d303e5e955
journal-rss: switch to full page feed always
2018-07-19 16:18:17 +02:00
Alex Schroeder
ae646290ed
journal-rss: fix handling of new offset parameter
2018-07-19 16:02:24 +02:00
Alex Schroeder
1a74dc9605
journal-rss: don't ignore minor changes
...
If a page was created by just minor edits, then it is visible in a
journal. We shouldn't skip it from the journal RSS. Furthermore:
what's the point in showing the text from the last major version? Show
the latest version!
2018-07-19 15:52:17 +02:00
Alex Schroeder
42bb4888a2
rss-journal: support feed pagination
2018-07-19 14:36:27 +02:00
Alex Schroeder
58e9a1e240
use v5.10 everywhere + enabled test in meta.t
2015-08-18 10:48:03 +02:00
Alex Schroeder
dfa71cb2e3
Revert "Changed EN DASH to - in copyright lines"
...
This reverts commit 06c7fedec0 .
2015-07-28 22:44:53 +02:00
Alex Schroeder
06c7fedec0
Changed EN DASH to - in copyright lines
...
The EN DASH is not really required in year ranges such as 2012–2015 when
we're talking about comments in source code that is probably being
displayed in a fixed font anyway. Changing back to an ordinary hypen
allows us to make a meaningful test for use utf8.
2015-07-28 22:14:37 +02:00
Aleks-Daniel Jakimenko
17b2562054
No more "*Sub = *NewSub", \&NewSub used instead. (Completely now!)
2015-04-12 22:50:50 +03:00
Aleks-Daniel Jakimenko
6f8d281d79
No more "use vars"!
2015-04-10 13:31:28 +03:00
Alex Schroeder
ea15f107d7
journal-rss.pl uses strict
...
Should fix filtering by language, too.
2015-03-29 14:35:59 +02:00
Aleks-Daniel Jakimenko
4492ede096
"use strict;" in modules (some modules have problems)
2015-03-27 03:01:01 +02:00
Alex Schroeder
5aba2ae56f
Fixed typo in AddModuleDescription sub name
2014-08-21 22:23:23 +02:00
Alex Jakimenko
ee932dee37
Automatically reformatted modules
2014-08-21 07:29:46 +03:00
Alex Schroeder
a28f380125
journal-rss.pl: monthly parameter
...
As suggested by Ingo Belka on the wiki: The parameter monthly=1 will
set the match parameter to the current year and the current month.
2014-06-24 16:13:59 +02:00
Alex Schroeder
f11e2a8731
getting rid of $Id$ tags in $WikiDescription
...
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
f9c19c6382
(JournalRssGetRcLines): Make sure minor
...
changes and empty pages don't show up.
2010-12-04 15:13:53 +00:00
Alex Schroeder
976cf99218
(JournalRssGetRcLines): New. Add journal
...
to %NearLinksException.
2009-08-31 08:32:10 +00:00
Alex Schroeder
c28f10ff70
(JournalRssGetRcLines): Don't just skip
...
minor edits. Read the last major edit instead, if your can.
2009-03-07 16:05:34 +00:00
Alex Schroeder
90059eee1a
(JournalRssGetRcLines): Skip minor edits
...
instead of messing with them.
2009-02-23 09:57:40 +00:00
Alex Schroeder
67ef82ed5b
Copyright year, GPL v3, updated comments to document the code.
2008-09-21 23:23:01 +00:00
Alex Schroeder
c3cad241a6
(JournalRssGetRcLines): Reimplemented the item limit using a different method.
2008-09-21 22:54:28 +00:00
Alex Schroeder
d715051a90
(JournalRssGetRcLines): Reverse RSS sorting order.
2008-09-21 22:15:14 +00:00
Alex Schroeder
64a29b263d
(JournalRssGetRcLines): New.
...
(DoJournalRss): Use JournalRssGetRcLines since GetRcRss was
changed.
2008-09-21 22:07:01 +00:00
Alex Schroeder
dd63c50cad
(DoJournalRss): Added search parameter.
2007-09-14 21:18:58 +00:00
Alex Schroeder
8bff7cd253
(DoJournalRss): Protect call to
...
GetKeptRevision using eval for cases where the old revision is no
longer available.
2007-02-20 14:08:21 +00:00
Alex Schroeder
0c03f9fb4b
Updated copyright year.
2006-12-21 21:56:34 +00:00
Alex Schroeder
14facff422
(DoJournalRss): Undo last change where
...
the date is retrieved from the date in the header. Instead, the
date of the last major edit is used.
2006-12-21 21:40:19 +00:00
Alex Schroeder
a85855e40b
Fix GMT issue.
2006-12-12 15:17:59 +00:00
Alex Schroeder
cc95af9bfa
(DoJournalRss): In the default case, use
...
the date extracted from the page title to compute the pubDate we
will report. This makes more sense when the wiki feed is
incorporated into a planet, where all pages are sorted by pubDate.
Last edit date will look strange. You can still override it using
ts=1.
2006-12-12 14:53:41 +00:00
Alex Schroeder
b2cdf61912
Revert to revision 1.7.
2006-10-06 14:53:54 +00:00
Alex Schroeder
61b40e110a
(DoJournalRss): Fix parameter handling.
2006-10-06 09:57:29 +00:00
Alex Schroeder
bb50e9f95a
(DoJournalRss): Handle past and future
...
keywords.
2006-10-06 09:54:39 +00:00
Alex Schroeder
3eae2b0454
(DoJournalRss): Switch MIME type to
...
application/xml now that we produce RSS 2.0.
2005-07-20 20:05:51 +00:00
Alex Schroeder
c57359e9dd
Typo in a comment.
2005-07-20 20:02:19 +00:00
Alex Schroeder
3b71e77f45
* modules/journal-rss.pl (DoJournalRss): Handle rsslimit=all and
...
default showedit=1.
2004-10-10 20:21:24 +00:00
Alex Schroeder
3b4a76dde8
* modules/journal-rss.pl (DoJournalRss): Use rsslimit instead of
...
num and match instead of regexp, and reverse=1 instead of
type=reverse.
2004-10-10 15:39:16 +00:00
Alex Schroeder
a6cccb821e
(DoJournalRss): Cosmetic.
2004-10-10 15:06:39 +00:00
Alex Schroeder
a6b42a0431
(DoJournalRss): Use $CollectingJournal to
...
avoid infinite loops when including the full RSS.
2004-10-10 14:37:24 +00:00
Alex Schroeder
40f16f71e3
new
2004-10-10 14:32:41 +00:00