| 1 |
marduk |
1.1 |
#!/usr/bin/python -OO |
| 2 |
|
|
|
| 3 |
marduk |
1.3 |
__revision__ = '$Revision: 1.4 $' |
| 4 |
|
|
# $Source: /var/cvsroot/gentoo/src/packages/ebuilddb.py,v $ |
| 5 |
|
|
|
| 6 |
marduk |
1.1 |
import config |
| 7 |
|
|
FEHOME = config.FEHOME |
| 8 |
|
|
|
| 9 |
marduk |
1.2 |
print """<div class="centerpage"><H3>packages.gentoo.org RSS Feeds</H3> |
| 10 |
|
|
<p>packages.gentoo.org provides the following RSS feeds. Note that some |
| 11 |
marduk |
1.1 |
feed readers may have problems with the embedded HTML feeds.</p> |
| 12 |
|
|
</div> |
| 13 |
|
|
<br> |
| 14 |
|
|
|
| 15 |
|
|
<table class="ebuild"> |
| 16 |
|
|
<tr><th class="fields">Platform</th><th class="fields">Branch</th><th class="fields">Format</th><th class="fields">URL</th></tr> |
| 17 |
marduk |
1.3 |
<tr > |
| 18 |
|
|
<th rowspan="2">All</th> |
| 19 |
|
|
<td rowspan="2">N/A</td> |
| 20 |
|
|
<td >HTML</td> |
| 21 |
|
|
<td ><a href="%(FEHOME)sgentoo.rss"> |
| 22 |
marduk |
1.1 |
%(FEHOME)sgentoo.rss</a></td> |
| 23 |
|
|
</tr> |
| 24 |
marduk |
1.3 |
<tr > |
| 25 |
|
|
<td >plain</td> |
| 26 |
|
|
<td ><a href="%(FEHOME)sgentoo_simple.rss"> |
| 27 |
marduk |
1.1 |
%(FEHOME)sgentoo_simple.rss</a></td> |
| 28 |
|
|
</tr> |
| 29 |
|
|
""" % vars() |
| 30 |
|
|
|
| 31 |
|
|
for arch in config.ARCHLIST: |
| 32 |
|
|
print """ |
| 33 |
|
|
<!-- %(arch)s --> |
| 34 |
marduk |
1.3 |
<tr > |
| 35 |
|
|
<th rowspan="6">%(arch)s</th> |
| 36 |
|
|
<td rowspan="2">All</td> |
| 37 |
|
|
<td >HTML</td> |
| 38 |
|
|
<td ><a href="%(FEHOME)sarchs/%(arch)s/gentoo.rss"> |
| 39 |
marduk |
1.1 |
%(FEHOME)sarchs/%(arch)s/gentoo.rss</a></td> |
| 40 |
|
|
</tr> |
| 41 |
marduk |
1.3 |
<tr > |
| 42 |
|
|
<td >plain</td> |
| 43 |
|
|
<td ><a href="%(FEHOME)sarchs/%(arch)s/gentoo_simple.rss">%(FEHOME)sarchs/%(arch)s/gentoo_simple.rss</a></td> |
| 44 |
|
|
</tr> |
| 45 |
|
|
<tr > |
| 46 |
|
|
<td rowspan="2">stable</td> |
| 47 |
|
|
<td >HTML</td> |
| 48 |
|
|
<td ><a href="%(FEHOME)sarchs/%(arch)s/stable/gentoo.rss"> |
| 49 |
marduk |
1.1 |
%(FEHOME)sarchs/%(arch)s/stable/gentoo.rss</a></td> |
| 50 |
|
|
</tr> |
| 51 |
marduk |
1.3 |
<tr > |
| 52 |
|
|
<td >plain</td> |
| 53 |
|
|
<td ><a href="%(FEHOME)sarchs/%(arch)s/stable/gentoo_simple.rss"> |
| 54 |
marduk |
1.1 |
%(FEHOME)sarchs/%(arch)s/stable/gentoo_simple.rss</a></td> |
| 55 |
|
|
</tr> |
| 56 |
marduk |
1.3 |
<tr > |
| 57 |
|
|
<td rowspan="2">testing</td> |
| 58 |
|
|
<td >HTML</td> |
| 59 |
|
|
<td ><a href="%(FEHOME)sarchs/%(arch)s/testing/gentoo.rss"> |
| 60 |
marduk |
1.1 |
%(FEHOME)sarchs/%(arch)s/testing/gentoo.rss</a></td> |
| 61 |
|
|
</tr> |
| 62 |
marduk |
1.3 |
<tr > |
| 63 |
|
|
<td >plain</td> |
| 64 |
|
|
<td ><a href="%(FEHOME)sarchs/%(arch)s/testing/gentoo_simple.rss"> |
| 65 |
marduk |
1.1 |
%(FEHOME)sarchs/%(arch)s/testing/gentoo_simple.rss</a></td> |
| 66 |
|
|
</tr> |
| 67 |
|
|
""" % vars() |
| 68 |
|
|
|
| 69 |
|
|
print "</table>" |