diff options
author | Araq <rumpf_a@web.de> | 2014-10-31 23:09:19 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-10-31 23:09:19 +0100 |
commit | 2e26734ea72253f219064e6d9a6e0fd89b5f049e (patch) | |
tree | 7c8e3de3ed31a29ff195f530062856c86da1a1ca /tools | |
parent | bbb16713c1bbc266cb8d69f262cc302641e361c4 (diff) | |
download | Nim-2e26734ea72253f219064e6d9a6e0fd89b5f049e.tar.gz |
Nimrod -> Nim
Diffstat (limited to 'tools')
-rw-r--r-- | tools/nimweb.nim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/nimweb.nim b/tools/nimweb.nim index 6312dace4..46c1d0d85 100644 --- a/tools/nimweb.nim +++ b/tools/nimweb.nim @@ -68,12 +68,12 @@ Options: -h, --help shows this help -v, --version shows the version Compile_options: - will be passed to the Nimrod compiler + will be passed to the Nim compiler """ rYearMonthDayTitle = r"(\d{4})-(\d{2})-(\d{2})\s+(.*)" - rssUrl = "http://nimrod-code.org/news.xml" - rssNewsUrl = "http://nimrod-code.org/news.html" + rssUrl = "http://nim-lang.org/news.xml" + rssNewsUrl = "http://nim-lang.org/news.html" validAnchorCharacters = Letters + Digits @@ -355,7 +355,7 @@ proc generateRss(outputFilename: string, news: seq[TRssItem]) = output.write("""<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> """) - output.write(title("Nimrod website news")) + output.write(title("Nim website news")) output.write(link(href = rssUrl, rel = "self")) output.write(link(href = rssNewsUrl)) output.write(id(rssNewsUrl)) @@ -371,7 +371,7 @@ proc generateRss(outputFilename: string, news: seq[TRssItem]) = link(`type` = "text/html", rel = "alternate", href = genNewsLink(joinedTitle)), updatedDate(rss.year, rss.month, rss.day), - "<author><name>Nimrod</name></author>", + "<author><name>Nim</name></author>", content(joinedTitle, `type` = "text"), )) |