summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-03-21 14:19:21 -0400
committerJoey Hess <joey@kitenet.net>2011-03-21 14:19:21 -0400
commitb02d3746e1585b9cd2ce176e3e475eadf6eaa293 (patch)
tree4d2c9d6aacbb359b88cd3e32a620765cee1b1e0a /doc/plugins
parent32200025ccdef4ff43c7bf90eeb44699844b704b (diff)
aggregate: Read cookies from ~/.ikiwiki/cookies by default. Also, the cookiejar configuration setting can be used by other plugins to provide a custom `cookie_jar` object for LWP::UserAgent. (Thanks, schmonz)
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/aggregate.mdwn7
-rw-r--r--doc/plugins/aggregate/discussion.mdwn2
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/plugins/aggregate.mdwn b/doc/plugins/aggregate.mdwn
index 2925b6fba..75123d923 100644
--- a/doc/plugins/aggregate.mdwn
+++ b/doc/plugins/aggregate.mdwn
@@ -48,3 +48,10 @@ plugin as well as aggregate itself, since feed entries will be stored as
HTML, and as first-class wiki pages -- each one generates
a separate HTML page in the output, and they can even be edited. This
option is provided only for backwards compatability.
+
+## cookies
+
+The `cookiejar` option can be used to configure how [[!cpan LWP::UserAgent]]
+handles cookies. The default is to read them from a file
+`~/.ikiwiki/cookies`, which can be populated using standard perl cookie
+tools like [[!cpan HTTP::Cookies]].
diff --git a/doc/plugins/aggregate/discussion.mdwn b/doc/plugins/aggregate/discussion.mdwn
index 80788fb1b..028775ec8 100644
--- a/doc/plugins/aggregate/discussion.mdwn
+++ b/doc/plugins/aggregate/discussion.mdwn
@@ -133,3 +133,5 @@ the user agent to be programmatically manipulated? --[[schmonz]]
>>> `$config{cookies}` (and using it in the aggregate plugin) should
>>> be safe, might help people in typical cases, and won't prevent
>>> further enhancements for less typical cases. --[[schmonz]]
+
+>>>> Ok, done. Called it cookiejar. --[[Joey]]