Browse Source

add rss feed to project pages

master
Nils 2 years ago
parent
commit
d3b16114c0
  1. 1
      atomfeedgen.py
  2. 4
      projectinfo2modulepage.py

1
atomfeedgen.py

@ -30,6 +30,7 @@ descs = {
"laborejo" : """Laborejo is a MIDI sequencer based on classical music notation.""", "laborejo" : """Laborejo is a MIDI sequencer based on classical music notation.""",
"fluajho" : """Fluajho is a simple, standalone sf2 soundfont host/player.""", "fluajho" : """Fluajho is a simple, standalone sf2 soundfont host/player.""",
"agordejo" : """Agordejo is a music and audio production session manager based on NSM.""", "agordejo" : """Agordejo is a music and audio production session manager based on NSM.""",
"tembro" : """Tembro is a virtual software instrument based on samples. All instruments are permanently built-in.""",
} }
if (not len(sys.argv) == 4) or not sys.argv[1] in descs or not sys.argv[2].endswith("/CHANGELOG") or not sys.argv[3].endswith("feed.atom"): if (not len(sys.argv) == 4) or not sys.argv[1] in descs or not sys.argv[2].endswith("/CHANGELOG") or not sys.argv[3].endswith("feed.atom"):

4
projectinfo2modulepage.py

@ -44,7 +44,8 @@ template = f"""<div id="main">
<li>Current Version: {META["version"]} ({META["year"]})</li> <li>Current Version: {META["version"]} ({META["year"]})</li>
<li>Multi-Language <a href="/documentation/{META["shortName"]}/">Manual</a></li> <!-- The trailing slash is very important. Otherwise it won't find the images--> <li>Multi-Language <a href="/documentation/{META["shortName"]}/">Manual</a></li> <!-- The trailing slash is very important. Otherwise it won't find the images-->
<li>Download: <a href="/downloads/{META["shortName"]}-{META["version"]}.tar.gz">Sourcecode</a> or <a href="/downloads">All Downloads</a></li> <li>Download: <a href="/downloads/{META["shortName"]}-{META["version"]}.tar.gz">Sourcecode</a> or <a href="/downloads">All Downloads</a></li>
<li>Bugs and Issues: <a href="https://www.laborejo.org/bugs">https://www.laborejo.org/bugs/</a> <li>Update Feed <a href="/{META["shortName"]}/feed.atom">ATOM / RSS</a></li>
<li>Bugs and Issues: <a href="https://www.laborejo.org/bugs">https://www.laborejo.org/bugs/</a> </li>
<li>Git and Developers README: <a href="http://git.laborejo.org/lss/{META["shortName"]}.git">https://git.laborejo.org/lss/{META["shortName"]}.git</a></li> <li>Git and Developers README: <a href="http://git.laborejo.org/lss/{META["shortName"]}.git">https://git.laborejo.org/lss/{META["shortName"]}.git</a></li>
</ul> </ul>
@ -53,4 +54,3 @@ template = f"""<div id="main">
""" """
print (template) #stdout. our job is done print (template) #stdout. our job is done

Loading…
Cancel
Save