summaryrefslogtreecommitdiffstats
path: root/web/macros.py
diff options
context:
space:
mode:
Diffstat (limited to 'web/macros.py')
-rw-r--r--web/macros.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/macros.py b/web/macros.py
index c950a04..5381ce9 100644
--- a/web/macros.py
+++ b/web/macros.py
@@ -5,7 +5,7 @@ import time
5plugins_release = '1.5' 5plugins_release = '1.5'
6mib_release = '1.0.1' 6mib_release = '1.0.1'
7release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') 7release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-')
8site_url = 'https://www.nagios-plugins.org/' 8site_url = 'https://www.monitoring-plugins.org/'
9feeds = """These project news articles are also available as an 9feeds = """These project news articles are also available as an
10[RSS feed][rss]{: rel="alternate" type="application/rss+xml" }. Additional 10[RSS feed][rss]{: rel="alternate" type="application/rss+xml" }. Additional
11stuff is posted to [Twitter][twitter], so you might want to [follow us][follow] 11stuff is posted to [Twitter][twitter], so you might want to [follow us][follow]
@@ -32,7 +32,7 @@ _RSS = """<?xml version="1.0" encoding="UTF-8"?>
32 <link>%s</link> 32 <link>%s</link>
33 <description>%s</description> 33 <description>%s</description>
34 <language>en-us</language> 34 <language>en-us</language>
35 <webMaster>webmaster@nagios-plugins.org</webMaster> 35 <webMaster>webmaster@monitoring-plugins.org</webMaster>
36 <pubDate>%s</pubDate> 36 <pubDate>%s</pubDate>
37 <lastBuildDate>%s</lastBuildDate> 37 <lastBuildDate>%s</lastBuildDate>
38 <generator>Poole</generator> 38 <generator>Poole</generator>
@@ -63,9 +63,9 @@ def hook_postconvert_rss():
63 date = email.utils.formatdate(date) 63 date = email.utils.formatdate(date)
64 items.append(_RSS_ITEM % (p.title, link, desc, link, date)) 64 items.append(_RSS_ITEM % (p.title, link, desc, link, date))
65 items = ''.join(items) 65 items = ''.join(items)
66 title = 'Nagios Plugins' 66 title = 'Monitoring Plugins'
67 link = '%s/news/' % site_url.rstrip('/') 67 link = '%s/news/' % site_url.rstrip('/')
68 desc = 'Announcements published by the Nagios Plugins Development Team.' 68 desc = 'Announcements published by the Monitoring Plugins Development Team.'
69 date = email.utils.formatdate() 69 date = email.utils.formatdate()
70 rss = _RSS % (title, link, desc, date, date, items) 70 rss = _RSS % (title, link, desc, date, date, items)
71 fp = open(os.path.join(output, 'rss.xml'), 'w') 71 fp = open(os.path.join(output, 'rss.xml'), 'w')