summaryrefslogtreecommitdiff
path: root/data/notes/atom-feeds
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-02-08 11:46:38 +0100
committerYorhel <git@yorhel.nl>2011-02-08 11:48:12 +0100
commit5360e67f5808c397a1e931405d47c2f031a95a11 (patch)
tree9e7e6470e60aa90f52024538423afc1eb9de8f01 /data/notes/atom-feeds
parent64577401e2466911d1a2230f1431714f1d872759 (diff)
Uploaded some design/implementation notes I had lying around
Used to be private, with the sole purpose of getting a good overview of things for myself, but I guess these may also be useful to others.
Diffstat (limited to 'data/notes/atom-feeds')
-rw-r--r--data/notes/atom-feeds26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/notes/atom-feeds b/data/notes/atom-feeds
new file mode 100644
index 00000000..f1be17e8
--- /dev/null
+++ b/data/notes/atom-feeds
@@ -0,0 +1,26 @@
+Atom Feeds
+
+Last modified: 2010-11-13
+Status: Implemented
+
+
+New module: Multi::Feed
+Automatically generates and updates the following feeds:
+ www/feeds/
+ announcements.atom
+ Updated?: LISTEN 'newpost'; post.num = 1 and board = 'an'
+ (what about an edit of the annoucement title/content?)
+ changes.atom
+ Updated?: LISTEN 'changes'
+ posts.atom
+ Updated?: LISTEN 'newpost'
+ (what about edits of posts? title/contents can change...)
+ released.atom (not implemented)
+ Updated?: daily + LISTEN 'changes'; c.type = 'r'
+ (more restrictions can be added if the generation time of this feed is long)
+
+All feeds are updated once every 15 minutes; this is easier and less
+error-prone than the above notify solutions that differ for each feed.
+Assuming all feeds can be generated in one second, this takes
+(1/(15*60))*100 = ~0.1% of server CPU time on average.
+