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

Diff of /src/packages/genrsslist.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20