[xiph-cvs] r6663 - in websites-ngen: . xiph.org xiph.org/codecs xiph.org/paranoia xiph.org/tools xiph.org/vorbis

comatoast at xiph.org comatoast at xiph.org
Thu May 13 21:28:12 PDT 2004



Author: comatoast
Date: 2004-05-14 00:28:11 -0400 (Fri, 14 May 2004)
New Revision: 6663

Added:
   websites-ngen/xiph.org/codecs/
   websites-ngen/xiph.org/codecs/index.markdown
   websites-ngen/xiph.org/index.es.markdown
   websites-ngen/xiph.org/paranoia/index.markdown
   websites-ngen/xiph.org/tools/
   websites-ngen/xiph.org/tools/index.markdown
Modified:
   websites-ngen/
   websites-ngen/todo.txt
   websites-ngen/wrapup.py
   websites-ngen/xiph.org/
   websites-ngen/xiph.org/.htaccess
   websites-ngen/xiph.org/paranoia/
   websites-ngen/xiph.org/vorbis/
Log:
* Fairly large to-do list edit, with a chronologicalish list of things I need to complete.
* More multilingual edits. Currently only supporting Spanish. Partially.
  Still need to generalize it for the includes.
  However, "/es" works as an URL, even if the 404 message is a bit odd.
* Stubbed out /codecs/ and /tools/.
* Added in the Rewrite* stuff in .htaccess to support Spanish and German-language versions of
  pages accessible through */es or */de URLs, respectively.

<p><p>Property changes on: websites-ngen
___________________________________________________________________
Name: svn:ignore
   - *index.html

   + *index.html
commit.txt

<p>Modified: websites-ngen/todo.txt
===================================================================
--- websites-ngen/todo.txt	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/todo.txt	2004-05-14 04:28:11 UTC (rev 6663)
@@ -1,18 +1,18 @@
 To Do
 =====
 
-*	Implement some of the ideas on <http://wiki.xiph.org/SXSW2004Ideas>. Specifically, try having the huge buttons
-	on the left be for "developers", "music fans", "artists".
+*	Implement some of the ideas on <http://wiki.xiph.org/SXSW2004Ideas>.
+	Specifically, try having the huge buttons on the left be for
+	"developers", "music fans", "artists".
 
-*	Realize that / will be _really_ weird, and that maybe it'd be nice to have that "inherit" from a common base
-	instead of it *being* the common base. Change things accordingly. Not sure how.
+*	Make the front page look less like a blog page and more like a proper introduction.
 
-*	News. Getting there.
+*	Make a new essay (series) for /about/.
 
+*	News. Filterable. And in Atom.
+
 *	A software directory.
 
-*	Breadcrumbs.
-
 *	We need a tagline. Lame starter: "Compressing your media into byte-size chunks"
 
 *	A BOM snipper.
@@ -20,14 +20,57 @@
 *	A way to have the title element and the first h1 element differ.
         I guess it’s time to have the per-html-file .ini doodad after all.
 
-*	Sell the Powers that Be on a hypothetical http://files.xiph.org/ so we
-	don't end up putting big, useless things like .rpms and source .tgz files and (gasp) .exe
-	files in the subversion repo, making it even more bloated and time-consuming to download.
+*	A way to re-do different .include and .inherit files based on language
+	to go with our language-based thingy.
 
-For the News Things
-------------------
+Open Questions
+--------------
 
-*	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.
+How can we communicate--in ten words or less--why...
+
+*	J. Random User should re-rip his CD collection in Vorbis or FLAC?
+*	M. Squeakyvoice should post samples of her work in Vorbis?
+
+I suppose there are two levels of benefits that one can get when he moves to Xiph stuff:
+
+*	Things that happen with a mixed library or catalogue
+	*	better audio quality
+	*	bandwidth savings
+	*	FLAC->Vorbis transcoding
+	*	maximum compatibility (you can still reach iTunes users and the incompetent)
+		at the expense of storage space
+
+*	Things that only work with an MP3/Shorten/AAC/APE-free environment
+	*	reduced patent liability risk
+	*	
+
+What Must Be Done Before Shipping
+---------------------------------
+
+* news, including a project-specific news dribble on each project page 
+* /about/ (and a new one, please; the current one is dated)
+* /donate/
+* /subversion/
+* /contact/
+* /ogg/ (not much, just spec stuff)
+* /vorbis/ (both from xiph.org and vorbis.com)
+* /speex/
+* mailing list archives
+
+* /paranoia/ (possibly with much less filler than it has)  
+* /mgm/
+
+What May Or May Not Be Done Before Shipping
+-------------------------------------------
+* /icecast/ (we'd need to bring oddsock/karl/mike back into the fold and retrofit their
+             directory thingy onto our stuff)
+* /flac/	(I cringe to think of how we could get Josh and his mystery men integrated
+             into the rest of the team)
+* /theora/   (shouldn't be too difficult, though)
+* /glossary/ (helpful, but we're currently doing without)
+* /vorbis/sample/ (listen to a sample Ogg Vorbis stream in a couple of bitrates)
+
+Documentation, So Others Can Write To The Web Site
+--------------------------------------------------
+* Get Ed and Josh and their cohorts in a room together and teach them the basics of
+  markdown+wrapup. 

Modified: websites-ngen/wrapup.py
===================================================================
--- websites-ngen/wrapup.py	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/wrapup.py	2004-05-14 04:28:11 UTC (rev 6663)
@@ -63,7 +63,7 @@
                 .afterContentInherit	--	stuff to include after the content div
                         
         """
-	def __init__(self, sourceFilename, destFilename=None):
+	def __init__(self, sourceFilename, destFilename=None, lang=None):
                 self.sourceFilename = sourceFilename
                 if destFilename:
                         self.destFilename = destFilename
@@ -80,7 +80,8 @@
                 if match:									#TODO: needs decent error handling
                         self.title = "Xiph.Org: " + match.group(1)
                 
-		self.lang = 'en-US'
+		self.lang = lang
+		if self.lang == None: self.lang == 'en-US'
 
                 self.inHeadInherit = ''
                 self.inHeadInclude = ''
@@ -214,8 +215,9 @@
         Or even given cheeses\france\brie.html:
                 cheeses\france\brie.html
                 cheeses\brie.html
-		brie.html	
-
+		brie.html
+	
+	Returns "" if no such file is found.
         """
         while True:
                 # okay, we need to abort out on two conditions:
@@ -289,8 +291,7 @@
                 return ret
                 
         def dump(self):
-		"""You will rot in the Hot Place if you modify the contents of this return value."""
-		return self.datedAndOptionedPostList
+		return self.datedAndOptionedPostList[:]
         def dumpPretty(self):
                 ret = ""
                 for post in self.datedAndOptionedPostList:
@@ -303,10 +304,13 @@
                 # bug if more than one .markdown file in a directory
                 for filename in filter(lambda x: x.endswith(".markdown"), filenames):
                         srcPath = os.path.join(dirpath, filename)
+			destFile = os.path.splitext(filename)[0] + ".html"
+			destPath = getParallelFile(srcPath, destFile)
                         print srcPath
-			destPath = getParallelFile(srcPath, "index.html")
-
-			mw = MarkdownWrapper(srcPath, destPath)
+			
+			lang = 'en-US'
+			if ".es." in srcPath: lang = "es"
+			mw = MarkdownWrapper(srcPath, destPath, lang)
                         mw.renderToFile()
                 if ".svn" in dirnames:
                         dirnames.remove('.svn') # don't transform things in .svn directories

<p>Property changes on: websites-ngen/xiph.org
___________________________________________________________________
Name: svn:ignore
   - index.html

   + index.html
index.es.html

<p>Modified: websites-ngen/xiph.org/.htaccess
===================================================================
--- websites-ngen/xiph.org/.htaccess	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/xiph.org/.htaccess	2004-05-14 04:28:11 UTC (rev 6663)
@@ -3,3 +3,6 @@
 
 # good guess, but not good enough
 Redirect permanent /svn/ http://www.xiph.org/subversion/ 
+
+RewriteEngine On
+RewriteRule ^(.*)(es|de)$ $1index.$2.html

<p>Property changes on: websites-ngen/xiph.org/codecs
___________________________________________________________________
Name: svn:ignore
   + index.html

<p>Added: websites-ngen/xiph.org/codecs/index.markdown
===================================================================
--- websites-ngen/xiph.org/codecs/index.markdown	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/xiph.org/codecs/index.markdown	2004-05-14 04:28:11 UTC (rev 6663)
@@ -0,0 +1,12 @@
+# Codecs
+
+We do codecs. Behold:
+* [Vorbis][], a general-purpose audio compression codec
+* [FLAC][], a lossless audio codec
+* [Speex][], an audio codec designed to compress speech to ultra-low bitrates
+* [Theora][], a video compression codec
+
+	[Vorbis]:	/vorbis/
+	[FLAC]:		/flac/
+	[Speex]:	/speex/
+	[Theora]:	/theora/

Added: websites-ngen/xiph.org/index.es.markdown
===================================================================
--- websites-ngen/xiph.org/index.es.markdown	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/xiph.org/index.es.markdown	2004-05-14 04:28:11 UTC (rev 6663)
@@ -0,0 +1,6 @@
+# ¡Bienvenidos a Xiph.Org!
+
+<!-- perdóneme porque he olvido todo de mis clases de español… -->
+
+Xiph.Org hace codecs multimedia y otras cosas para protegir las fundaciones de Internet
+multimedia de control por interesas privadas.

<p>Property changes on: websites-ngen/xiph.org/paranoia
___________________________________________________________________
Name: svn:ignore
   + index.html

<p>Added: websites-ngen/xiph.org/paranoia/index.markdown
===================================================================
--- websites-ngen/xiph.org/paranoia/index.markdown	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/xiph.org/paranoia/index.markdown	2004-05-14 04:28:11 UTC (rev 6663)
@@ -0,0 +1,8 @@
+# Paranoia
+<div class='tagline'>
+	“Use your CD-ROM drive to read audio tracks…and have it actually work right!”
+</div>
+
+This is the main site for the Paranoia libraries and <span class='app'>cdparanoia</span>, a
+CD ripper that can extract audio from CD-ROM drives to WAV, AIFF, AIFC, or raw, 16-bit linear PCM
+with no analog step in between.

<p>Property changes on: websites-ngen/xiph.org/tools
___________________________________________________________________
Name: svn:ignore
   + index.html

<p>Added: websites-ngen/xiph.org/tools/index.markdown
===================================================================
--- websites-ngen/xiph.org/tools/index.markdown	2004-05-12 20:12:31 UTC (rev 6662)
+++ websites-ngen/xiph.org/tools/index.markdown	2004-05-14 04:28:11 UTC (rev 6663)
@@ -0,0 +1,11 @@
+# Tools
+
+We don’t make just audio and video codecs; we make tools, too. Behold:
+
+* [Icecast][], a streaming audio server
+* [MGM][], a load and status meter written in Perl
+* [Paranoia][], a CD audio extraction library and application
+
+	[Icecast]:	/icecast/
+	[MGM]:		/mgm/
+	[Paranoia]:	/paranoia/

<p>Property changes on: websites-ngen/xiph.org/vorbis
___________________________________________________________________
Name: svn:ignore
   + index.html

<p>--- >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