add planet config builder and css/templates/etc
237
scripts/planet/people/css/content.css
Normal file
|
@ -0,0 +1,237 @@
|
|||
.name-project, .name-release, .name-version {
|
||||
}
|
||||
|
||||
/* Front page H1 */
|
||||
#page-main h1 {
|
||||
font-size: 1.35em;
|
||||
}
|
||||
|
||||
#page-main h1.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
/*
|
||||
font-style: italic;
|
||||
*/
|
||||
font-family: luxi sans,sans-serif;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.75em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.25em;
|
||||
# background-color: #eee;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.fedora-side-right-content {
|
||||
padding: 1 5px 1.5em;
|
||||
font-size: 1em;
|
||||
}
|
||||
#fedora-side-right h1, #fedora-side-right h2, #fedora-side-right h3 {
|
||||
margin: 0;
|
||||
padding: 0 4pt 0;
|
||||
font-size: 1em;
|
||||
letter-spacing: 2pt;
|
||||
border-bottom: 1px solid #bbb;
|
||||
}
|
||||
#fedora-side-right hr {
|
||||
border-bottom: 1px solid #aaa;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
table tr {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
|
||||
#link-offsite {
|
||||
}
|
||||
.link-offsite-notation {
|
||||
font-size: 0.9em;
|
||||
color: #777;
|
||||
padding-left: 1pt;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
#fedora-content .link-offsite-notation {
|
||||
color: #999;
|
||||
}
|
||||
#link-redhat {
|
||||
}
|
||||
#fedora-content #link-redhat {
|
||||
}
|
||||
#link-internal {
|
||||
}
|
||||
|
||||
#fedora-content li {
|
||||
padding: 1pt;
|
||||
}
|
||||
#fedora-content h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#fedora-content a img {
|
||||
margin: 1px;
|
||||
border: 0;
|
||||
}
|
||||
#fedora-content a:hover img {
|
||||
margin: 0;
|
||||
border: 1px solid #f00;
|
||||
}
|
||||
#fedora-content a img.noborder {
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
#fedora-content a:hover img .noborder {
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#fedora-project-maintainers p, #fedora-project-contributors p, #fedora-project-bugs p {
|
||||
margin-left: 5pt;
|
||||
}
|
||||
|
||||
#fedora-project-download dt {
|
||||
font-weight: bold;
|
||||
margin-top: 8pt;
|
||||
margin-left: 5pt;
|
||||
}
|
||||
#fedora-project-download dd {
|
||||
padding: 0;
|
||||
margin: 10px 20px 0;
|
||||
}
|
||||
#fedora-project-screenshots a img {
|
||||
margin: 5px;
|
||||
}
|
||||
#fedora-project-screenshots a:hover img {
|
||||
margin: 4px;
|
||||
}
|
||||
#fedora-project-todo ul {
|
||||
border: 1px solid #cad4e9;
|
||||
margin: 0 1em;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
border-radius: 2.5px;
|
||||
-moz-border-radius: 2.5px;
|
||||
}
|
||||
#fedora-project-todo li {
|
||||
margin: 0;
|
||||
padding: 6px 8px;
|
||||
}
|
||||
#fedora-project-todo li.odd {
|
||||
background-color: #ecf0f7;
|
||||
}
|
||||
#fedora-project-todo li.even {
|
||||
background-color: #f7f9fc;
|
||||
}
|
||||
|
||||
#fedora-list-packages {
|
||||
border-collapse: collapse;
|
||||
border: 1px solid #cad4e9;
|
||||
border-radius: 2.5px;
|
||||
-moz-border-radius: 2.5px;
|
||||
}
|
||||
#fedora-list-packages tr.odd td {
|
||||
background-color: #ecf0f7;
|
||||
}
|
||||
#fedora-list-packages tr.even td {
|
||||
background-color: #f7f9fc;
|
||||
}
|
||||
#fedora-list-packages th,
|
||||
#fedora-list-packages td {
|
||||
margin: 0;
|
||||
padding: 6px 8px;
|
||||
}
|
||||
#fedora-list-packages td.column-2 {
|
||||
text-align: center;
|
||||
}
|
||||
#fedora-list-packages th {
|
||||
background-color: #cad4e9;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
/* pre.screen is for DocBook HTML output */
|
||||
code.screen, pre.screen {
|
||||
font-family: monospace;
|
||||
font-size: 1em;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
border: 1px solid #bbb;
|
||||
background-color: #eee;
|
||||
color: #000;
|
||||
overflow: auto;
|
||||
border-radius: 2.5px;
|
||||
-moz-border-radius: 2.5px;
|
||||
margin: 0.5em 2em;
|
||||
}
|
||||
#fedora-project code.screen {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code.command, code.filename {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
code.citetitle {
|
||||
font-family: sans-serif;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
strong.application {
|
||||
font-weight: bold;
|
||||
}
|
||||
.indent {
|
||||
margin: 0 2em;
|
||||
}
|
||||
.fedora-docs-nav {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
padding: 1em;
|
||||
margin-top: 2em;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.fedora-docs-nav a {
|
||||
padding: 0 1em;
|
||||
}
|
||||
.fedora-docs-nav-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.fedora-docs-nav-right {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.fedoraEntry {
|
||||
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.fedoraStory {
|
||||
}
|
||||
|
||||
.fedoraFace {
|
||||
margin: 0 0 10px 10px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.fedoraTitle {
|
||||
font-size: 1.25em;
|
||||
}
|
71
scripts/planet/people/css/docbook.css
Normal file
|
@ -0,0 +1,71 @@
|
|||
#fedora-content li p {
|
||||
margin: 0.2em;
|
||||
}
|
||||
|
||||
#fedora-content div.table table {
|
||||
width: 95%;
|
||||
background-color: #DCDCDC;
|
||||
color: #000000;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
#fedora-content div.table table th {
|
||||
border: 1px solid #A9A9A9;
|
||||
background-color: #A9A9A9;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#fedora-content div.table table td {
|
||||
border: 1px solid #A9A9A9;
|
||||
background-color: #DCDCDC;
|
||||
color: #000000;
|
||||
padding: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 2px;
|
||||
|
||||
}
|
||||
|
||||
div.note table, div.tip table, div.important table, div.caution table, div.warning table {
|
||||
width: 95%;
|
||||
border: 2px solid #B0C4DE;
|
||||
background-color: #F0F8FF;
|
||||
color: #000000;
|
||||
/* padding inside table area */
|
||||
padding: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
/* "Just the FAQs, ma'm." */
|
||||
.qandaset table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.qandaset {
|
||||
}
|
||||
.qandaset tr.question {
|
||||
}
|
||||
.qandaset tr.question td {
|
||||
font-weight: bold;
|
||||
padding: 0 0.5em;
|
||||
margin: 0;
|
||||
}
|
||||
.qandaset tr.answer td {
|
||||
padding: 0 0.5em 1.5em;
|
||||
margin: 0;
|
||||
}
|
||||
.qandaset tr.question td, .qandaset tr.answer td {
|
||||
vertical-align: top;
|
||||
}
|
||||
.qandaset strong {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.article .table table {
|
||||
border: 0;
|
||||
margin: 0 auto;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.article .table table th {
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
362
scripts/planet/people/css/layout.css
Normal file
|
@ -0,0 +1,362 @@
|
|||
body {
|
||||
font-size: 0.9em;
|
||||
font-family: bitstream vera sans,sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* (The background color is specified elsewhere, so do a global replacement if it ever changes) */
|
||||
background-color: #d9d9d9;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #900;
|
||||
}
|
||||
a:visited {
|
||||
color: #48468f;
|
||||
}
|
||||
a:hover {
|
||||
color: #f20;
|
||||
}
|
||||
a[name] {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
#fedora-header {
|
||||
background-color: #fff;
|
||||
height: 62px;
|
||||
}
|
||||
#fedora-header img {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
#fedora-header-logo {
|
||||
/* position is offset by the header padding amount */
|
||||
position: absolute;
|
||||
left: 26px;
|
||||
top: 13px;
|
||||
z-index: 3;
|
||||
}
|
||||
#fedora-header-logo img {
|
||||
width: 110px;
|
||||
height: 40;
|
||||
}
|
||||
#fedora-header-items {
|
||||
/* position is offset by the header padding amount */
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 15px;
|
||||
text-align: right;
|
||||
display: inline;
|
||||
}
|
||||
#fedora-header-items a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
padding: 7pt;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
#fedora-header-items a:hover, #fedora-header-search-button:hover {
|
||||
color: #f20;
|
||||
cursor: pointer;
|
||||
}
|
||||
#fedora-header-items img {
|
||||
margin-right: 1px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
#fedora-header-search {
|
||||
height: 25px;
|
||||
}
|
||||
#fedora-header-search-entry {
|
||||
vertical-align: top;
|
||||
margin: 0.65em 4px 0 10px;
|
||||
padding: 2px 4px;
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #999;
|
||||
font-size: 0.8em !important;
|
||||
}
|
||||
#fedora-header-search-entry:focus {
|
||||
background-color: #fff;
|
||||
border: 1px solid #555;
|
||||
}
|
||||
#fedora-header-search-button {
|
||||
font-size: 0.8em !important;
|
||||
vertical-align: top;
|
||||
margin-top: 0.2em;
|
||||
border: 0;
|
||||
padding: 7px;
|
||||
background: #fff url('../images/header-search.png') no-repeat left;
|
||||
padding-left: 21px;
|
||||
}
|
||||
#fedora-header-items form {
|
||||
float: right;
|
||||
}
|
||||
#fedora-header-items input {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
#fedora-nav {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #22437f;
|
||||
font-size: 0;
|
||||
height: 5px;
|
||||
border-top: 1px solid #000;
|
||||
border-bottom: 1px solid #f5f5f5;
|
||||
}
|
||||
#fedora-nav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#fedora-nav li {
|
||||
display: inline;
|
||||
list-style: none;
|
||||
padding: 0 5pt;
|
||||
}
|
||||
#fedora-nav li + li {
|
||||
padding-left: 8pt;
|
||||
border-left: 1px solid #99a5bf;
|
||||
}
|
||||
#fedora-nav a {
|
||||
color: #c5ccdb;
|
||||
text-decoration: none;
|
||||
}
|
||||
#fedora-nav a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#fedora-side-left {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
width: 11em;
|
||||
/* Space down for the approx line height (fonts) */
|
||||
left: 12px;
|
||||
}
|
||||
#fedora-side-right {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
width: 20em;
|
||||
right: 12px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
#fedora-side-left, #fedora-side-right {
|
||||
top: 2px;
|
||||
/* add to the top margin to compensate for the fixed sizes */
|
||||
margin-top: 75px;
|
||||
color: #555;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
#fedora-side-right ul {
|
||||
list-style: square inside;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Left-side naviagation */
|
||||
#fedora-side-nav-label {
|
||||
display: none;
|
||||
}
|
||||
#fedora-side-nav {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid #5976b2;
|
||||
border-top: 0;
|
||||
background-color: #22437f;
|
||||
}
|
||||
#fedora-side-nav li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-top: 1px solid #5976b2;
|
||||
/* IE/Win gets upset if there is no bottom border... Go figure. */
|
||||
border-bottom: 1px solid #22437f;
|
||||
}
|
||||
#fedora-side-nav a {
|
||||
margin: 0;
|
||||
color: #c5ccdb;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
#fedora-side-nav a:hover {
|
||||
background-color: #34548f;
|
||||
color: #fff;
|
||||
}
|
||||
#fedora-side-nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#fedora-side-nav ul li {
|
||||
border-top: 1px solid #34548e;
|
||||
background-color: #34548e;
|
||||
/* IE/Win gets upset if there is no bottom border... Go figure. */
|
||||
border-bottom: 1px solid #34548e;
|
||||
}
|
||||
#fedora-side-nav ul li:hover {
|
||||
border-bottom: 1px solid #34548f;
|
||||
}
|
||||
#fedora-side-nav ul li a {
|
||||
padding-left: 12px;
|
||||
color: #a7b2c9;
|
||||
}
|
||||
#fedora-side-nav ul li a:hover {
|
||||
background-color: #46659e;
|
||||
}
|
||||
#fedora-side-nav ul ul li a {
|
||||
padding-left: 18px;
|
||||
}
|
||||
#fedora-side-nav strong a {
|
||||
font-weight: normal;
|
||||
color: #fff !important;
|
||||
background-color: #10203b;
|
||||
}
|
||||
#fedora-side-nav strong a:hover {
|
||||
background-color: #172e56 !important;
|
||||
}
|
||||
|
||||
/* content containers */
|
||||
#fedora-middle-one, #fedora-middle-two, #fedora-middle-three {
|
||||
font-size: 0.9em;
|
||||
/* position: relative; */ /* relative to utilize z-index */
|
||||
width: auto;
|
||||
min-width: 120px;
|
||||
margin: 10px;
|
||||
z-index: 3; /* content can overlap when the browser is narrow */
|
||||
}
|
||||
/*
|
||||
#fedora-middle-two, #fedora-middle-three {
|
||||
margin-left: 11em;
|
||||
padding-left: 24px;
|
||||
}
|
||||
*/
|
||||
#fedora-middle-three {
|
||||
margin-right: 20em;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
#fedora-content {
|
||||
padding: 24px;
|
||||
border: 1px solid #aaa;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#fedora-content > .fedora-corner-bottom { top: 0 }
|
||||
|
||||
.fedora-corner-tl, .fedora-corner-tr, .fedora-corner-bl, .fedora-corner-br {
|
||||
background-color: #d9d9d9;
|
||||
position: relative;
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
/* The following line is to render PNGs with alpha transparency within IE/Win, using DirectX */
|
||||
/* Work-around for IE6/Mac borkage (Part 1) */
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fedora-corner-tl, .fedora-corner-bl { float: left; left: 0px; }
|
||||
.fedora-corner-tr, .fedora-corner-br { float: right; right: 0px; }
|
||||
.fedora-corner-tl, .fedora-corner-tr { top: 0px; }
|
||||
.fedora-corner-bl, .fedora-corner-br { bottom: 0px; margin-top: -19px; }
|
||||
|
||||
|
||||
html>body .fedora-corner-tl { background: #d9d9d9 url("../images/corner-tl.png") no-repeat left top; }
|
||||
html>body .fedora-corner-tr { background: #d9d9d9 url("../images/corner-tr.png") no-repeat right top; }
|
||||
html>body .fedora-corner-bl { background: #d9d9d9 url("../images/corner-bl.png") no-repeat left bottom; }
|
||||
html>body .fedora-corner-br { background: #d9d9d9 url("../images/corner-br.png") no-repeat right bottom; }
|
||||
|
||||
.fedora-corner-tl { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/corner-tl.png',sizingMethod='scale'); }
|
||||
.fedora-corner-tr { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/corner-tr.png',sizingMethod='scale'); }
|
||||
.fedora-corner-br { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/corner-br.png',sizingMethod='scale'); }
|
||||
.fedora-corner-bl { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/corner-bl.png',sizingMethod='scale'); }
|
||||
|
||||
/* \*/
|
||||
.fedora-corner-tl, .fedora-corner-tr, .fedora-corner-bl, .fedora-corner-br {
|
||||
/* Restore the view for everything but IE6/Mac (part 2 of the "IE/Mac fix") */
|
||||
display: block;
|
||||
}
|
||||
/* */
|
||||
|
||||
html*.fedora-corner-bl, html*.fedora-corner-br {
|
||||
/* Compensate for Opera's inability to position some things correctly (Part 2) */
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
.content { margin: 0 1em }
|
||||
|
||||
#fedora-sidelist {
|
||||
position: relative;
|
||||
bottom: 3px;
|
||||
margin: 0;
|
||||
padding: 3px !important;
|
||||
border: 1px solid #bbb;
|
||||
background-color: #ccc;
|
||||
border-radius: 2.5px;
|
||||
-moz-border-radius: 2.5px;
|
||||
}
|
||||
#fedora-sidelist strong a {
|
||||
font-weight: normal;
|
||||
background-color: #555;
|
||||
color: #fff;
|
||||
}
|
||||
#fedora-sidelist strong a:hover {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
}
|
||||
#fedora-sidelist li {
|
||||
list-style-position: outside;
|
||||
font-size: 0.9em;
|
||||
list-style: none;
|
||||
border: 1px solid #ccc;
|
||||
border-width: 1px 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
#fedora-sidelist li a {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 6px 8px;
|
||||
border-radius: 2.5px;
|
||||
-moz-border-radius: 2.5px;
|
||||
}
|
||||
#fedora-sidelist li a:hover {
|
||||
background-color: #999;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#fedora-footer {
|
||||
font-size: 0.75em;
|
||||
text-align: center;
|
||||
color: #777;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
#fedora-printable {
|
||||
text-align: center;
|
||||
margin: 1em 0;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
#fedora-printable a {
|
||||
text-decoration: none;
|
||||
padding: 5px 0;
|
||||
padding-left: 18px;
|
||||
background: transparent url("../images/printable.png") no-repeat left;
|
||||
}
|
||||
#fedora-printable a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
.left {
|
||||
margin: 10px;
|
||||
padding: 0px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
margin: 10px;
|
||||
padding: 0px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
.blosxomStory p {
|
||||
margin-top: 7px;
|
||||
margin-bottom: 7px;
|
||||
}
|
169
scripts/planet/people/css/people-style.css
Normal file
|
@ -0,0 +1,169 @@
|
|||
html, body {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
min-width: 912px;
|
||||
background-color: #eeeff1;
|
||||
}
|
||||
#header {
|
||||
margin-bottom: 23px; /* sync this value with margin-top of #content */
|
||||
background: #2963a5 url("../images/people-header.png") repeat-y 20% 0%;
|
||||
height: 74px;
|
||||
}
|
||||
#header .logo {
|
||||
position: absolute;
|
||||
display: block;
|
||||
left: 5px;
|
||||
top: 3px;
|
||||
}
|
||||
#content {
|
||||
margin-top: -23px; /* sync this value with margin-top of #content */
|
||||
margin-right: 210px;
|
||||
background-color: white;
|
||||
}
|
||||
.blog-entries-daily {
|
||||
background: white url("../images/people-entry-group-date-header.png") no-repeat top right;
|
||||
margin-right: 25px;
|
||||
position: relative;
|
||||
padding-bottom: 12px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.blog-date {
|
||||
text-align: center;
|
||||
background: transparent url("../images/people-entry-group-date-background.png") repeat-y top right;
|
||||
color: white;
|
||||
margin-top: 11px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
font-size: 0.9em;
|
||||
width: 229px;
|
||||
height: 100%;
|
||||
}
|
||||
.blog-entry {
|
||||
clear: both;
|
||||
margin: 11px 0;
|
||||
position: relative;
|
||||
top: 40px;
|
||||
}
|
||||
.blog-entry-author {
|
||||
float: left;
|
||||
margin-top: 30px;
|
||||
padding: 0 20px 30px 0;
|
||||
width: 125px;
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
}
|
||||
.blog-entry-author :link, .blog-entry-author :visited {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.blog-entry-author .head {
|
||||
display: block;
|
||||
margin: 1ex auto;
|
||||
border: 0;
|
||||
}
|
||||
.blog-entry-post {
|
||||
margin: 1em 0 1em 145px;
|
||||
border-radius: 20px;
|
||||
background: transparent url("../images/people-entry-center-left.png") repeat-y center left;
|
||||
}
|
||||
.blog-entry-header {
|
||||
background: transparent url("../images/people-entry-top-center.png") repeat-x top center;
|
||||
height: 50px;
|
||||
}
|
||||
.blog-entry-title {
|
||||
font-size: larger;
|
||||
background: transparent url("../images/people-entry-top-left.png") no-repeat top left;
|
||||
height: 50px;
|
||||
}
|
||||
.blog-entry-title a {
|
||||
padding: 1em 0;
|
||||
display: block;
|
||||
margin-left: 25px;
|
||||
background: transparent url("../images/people-entry-top-right.png") no-repeat top right;
|
||||
height: 50px;
|
||||
}
|
||||
.blog-entry-content {
|
||||
padding-top:10px;
|
||||
padding-right: 3em;
|
||||
margin-left: 25px;
|
||||
text-align: justify;
|
||||
font-size: 0.8em;
|
||||
font-weight: normal;
|
||||
background: transparent url("../images/people-entry-center-right.png") repeat-y center right;
|
||||
padding-bottom:10px;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
.blog-entry-content img {
|
||||
max-width: 575px;
|
||||
margin-left: 2ex;
|
||||
}
|
||||
.blog-entry-footer {
|
||||
background: transparent url("../images/people-entry-bottom-center.png") repeat-x bottom center;
|
||||
}
|
||||
.blog-entry-timestamp {
|
||||
font-size: x-small;
|
||||
text-align: right;
|
||||
color: #b3b3b3;
|
||||
background: transparent url("../images/people-entry-bottom-left.png") no-repeat bottom left;
|
||||
}
|
||||
.blog-entry-timestamp a {
|
||||
display: block;
|
||||
color: #b3b3b3;
|
||||
text-decoration: none;
|
||||
height: 35px;
|
||||
background: transparent url("../images/people-entry-bottom-right.png") no-repeat bottom right;
|
||||
padding: 1em 5em 0 0;
|
||||
}
|
||||
#disclaimer {
|
||||
font-size: x-small;
|
||||
color: #b3b3b3;
|
||||
text-align: center;
|
||||
padding: 1em;
|
||||
}
|
||||
#sidebar {
|
||||
color: #555555;
|
||||
background-color: #eeeff1;
|
||||
font-size: 0.8em;
|
||||
position: absolute;
|
||||
width: 210px;
|
||||
min-width: 210px;
|
||||
max-width: 210px;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
border-left: 2px solid white;
|
||||
height: 100%;
|
||||
}
|
||||
#sidebar #sidebar-header {
|
||||
display: block;
|
||||
background-color: #2963a5;
|
||||
}
|
||||
#sidebar-inner {
|
||||
padding: 10px;
|
||||
}
|
||||
#sidebar h2 {
|
||||
font-size: 1.4em;
|
||||
font-weight: normal;
|
||||
border-bottom: 1px solid #cfd4d9;
|
||||
margin: 5px 0px;
|
||||
padding: 0px 5px;
|
||||
}
|
||||
|
||||
#sidebar ul {
|
||||
list-style: square inside;
|
||||
padding: 0;
|
||||
margin: 0 0 1em 0;
|
||||
color: #22538b;
|
||||
}
|
||||
#spacer {
|
||||
height: 1em;
|
||||
}
|
||||
:link {
|
||||
color: #337ACC;
|
||||
}
|
||||
:visited {
|
||||
color: #6A3B18;
|
||||
}
|
||||
|
86
scripts/planet/people/css/print.css
Normal file
|
@ -0,0 +1,86 @@
|
|||
body {
|
||||
background: white;
|
||||
color: black;
|
||||
font-size: 10pt;
|
||||
font-family: sans-serif;
|
||||
line-height: 1.25em;
|
||||
}
|
||||
|
||||
div {
|
||||
border: 1px solid white;
|
||||
}
|
||||
li {
|
||||
border: 1px solid white;
|
||||
margin: 0;
|
||||
}
|
||||
li p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 16pt;
|
||||
}
|
||||
h2 {
|
||||
font-size: 12pt;
|
||||
}
|
||||
h3,h4,h5 {
|
||||
font-size: 10pt;
|
||||
}
|
||||
img {
|
||||
border: 1px solid white;
|
||||
background-color: white;
|
||||
}
|
||||
hr {
|
||||
border: 1px dotted gray;
|
||||
border-width: 0 0 1 0;
|
||||
margin: 1em;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
td,th {
|
||||
border: 1px solid gray;
|
||||
padding: 8pt;
|
||||
font-size: 10pt;
|
||||
}
|
||||
th {
|
||||
font-weight: bold;
|
||||
}
|
||||
#fedora-header, #fedora-footer {
|
||||
text-align: center;
|
||||
}
|
||||
#fedora-header-items, #fedora-side-left, #fedora-side-right {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#fedora-project-download dt {
|
||||
font-weight: bold;
|
||||
margin-top: 8pt;
|
||||
margin-left: 5pt;
|
||||
}
|
||||
#fedora-project-download dd {
|
||||
padding: 0;
|
||||
margin: 10px 20px 0;
|
||||
}
|
||||
|
||||
code.screen, pre.screen {
|
||||
font-family: monospace;
|
||||
font-size: 1em;
|
||||
display: block;
|
||||
padding: 5pt;
|
||||
border: 1px dashed gray;
|
||||
margin: 0.5em 2em;
|
||||
}
|
||||
#fedora-project code.screen {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
#fedora-content a:link:after, #fedora-content a:visited:after {
|
||||
content: " (" attr(href) ") ";
|
||||
font-size: 80%;
|
||||
}
|
||||
*/
|
||||
.navheader table, .navheader table td {
|
||||
border: 0 !important;
|
||||
}
|
BIN
scripts/planet/people/images/blue.png
Normal file
After Width: | Height: | Size: 124 B |
BIN
scripts/planet/people/images/corner-bl.png
Normal file
After Width: | Height: | Size: 340 B |
BIN
scripts/planet/people/images/corner-br.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
scripts/planet/people/images/corner-tl.png
Normal file
After Width: | Height: | Size: 331 B |
BIN
scripts/planet/people/images/corner-tr.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
scripts/planet/people/images/favicon.ico
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
scripts/planet/people/images/header-download.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
scripts/planet/people/images/header-faq.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
scripts/planet/people/images/header-fedora_logo.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
scripts/planet/people/images/header-projects.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
scripts/planet/people/images/heads/default.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
scripts/planet/people/images/heads/fdp.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
scripts/planet/people/images/heads/map_brazil_fedora_small.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
scripts/planet/people/images/intro-computer.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
scripts/planet/people/images/intro-download.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
scripts/planet/people/images/logo-spacer.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
scripts/planet/people/images/logo.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
scripts/planet/people/images/mainBack.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
scripts/planet/people/images/people-entry-bottom-center.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
scripts/planet/people/images/people-entry-bottom-left.png
Normal file
After Width: | Height: | Size: 486 B |
BIN
scripts/planet/people/images/people-entry-bottom-right.png
Normal file
After Width: | Height: | Size: 719 B |
BIN
scripts/planet/people/images/people-entry-center-left.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
scripts/planet/people/images/people-entry-center-right.png
Normal file
After Width: | Height: | Size: 225 B |
After Width: | Height: | Size: 136 B |
BIN
scripts/planet/people/images/people-entry-group-date-header.png
Normal file
After Width: | Height: | Size: 472 B |
BIN
scripts/planet/people/images/people-entry-top-center.png
Normal file
After Width: | Height: | Size: 257 B |
BIN
scripts/planet/people/images/people-entry-top-left.png
Normal file
After Width: | Height: | Size: 472 B |
BIN
scripts/planet/people/images/people-entry-top-right.png
Normal file
After Width: | Height: | Size: 1,004 B |
BIN
scripts/planet/people/images/people-header.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
scripts/planet/people/images/people-logo.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
scripts/planet/people/images/people-logo.png.bak
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
scripts/planet/people/images/people-sidebar-header.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
scripts/planet/people/images/planet.png
Normal file
After Width: | Height: | Size: 426 B |
64
scripts/planet/people/templates/atom.xml.tmpl
Normal file
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
|
||||
<title><TMPL_VAR name></title>
|
||||
<link rel="self" href="<TMPL_VAR feed ESCAPE="HTML">"/>
|
||||
<link href="<TMPL_VAR link ESCAPE="HTML">"/>
|
||||
<id><TMPL_VAR feed ESCAPE="HTML"></id>
|
||||
<updated><TMPL_VAR date_iso></updated>
|
||||
<generator uri="http://planet.fedoraproject.org/"><TMPL_VAR generator ESCAPE="HTML"></generator>
|
||||
|
||||
<TMPL_LOOP Items>
|
||||
<entry<TMPL_IF channel_language> xml:lang="<TMPL_VAR channel_language>"</TMPL_IF>>
|
||||
<title type="html"<TMPL_IF title_language> xml:lang="<TMPL_VAR title_language>"</TMPL_IF>><TMPL_VAR title ESCAPE="HTML"></title>
|
||||
<link href="<TMPL_VAR link ESCAPE="HTML">"/>
|
||||
<id><TMPL_VAR id ESCAPE="HTML"></id>
|
||||
<updated><TMPL_VAR date_iso></updated>
|
||||
<content type="html"<TMPL_IF content_language> xml:lang="<TMPL_VAR content_language>"</TMPL_IF>>
|
||||
<TMPL_IF channel_face>
|
||||
<img src="<TMPL_VAR channel_face>" <TMPL_IF channel_facewidth>width="<TMPL_VAR channel_facewidth>" </TMPL_IF><TMPL_IF channel_faceheight>height="<TMPL_VAR channel_faceheight>" </TMPL_IF> alt="" style="float: right;">
|
||||
</TMPL_IF> <TMPL_VAR content ESCAPE="HTML"></content>
|
||||
<author>
|
||||
<TMPL_IF author_name>
|
||||
<name><TMPL_VAR author_name ESCAPE="HTML"></name>
|
||||
<TMPL_IF author_email>
|
||||
<email><TMPL_VAR author_email ESCAPE="HTML"></email>
|
||||
</TMPL_IF author_email>
|
||||
<TMPL_ELSE>
|
||||
<TMPL_IF channel_author_name>
|
||||
<name><TMPL_VAR channel_author_name ESCAPE="HTML"></name>
|
||||
<TMPL_IF channel_author_email>
|
||||
<email><TMPL_VAR channel_author_email ESCAPE="HTML"></email>
|
||||
</TMPL_IF channel_author_email>
|
||||
<TMPL_ELSE>
|
||||
<name><TMPL_VAR channel_name ESCAPE="HTML"></name>
|
||||
</TMPL_IF>
|
||||
</TMPL_IF>
|
||||
<uri><TMPL_VAR channel_link ESCAPE="HTML"></uri>
|
||||
</author>
|
||||
<source>
|
||||
<TMPL_IF channel_title>
|
||||
<title type="html"><TMPL_VAR channel_title ESCAPE="HTML"></title>
|
||||
<TMPL_ELSE>
|
||||
<title type="html"><TMPL_VAR channel_name ESCAPE="HTML"></title>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF channel_subtitle>
|
||||
<subtitle type="html"><TMPL_VAR channel_subtitle ESCAPE="HTML"></subtitle>
|
||||
</TMPL_IF>
|
||||
<link rel="self" href="<TMPL_VAR channel_url ESCAPE="HTML">"/>
|
||||
<TMPL_IF channel_id>
|
||||
<id><TMPL_VAR channel_id ESCAPE="HTML"></id>
|
||||
<TMPL_ELSE>
|
||||
<id><TMPL_VAR channel_url ESCAPE="HTML"></id>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF channel_updated_iso>
|
||||
<updated><TMPL_VAR channel_updated_iso></updated>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF channel_rights>
|
||||
<rights type="html"><TMPL_VAR channel_rights ESCAPE="HTML"></rights>
|
||||
</TMPL_IF>
|
||||
</source>
|
||||
</entry>
|
||||
|
||||
</TMPL_LOOP>
|
||||
</feed>
|
31
scripts/planet/people/templates/foafroll.xml.tmpl
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0"?>
|
||||
<rdf:RDF
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
||||
xmlns:rss="http://purl.org/rss/1.0/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
>
|
||||
<foaf:Group>
|
||||
<foaf:name><TMPL_VAR name></foaf:name>
|
||||
<foaf:homepage><TMPL_VAR link></foaf:homepage>
|
||||
<rdfs:seeAlso rdf:resource="<TMPL_VAR uri ESCAPE="HTML">" />
|
||||
|
||||
<TMPL_LOOP Channels>
|
||||
<foaf:member>
|
||||
<foaf:Agent>
|
||||
<foaf:name><TMPL_VAR name></foaf:name>
|
||||
<foaf:weblog>
|
||||
<foaf:Document rdf:about="<TMPL_VAR link ESCAPE="HTML">">
|
||||
<dc:title><TMPL_VAR title></dc:title>
|
||||
<rdfs:seeAlso>
|
||||
<rss:channel rdf:about="<TMPL_VAR uri ESCAPE="HTML">" />
|
||||
</rdfs:seeAlso>
|
||||
</foaf:Document>
|
||||
</foaf:weblog>
|
||||
</foaf:Agent>
|
||||
</foaf:member>
|
||||
</TMPL_LOOP>
|
||||
|
||||
</foaf:Group>
|
||||
</rdf:RDF>
|
111
scripts/planet/people/templates/heads.html.tmpl
Normal file
|
@ -0,0 +1,111 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Planet Fedora</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
||||
<link rel="stylesheet" type="text/css" media="print" href="http://planet.fedoraproject.org/css/print.css">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="http://fedoraproject.org/static/css/fedora.css">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="/css/fedora_planet.css">
|
||||
<link rel="shortcut icon" href="/images/favicon.ico">
|
||||
<link rel="icon" href="/images/favicon.ico">
|
||||
<link rel="alternate" type="application/xml" title="RSS" href="http://planet.fedoraproject.org/rss20.xml">
|
||||
<link rel="alternate" type="application/atom+xml" title="Fedora People Atom 1.0" href="http://planet.fedoraproject.org/atom.xml">
|
||||
<style type="text/css">
|
||||
#content ul {
|
||||
overflow: auto;
|
||||
list-style: none;
|
||||
}
|
||||
#content ul li {
|
||||
height: 160px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
margin: 1em;
|
||||
}
|
||||
#content ul li img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="home">
|
||||
<div id="wrapper">
|
||||
|
||||
<div id="head">
|
||||
<h1><a href="http://fedoraproject.org/">Fedora</a></h1>
|
||||
</div>
|
||||
|
||||
<div id="sidebar">
|
||||
<div id="planet_nav">
|
||||
|
||||
<h2>Feeds</h2>
|
||||
<a href="rss10.xml">RSS 1.0</a><br>
|
||||
<a href="rss20.xml">RSS 2.0</a><br>
|
||||
<a href="atom.xml">Atom 1.0</a><br>
|
||||
<a href="foafroll.xml">FOAF blogroll</a><br>
|
||||
|
||||
<h2>Links</h2>
|
||||
<ul>
|
||||
<li><a href="http://fedoraproject.org">Fedora Home</a></li>
|
||||
<li><a href="http://fedoranews.org">Fedora News</a></li>
|
||||
<li><a href="http://planet.fedoraproject.org/heads/">Hackergotchi Heads</a></li>
|
||||
<li><a href="http://fedoraproject.org/infofeed/">Fedora Info</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>Other Aggregates</h2>
|
||||
<ul>
|
||||
<li><a href="http://advogato.org/recentlog.html?thresh=4">Advogato</a> <a href="http://advogato.org/">(main)</a></li>
|
||||
<li><a href="http://www.planetapache.org/">Planet Apache</a></li>
|
||||
<li><a href="http://planet.arslinux.com/">Planet Ars Linux</a></li>
|
||||
<li><a href="http://planet.debian.net/">Planet Debian</a></li>
|
||||
|
||||
<li><a href="http://planet.gnome.org/">Planet Gnome</a></li>
|
||||
<li><a href="http://www.kdedevelopers.org/blog">KDE Developers</a></li>
|
||||
<li><a href="http://planet.freedesktop.org">Freedesktop.org</a></li>
|
||||
<li><a href="http://www.planetmysql.org/">Planet MySQL</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>People</h2>
|
||||
<ul id="people_feeds">
|
||||
|
||||
<TMPL_LOOP Channels>
|
||||
<li><a href="<TMPL_VAR url ESCAPE="HTML">"><img src="/images/rss.png" alt="RSS"></a><a href="<TMPL_VAR link>" title="<TMPL_VAR title>"><TMPL_VAR name></a></li>
|
||||
</TMPL_LOOP>
|
||||
</ul>
|
||||
|
||||
<h2>Add your blog</h2>
|
||||
<ul><li><a href="http://fedoraproject.org/wiki/Planet_HowTo">Add your blog</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="content">
|
||||
<div class="spacer">
|
||||
</div> <!-- :-} -->
|
||||
<ul>
|
||||
<TMPL_LOOP Channels>
|
||||
<!--<li class="head"><TMPL_IF link><a href="<TMPL_VAR link>" title="<TMPL_VAR title>"></TMPL_IF><img src="<TMPL_VAR face>" <TMPL_IF facewidth>width="<TMPL_VAR facewidth>" </TMPL_IF><TMPL_IF faceheight>height="<TMPL_VAR faceheight>" </TMPL_IF>alt="" /><TMPL_VAR name><TMPL_IF link></a></TMPL_IF></li>-->
|
||||
<li class="head"><TMPL_IF link><a href="<TMPL_VAR link>" title="<TMPL_VAR title>"></TMPL_IF><img src="<TMPL_VAR face>" /><TMPL_VAR name><TMPL_IF link></a></TMPL_IF></li>
|
||||
</TMPL_LOOP>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="bottom">
|
||||
<div id="footer">
|
||||
<p class="copy">Copyright © 2008 Red Hat, Inc. and others. All Rights Reserved. Please send any comments or corrections to the <a href="mailto:webmaster@fedoraproject.org">websites team</a>.</p>
|
||||
<p class="disclaimer">The Fedora Project is maintained and driven by the community and sponsored by Red Hat. This is a community maintained site. Red Hat is not responsible for content.</p>
|
||||
<p class="disclaimer">Your words are your own, duh. Nothing here represents Fedora™, Red Hat, Inc, or pretty much anything else. If you think it does then you are badly misled</p>
|
||||
<ul>
|
||||
<li class="first"><a href="/en/sponsors">Sponsors</a></li>
|
||||
<li><a href="http://fedoraproject.org/wiki/Legal">Legal</a></li>
|
||||
<li><a href="http://fedoraproject.org/wiki/Legal/TrademarkGuidelines">Trademark Guidelines</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
125
scripts/planet/people/templates/index.html.tmpl
Normal file
|
@ -0,0 +1,125 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Planet Fedora</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
|
||||
<meta http-equiv="Content-Type" content="text/html">
|
||||
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
||||
<link rel="stylesheet" type="text/css" media="print" href="http://planet.fedoraproject.org/css/print.css">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="http://fedoraproject.org/static/css/fedora.css">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="/css/fedora_planet.css">
|
||||
<link rel="shortcut icon" href="/images/favicon.ico">
|
||||
<link rel="icon" href="/images/favicon.ico">
|
||||
<link rel="alternate" type="application/xml" title="RSS" href="http://planet.fedoraproject.org/rss20.xml">
|
||||
<link rel="alternate" type="application/atom+xml" title="Fedora People Atom 1.0" href="http://planet.fedoraproject.org/atom.xml">
|
||||
</head>
|
||||
<body class="home">
|
||||
<div id="wrapper">
|
||||
|
||||
<div id="head">
|
||||
<h1><a href="http://fedoraproject.org/">Fedora</a></h1>
|
||||
</div>
|
||||
|
||||
<div id="sidebar">
|
||||
<div id="planet_nav">
|
||||
|
||||
<h2>Feeds</h2>
|
||||
<a href="rss10.xml">RSS 1.0</a><br>
|
||||
<a href="rss20.xml">RSS 2.0</a><br>
|
||||
<a href="atom.xml">Atom 1.0</a><br>
|
||||
<a href="foafroll.xml">FOAF blogroll</a><br>
|
||||
|
||||
<h2>Links</h2>
|
||||
<ul>
|
||||
<li><a href="http://fedoraproject.org">Fedora Home</a></li>
|
||||
<li><a href="http://fedoranews.org">Fedora News</a></li>
|
||||
<li><a href="http://planet.fedoraproject.org/heads/">Hackergotchi Heads</a></li>
|
||||
<li><a href="http://fedoraproject.org/infofeed/">Fedora Info</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>Other Aggregates</h2>
|
||||
<ul>
|
||||
<li><a href="http://advogato.org/recentlog.html?thresh=4">Advogato</a> <a href="http://advogato.org/">(main)</a></li>
|
||||
<li><a href="http://www.planetapache.org/">Planet Apache</a></li>
|
||||
<li><a href="http://planet.arslinux.com/">Planet Ars Linux</a></li>
|
||||
<li><a href="http://planet.debian.net/">Planet Debian</a></li>
|
||||
|
||||
<li><a href="http://planet.gnome.org/">Planet Gnome</a></li>
|
||||
<li><a href="http://www.kdedevelopers.org/blog">KDE Developers</a></li>
|
||||
<li><a href="http://planet.freedesktop.org">Freedesktop.org</a></li>
|
||||
<li><a href="http://www.planetmysql.org/">Planet MySQL</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>People</h2>
|
||||
<ul id="people_feeds">
|
||||
|
||||
<TMPL_LOOP Channels>
|
||||
<li><a href="<TMPL_VAR url ESCAPE="HTML">"><img src="images/rss.png" alt="RSS"></a><a href="<TMPL_VAR link>" title="<TMPL_VAR title>"><TMPL_VAR name></a></li>
|
||||
</TMPL_LOOP>
|
||||
</ul>
|
||||
|
||||
<h2>Add your blog</h2>
|
||||
<ul><li><a href="http://fedoraproject.org/wiki/Planet_HowTo">Add your blog</a></li></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="content">
|
||||
<div class="spacer">
|
||||
<TMPL_LOOP Items>
|
||||
|
||||
<TMPL_IF new_date>
|
||||
</div> <!-- :-} -->
|
||||
|
||||
<div class="blog-entries-daily">
|
||||
<h2 class="blog-date"><TMPL_VAR new_date></h2>
|
||||
</TMPL_IF>
|
||||
|
||||
|
||||
<div class="blog-entry <TMPL_VAR channel_name>">
|
||||
<div class="blog-entry-post">
|
||||
<div class="blog-entry-header">
|
||||
<div class="blog-entry-author">
|
||||
|
||||
<TMPL_IF channel_face>
|
||||
<img src="<TMPL_VAR channel_face>" <TMPL_IF channel_facewidth>width="<TMPL_VAR channel_facewidth>" </TMPL_IF><TMPL_IF channel_faceheight>height="<TMPL_VAR channel_faceheight>" </TMPL_IF>alt="">
|
||||
<br><a href="<TMPL_VAR channel_link>"><TMPL_VAR channel_name></a>
|
||||
|
||||
</TMPL_IF>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="blog-entry-title"><a href="<TMPL_VAR link>"><TMPL_IF title><TMPL_VAR title><TMPL_ELSE>Untitled Post</TMPL_IF></a></div>
|
||||
</div>
|
||||
|
||||
<div class="blog-entry-content-container">
|
||||
|
||||
<div class="blog-entry-content"><TMPL_VAR content></div>
|
||||
|
||||
</div>
|
||||
<div class="blog-entry-footer">
|
||||
<div class="blog-entry-timestamp"><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF creator>by <TMPL_VAR creator> at </TMPL_IF><TMPL_VAR date></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="bottom">
|
||||
<div id="footer">
|
||||
<p class="copy">Copyright © 2008 Red Hat, Inc. and others. All Rights Reserved. Please send any comments or corrections to the <a href="mailto:webmaster@fedoraproject.org">websites team</a>.</p>
|
||||
<p class="disclaimer">The Fedora Project is maintained and driven by the community and sponsored by Red Hat. This is a community maintained site. Red Hat is not responsible for content.</p>
|
||||
<p class="disclaimer">Your words are your own, duh. Nothing here represents Fedora™, Red Hat, Inc, or pretty much anything else. If you think it does then you are badly misled</p>
|
||||
<ul>
|
||||
<li class="first"><a href="/en/sponsors">Sponsors</a></li>
|
||||
<li><a href="http://fedoraproject.org/wiki/Legal">Legal</a></li>
|
||||
<li><a href="http://fedoraproject.org/wiki/Legal/TrademarkGuidelines">Trademark Guidelines</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
16
scripts/planet/people/templates/opml.xml.tmpl
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0"?>
|
||||
<opml version="1.1">
|
||||
<head>
|
||||
<title><TMPL_VAR name></title>
|
||||
<dateCreated><TMPL_VAR date_822></dateCreated>
|
||||
<dateModified><TMPL_VAR date_822></dateModified>
|
||||
<ownerName><TMPL_VAR owner_name></ownerName>
|
||||
<ownerEmail><TMPL_VAR owner_email></ownerEmail>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<TMPL_LOOP Channels>
|
||||
<outline text="<TMPL_VAR name ESCAPE="HTML">" xmlUrl="<TMPL_VAR uri ESCAPE="HTML">"/>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
</opml>
|
33
scripts/planet/people/templates/rss10.xml.tmpl
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0"?>
|
||||
<rdf:RDF
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns="http://purl.org/rss/1.0/"
|
||||
>
|
||||
<channel rdf:about="<TMPL_VAR link ESCAPE="HTML">">
|
||||
<title><TMPL_VAR name></title>
|
||||
<link><TMPL_VAR link></link>
|
||||
<description>Fedora People: http://planet.fedoraproject.org</description>
|
||||
<items>
|
||||
<rdf:Seq>
|
||||
<TMPL_LOOP Items>
|
||||
<rdf:li rdf:resource="<TMPL_VAR id ESCAPE="HTML">" />
|
||||
</TMPL_LOOP>
|
||||
</rdf:Seq>
|
||||
</items>
|
||||
</channel>
|
||||
|
||||
<TMPL_LOOP Items>
|
||||
<item rdf:about="<TMPL_VAR id ESCAPE="HTML">">
|
||||
<title><TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF></title>
|
||||
<link><TMPL_VAR link></link>
|
||||
<TMPL_IF content>
|
||||
<content:encoded><TMPL_VAR content ESCAPE="HTML"></content:encoded>
|
||||
</TMPL_IF>
|
||||
<dc:date><TMPL_VAR date_iso></dc:date>
|
||||
</item>
|
||||
</TMPL_LOOP>
|
||||
|
||||
</rdf:RDF>
|
27
scripts/planet/people/templates/rss20.xml.tmpl
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title><TMPL_VAR name></title>
|
||||
<link><TMPL_VAR link></link>
|
||||
<language>en</language>
|
||||
<description>Fedora People: http://planet.fedoraproject.org</description>
|
||||
|
||||
<TMPL_LOOP Items>
|
||||
<item>
|
||||
<title><TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF></title>
|
||||
<guid><TMPL_VAR id></guid>
|
||||
<link><TMPL_VAR link></link>
|
||||
<TMPL_IF content>
|
||||
|
||||
<description>
|
||||
<TMPL_IF channel_face>
|
||||
<img src="<TMPL_VAR channel_face>" <TMPL_IF channel_facewidth>width="<TMPL_VAR channel_facewidth>" </TMPL_IF><TMPL_IF channel_faceheight>height="<TMPL_VAR channel_faceheight>" </TMPL_IF> alt="" style="float: right;">
|
||||
</TMPL_IF>
|
||||
<TMPL_VAR content ESCAPE="HTML"></description>
|
||||
</TMPL_IF>
|
||||
<pubDate><TMPL_VAR date_822></pubDate>
|
||||
</item>
|
||||
</TMPL_LOOP>
|
||||
|
||||
</channel>
|
||||
</rss>
|
173
scripts/planet/planetconfigbuilder.py
Executable file
|
@ -0,0 +1,173 @@
|
|||
#!/usr/bin/python
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Library General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
# Copyright 2008 (c) Red Hat, Inc - written by Seth Vidal <skvidal@fedoraproject.org>
|
||||
|
||||
from ConfigParser import ConfigParser, ParsingError
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import pwd
|
||||
import time
|
||||
|
||||
class Config(object):
|
||||
def __init__(self, fn='/etc/planetbuilder.conf'):
|
||||
"""read in our config data"""
|
||||
self.ignore_users = []
|
||||
self.banned_stanzas = ['Planet', 'main', 'DEFAULT']
|
||||
self.base_config = None
|
||||
self.group = None
|
||||
self.output = sys.stdout
|
||||
self.output_fn = None
|
||||
|
||||
cp = ConfigParser()
|
||||
cp.read(fn)
|
||||
if cp.has_section('main'):
|
||||
if cp.has_option('main', 'base_config'):
|
||||
self.base_config = cp.get('main', 'base_config')
|
||||
if cp.has_option('main', 'group'):
|
||||
self.group = cp.get('main', 'group')
|
||||
|
||||
if cp.has_option('main', 'ignore_users'):
|
||||
iu = cp.get('main', 'ignore_users')
|
||||
iu = iu.replace(',',' ')
|
||||
for user in iu.split(' '):
|
||||
self.ignore_users.append(user)
|
||||
if cp.has_option('main', 'banned_stanzas'):
|
||||
bs = cp.get('main', 'banned_stanzas')
|
||||
bs = bs.replace(',',' ')
|
||||
for banned in bs.split(' '):
|
||||
self.banned_stanzas.append(banned)
|
||||
if cp.has_option('main', 'output'):
|
||||
of = cp.get('main', 'output')
|
||||
self.output = open(of, 'w')
|
||||
self.output_fn = of
|
||||
|
||||
def error_print(msg):
|
||||
print >> sys.stderr, msg
|
||||
|
||||
class PlanetBuilderException(Exception):
|
||||
def __init__(self, value=None):
|
||||
Exception.__init__(self)
|
||||
self.value = value
|
||||
|
||||
def __str__(self):
|
||||
return "%s" %(self.value,)
|
||||
|
||||
|
||||
class PlanetBuilder(object):
|
||||
def __init__(self, config_file):
|
||||
self.entries = {}
|
||||
self.conf = Config(config_file)
|
||||
|
||||
def add(self, entry):
|
||||
if not entry.feed or not entry.name:
|
||||
raise PlanetBuilderException, "entry %s lacks feed or name" % entry
|
||||
|
||||
if entry.feed in self.conf.banned_stanzas:
|
||||
raise PlanetBuilderException, "entry %s is in banned list" % entry
|
||||
|
||||
if self.entries.has_key(entry.feed):
|
||||
raise PlanetBuilderException, "entry %s already exists in list" % entry
|
||||
|
||||
self.entries[entry.feed] = entry
|
||||
|
||||
def compile(self):
|
||||
result = "#planet config compiled on %s\n" % time.ctime()
|
||||
result += "#using group %s and config %s\n" % (self.conf.group, self.conf.base_config)
|
||||
if self.conf.base_config:
|
||||
bc = open(self.conf.base_config, 'r').read()
|
||||
result += bc
|
||||
|
||||
for e in self.entries.values():
|
||||
e_format = "# Origin: %s\n" % (e.origin)
|
||||
e_format += "[%s]\nname=%s\n" % (e.feed, e.name)
|
||||
if e.face:
|
||||
e_format += "face=%s\n" % (e.face)
|
||||
result += e_format
|
||||
result += "\n"
|
||||
|
||||
self.result = result
|
||||
|
||||
def produce_output(self):
|
||||
self.conf.output.write(self.result)
|
||||
self.conf.output.close()
|
||||
|
||||
class PlanetEntry(object):
|
||||
|
||||
def __init__(self, origin, feed=None, name=None, face=None):
|
||||
self.origin = origin
|
||||
self.feed = feed
|
||||
self.name = name
|
||||
if not name:
|
||||
self.name = origin
|
||||
self.face = face
|
||||
|
||||
def __str__(self):
|
||||
return '%s:%s' % (self.origin, self.feed)
|
||||
|
||||
class PlanetFile(object):
|
||||
def __init__(self, filename):
|
||||
self.entries = []
|
||||
# open up with cp
|
||||
cp = ConfigParser()
|
||||
try:
|
||||
cp.read(filename)
|
||||
except ParsingError, e:
|
||||
error_print("Problem parsing %s - %s" % (filename, str(e)))
|
||||
return
|
||||
|
||||
for s in cp.sections():
|
||||
name = face = None
|
||||
if cp.has_option(s, 'name'):
|
||||
name = cp.get(s, 'name')
|
||||
if cp.has_option(s, 'face'):
|
||||
face = cp.get(s, 'face')
|
||||
e = PlanetEntry(filename, feed=s, name=name, face=face)
|
||||
self.entries.append(e)
|
||||
|
||||
def __iter__(self):
|
||||
return self.entries.__iter__()
|
||||
|
||||
def main(config_file='/etc/planetbuilder.conf'):
|
||||
pb = PlanetBuilder(config_file)
|
||||
|
||||
fn = '.planet'
|
||||
if pb.conf.group:
|
||||
fn = '.planet.%s' % pb.conf.group
|
||||
|
||||
for (n, p, u, g, c, h, s) in pwd.getpwall():
|
||||
if u < 500:
|
||||
continue
|
||||
if n in pb.conf.ignore_users:
|
||||
continue
|
||||
|
||||
if os.path.exists(h + '/' + fn):
|
||||
for entry in PlanetFile(h + '/' + fn):
|
||||
pb.add(entry)
|
||||
|
||||
pb.compile()
|
||||
pb.produce_output()
|
||||
print pb.conf.output_fn
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) > 1:
|
||||
main(sys.argv[1])
|
||||
else:
|
||||
main()
|
||||
|
||||
|
||||
|
||||
|