This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## | |
| # Mount my development websites folder | |
| # | |
| # NOTE: Because this uses Mac OS X mounting techniques, all mac format | |
| # images are supported and many other UNIX filesystem formats. | |
| # (My Development Sites image is stored encrypted.) | |
| # Location of the image to be mounted | |
| IMAGE="$HOME/Documents/Development Sites.sparsebundle" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- Properly base URLs so they work --> | |
| <xsl:template name="GetUrl" match="@href | @src" mode="html"> | |
| <xsl:param name="Url" select="." /> | |
| <xsl:variable name="AbsoluteUrl"> | |
| <xsl:choose> | |
| <xsl:when test="contains($Url,'://') or starts-with($Url,'/')"><xsl:value-of select="$Url" /></xsl:when> | |
| <xsl:when test="starts-with($Url,'~/')"><xsl:value-of select="concat($root,substring($Url,1))" /></xsl:when> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <!-- | |
| XSL Utility for Symphony 2 | |
| Convert RSS feed date format to Symphony date format | |
| Convert RFC 2822 timestamp format to ISO date format minus the time info (Symphony CMS date format) | |
| RFC 2822 format: Sun, 7 Jan 2007 12:00:00 GMT | |
| ISO 8601 format (minus the time info): 2007-01-07 | |
| --> | |
| <xsl:stylesheet version="1.0" |
NewerOlder