/[gentoo]/src/packages/genrsslist.py
Gentoo

Contents of /src/packages/genrsslist.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Mon May 9 00:51:45 2005 UTC (9 years, 6 months ago) by marduk
Branch: MAIN
CVS Tags: release_1-5, v1_3_1, HEAD
Branch point for: pre_2-0, v1_3
Changes since 1.2: +34 -32 lines
File MIME type: text/x-python
Had to remove "class=" CSS stuff as it was causing problems.  Will need
to pretty up and add back later.

1 #!/usr/bin/python -OO
2
3 __revision__ = '$Revision: 1.4 $'
4 # $Source: /var/cvsroot/gentoo/src/packages/ebuilddb.py,v $
5
6 import config
7 FEHOME = config.FEHOME
8
9 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 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 <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 %(FEHOME)sgentoo.rss</a></td>
23 </tr>
24 <tr >
25 <td >plain</td>
26 <td ><a href="%(FEHOME)sgentoo_simple.rss">
27 %(FEHOME)sgentoo_simple.rss</a></td>
28 </tr>
29 """ % vars()
30
31 for arch in config.ARCHLIST:
32 print """
33 <!-- %(arch)s -->
34 <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 %(FEHOME)sarchs/%(arch)s/gentoo.rss</a></td>
40 </tr>
41 <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 %(FEHOME)sarchs/%(arch)s/stable/gentoo.rss</a></td>
50 </tr>
51 <tr >
52 <td >plain</td>
53 <td ><a href="%(FEHOME)sarchs/%(arch)s/stable/gentoo_simple.rss">
54 %(FEHOME)sarchs/%(arch)s/stable/gentoo_simple.rss</a></td>
55 </tr>
56 <tr >
57 <td rowspan="2">testing</td>
58 <td >HTML</td>
59 <td ><a href="%(FEHOME)sarchs/%(arch)s/testing/gentoo.rss">
60 %(FEHOME)sarchs/%(arch)s/testing/gentoo.rss</a></td>
61 </tr>
62 <tr >
63 <td >plain</td>
64 <td ><a href="%(FEHOME)sarchs/%(arch)s/testing/gentoo_simple.rss">
65 %(FEHOME)sarchs/%(arch)s/testing/gentoo_simple.rss</a></td>
66 </tr>
67 """ % vars()
68
69 print "</table>"

  ViewVC Help
Powered by ViewVC 1.1.20