From 6fe8aec0abdfe284439e9d3adda85da8e5c3825b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 2 Feb 2010 22:36:41 -0600 Subject: feeds: add per arch, per repo feed ability Make the feed framework a lot more flexible and give the possibility to have a feed for each architecture. You can drill down even more than also get a feed for a particular repo; some might find this helpful for something like tracking [testing]. Implements FS#12939. I also bumped up the number of items available in each of these feeds; since it is full of a bunch of small items it might be more helpful to have more available and it should also prevent fewer ones from being missed. The UI isn't exactly spectacular, but I figured some sort of page is better than none listing all the various feeds you can pull from. Signed-off-by: Dan McGee --- templates/public/feeds.html | 27 +++++++++++++++++++++++++++ templates/public/index.html | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 templates/public/feeds.html (limited to 'templates') diff --git a/templates/public/feeds.html b/templates/public/feeds.html new file mode 100644 index 00000000..a63c9eae --- /dev/null +++ b/templates/public/feeds.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% block title %}Arch Linux - RSS Feeds{% endblock %} +{% block content %} +
+

RSS Feeds

+

+

Several RSS feeds are available for consumption from the Arch website. + The majority of these are package related and allow feeds to be customized + for the updates you care about.

+ + + + + + {% for arch in arches %} + + + {% for repo in repos %} + + + {% endfor %} + {% endfor %} +
News items feedFeed RSS Feed
Packages feed for all architectures, all repositoriesFeed RSS Feed
Packages feed for architecture {{ arch }}, all repositoriesFeed RSS Feed
Packages feed for architecture {{ arch }}, repository {{ repo }}Feed RSS Feed
+
+

+{% endblock %} + diff --git a/templates/public/index.html b/templates/public/index.html index 9351a722..0bc0af45 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -64,7 +64,8 @@

{{ news.title }}

{% endfor %} -
More... +
More Feeds... +
More Updates... -- cgit v1.2.3-54-g00ecf