X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/044a5eba9aefa211e3b0473e24c2ce9a1b3dd96f..2f9d9c9ef58af5bc1315e98db147349a2b018cd2:/doc/todo/plugin_data_storage.mdwn?ds=inline diff --git a/doc/todo/plugin_data_storage.mdwn b/doc/todo/plugin_data_storage.mdwn index 5b9fcdc3f..f56d41b0a 100644 --- a/doc/todo/plugin_data_storage.mdwn +++ b/doc/todo/plugin_data_storage.mdwn @@ -36,12 +36,16 @@ and it is passed/returns a big hash of pages and the values for each page. It may also be better to just punt on lists, and require plugins that need even lists to encode them. Especially since in many cases, `join(" ", @list)` -will do. +will do. Er hmm, if I do that though, I'm actually back to a big global +%page_data that plugins can just toss data into, arn't I? So maybe that's +%the right approach after all, hmm.. Except that needing to decode/encode list +data all the time when using it would quite suck, so no, let's not do that. Note that for the aggregate plugin to use this, it will need some changes: * guid data will need to be stored as part of the data for the page - that was aggregated from that guid + that was aggregated from that guid. Except, expired pages don't exit, but + still have guid data to store. Hmm. * All feeds will need to be marked as removable in loadstate, and only unmarked if seen in preprocess. Then savestate will need to not only remove any feeds still marked as such, but do the unlinking of pages