Skip to content

Instantly share code, notes, and snippets.

View carsten's full-sized avatar

Carsten de Vries carsten

View GitHub Profile
@carsten
carsten / gallery.xsl
Created November 1, 2009 22:41
XSLT for Simpleviewer Gallery integration with Symphony
@carsten
carsten / albums.xsl
Created June 11, 2009 16:39
Use to display a list of albums and show Picasa Web Albums. In combination with:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:media="http://search.yahoo.com/mrss/"
xmlns:atom="http://www.w3.org/2005/Atom"
exclude-result-prefixes="media atom">
<xsl:output method="xml"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
@carsten
carsten / gist:109999
Created May 11, 2009 14:35
Let someone send you an email. Based on Symphony 1.7 send_email event by Alistair Kearney, http://www.pointybeard.com, alistair@pointybeard.com.
<?php
Class eventSend_Email Extends Event{
function __construct($args = array()){
parent::__construct($args);
}
public static function about(){
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" omit-xml-declaration="no" />
<xsl:template match="/">
<xsl:call-template name="sitemap" />
</xsl:template>
<xsl:template name="sitemap">
<urlset>
@carsten
carsten / links.xsl
Created March 26, 2009 18:58
Organized link categories