[xiph-cvs] r6546 - in websites: . xiph.org/CSS
comatoast at xiph.org
comatoast at xiph.org
Mon Apr 19 11:15:39 PDT 2004
Author: comatoast
Date: 2004-04-19 14:15:38 -0400 (Mon, 19 Apr 2004)
New Revision: 6546
Modified:
websites/todo.txt
websites/wrapup.py
websites/xiph.org/CSS/all.css
Log:
Style changes and some wrapup.py tweaks to get a pretty date from "2004-04-01".
It doesn't work properly yet.
<p>Modified: websites/todo.txt
===================================================================
--- websites/todo.txt 2004-04-19 10:07:30 UTC (rev 6545)
+++ websites/todo.txt 2004-04-19 18:15:38 UTC (rev 6546)
@@ -7,9 +7,18 @@
ancestors used", kinda like an OO derivation thing.
* Anyhow, for this out-of-band data thing: In it, I'd have stuff for:
* Extra things to put in <head>
- * Extra things to put before <div id='content'>
- * Extra things to put after <div id='content'>
+ * Extra things to put **before** `<div id='content'>`
+ * Extra things to put **after** `<div id='content'>`
* Maybe a partially-automated way to do next and previous <link rel='...'> bits.
Maybe I could use PyYaml. Although that's probably serious overkill.
-* Figure out a way to have a bunch of files in Markdown .txt and then generate news bits
- from them. Bonus points if you can whip up Atom feeds from the bunch.
+
+For the News Things
+------------------
+
+* We should be able to generate both page snippets and an Atom feed from the news posts.
+* The news things should be able to be placed in multiple categories. Such categories would
+ include, but not be limited to "vorbis", "flac", "speex", "theora", "icecast",
+ "organizational", and the like.
+* News items must be able to be placed in multiple categories; the oggenc that shipped with
+ the 1.0.1 release that could encode to vorbis from flac should be mentioned in both
+ the "vorbis" and "flac" sections.
Modified: websites/wrapup.py
===================================================================
--- websites/wrapup.py 2004-04-19 10:07:30 UTC (rev 6545)
+++ websites/wrapup.py 2004-04-19 18:15:38 UTC (rev 6546)
@@ -109,6 +109,17 @@
ret += "</html>\n"
return ret
+def makeReadableDate(isoDate):
+ """Gets "January 4, 1982" from "1982-01-04"."""
+ year = isoDate[0-4]
+ day = isoDate[-2:]
+ if day.startswith('0'): day = day[-1]
+ month = isoDate[5:7]
+ months = """Nothing January February March April May June
+ July August September October November December""".split()
+ return "%s %s, %s" % (months[int(month)], day, year)
+
+
if __name__ == '__main__':
for dirpath, dirnames, filenames in os.walk('.'):
for filename in filter(lambda x: x.endswith(".txt"), filenames):
Modified: websites/xiph.org/CSS/all.css
===================================================================
--- websites/xiph.org/CSS/all.css 2004-04-19 10:07:30 UTC (rev 6545)
+++ websites/xiph.org/CSS/all.css 2004-04-19 18:15:38 UTC (rev 6546)
@@ -1,10 +1,23 @@
html {
font: 80% Verdana, sans-serif;
color: #010;
+
+ /* guess which colors I like... */
background: #ffdead; /* navajo white */
- background: #2f4f4f; /* dark slate gray */
background: #696969; /* dim gray */
background: #008080; /* teal */
+ background: #f5f5f5; /* white smoke */
+ background: #fff5ee; /* seashell */
+ background: #5f9ea0; /* cadet blue */
+ background: #2f4f4f; /* dark slate gray */
+ background: #778899; /* light slate gray */
+ background: #708090; /* slate gray */
+ background: #2e8b57; /* sea green */
+ background: #4682b4; /* steel blue */
+ background: #6495ed; /* cornflower blue */
+ background: #1e90ff; /* cornflower blue */
+ background: #556b2f; /* dark olive green */
+
margin: 0;
padding: 0;
}
@@ -15,7 +28,6 @@
}
h1 {
- color: #2f4f4f;
margin-top: 0;
}
@@ -36,6 +48,9 @@
padding: 0;
}
+/* the "bignavbuttons" thing was taken from www.adaptivepath.com.
+ I'm still not sure what the em.reset is for.
+*/
ul#bignavbuttons {
margin: 0;
padding: 0;
@@ -45,7 +60,6 @@
list-style-type: none;
margin: 0;
margin-bottom: 1em;
- padding: .25em;
border: 1px solid gray;
background: white;
}
@@ -59,6 +73,11 @@
ul#bignavbuttons a {
display: block;
+ padding: .25em;
text-decoration: none;
font-size: .8em;
}
+
+ul#bignavbuttons a:hover {
+ background: #90ee90; /* light green */
+}
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list