Skip to content

Instantly share code, notes, and snippets.

bkeating / wordpress-wxr-example.xml
Created February 23, 2011 16:57
A vanilla example of the WordPress WXR Schema. Im using this as a starting point to build my own comments importer for
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
<!-- title of article -->
bzerangue / us-states.xml
Created May 21, 2011 20:54
List of States in the United States of America (with dates of when they became as state)
<?xml version="1.0" encoding="UTF-8"?>
<states nation="United States of America" nation-abbreviation="USA" nation-capital="Washington, D.C.">
<state name="Alabama" abbreviation="AL" capital="Montgomery" date="1819-12-14" most-populous-city="Birmingham" population="4708708" square-miles="52423" time-zone-1="CST (UTC-06)" time-zone-2="EST (UTC-05)" dst="Yes"/>
<state name="Alaska" abbreviation="AK" capital="Juneau" date="1959-01-03" most-populous-city="Anchorage" population="698473" square-miles="656425" time-zone-1="AKST (UTC-09)" time-zone-2="HST (UTC-10)" dst="Yes"/>
<state name="Arizona" abbreviation="AZ" capital="Phoenix" date="1912-02-14" most-populous-city="Phoenix" population="6595778" square-miles="114006" time-zone-1="MT (UTC-07)" dst="No"/>
<state name="Arkansas" abbreviation="AR" capital="Little Rock" date="1836-06-15" most-populous-city="Little Rock" population="2889450" square-miles="53182" time-zone-1="CST (UTC-06)" dst="Yes"/>
<state name="California" abbreviation="CA" capital="Sacrame
bzerangue / books-of-the-bible.xml
Created August 20, 2011 23:14
A list of the Books of the Bible in XML format.
<?xml version="1.0" encoding="UTF-8"?>
<entry handle="01">
<name handle="genesis">Genesis</name>
<testament handle="old-testament" abbreviation="OT">Old Testament</testament>
<entry handle="02">
<name handle="exodus">Exodus</name>
<testament handle="old-testament" abbreviation="OT">Old Testament</testament>
mirisuzanne / tutorial.mkdn
Created August 22, 2011 20:37
A new Susy tutorial

Susy 0.9 Tutorial

See the official Susy site for 1.0 documentation.

For this tutorial I'm assuming you are already comfortable with CSS, Sass (I'll use the SCSS syntax) and Compass. Please get set up with each one of those before attempting to use Susy. Sass and Compass both have their own setup instructions and tutorials that you can use.

There is also reference documentation in the works.

Building a Susy Grid

mirisuzanne / reference.mkdn
Created August 22, 2011 23:34
Susy 0.9 Reference Documentation

Susy 0.9 Reference Documentation

See the official Susy site for 1.0 documentation.


  • Susy Grid: A grid that you build with Susy. You can have multiple on one page if you need.
  • Grid Element: Any HTML element that is aligned to a Susy Grid.
  • Container: The root element in a Susy Grid. Anything inside it is a potential Grid Element.
bauhouse / date-time.xsl
Created October 16, 2011 15:37
Project Template
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
This is a date formatting utility. The named template "format-date" takes 2 parameters:
1. date - [required] takes an ISO date (2005-12-01)
bauhouse /
Created October 16, 2011 16:16
Delete Files to Reinstall Symphony CMS
sudo rm -rf .htaccess install-log.txt manifest
bauhouse / home.xml
Created October 27, 2011 22:23
Master XSL Template with overrides
<?xml version="1.0" encoding="utf-8" ?>
<website-name>Symphony CMS</website-name>
<?xml version="1.0" encoding="UTF-8"?>
<link rel="stylesheet" href="workspace/assets/style.css"/>
<div id="head">
<div id="package">
location / {
index index.php;
# serve static files directly
if (-f $request_filename) {
access_log off;
expires 30d;