Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMS: Add Post Status & Priority (for WACOP)
- Loading branch information
Showing
8 changed files
with
118 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
23345af (2017-01-16 11:56:13) | ||
2f2756d (2017-01-16 13:29:03) |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Name,Comments | ||
Active, | ||
Complete, | ||
Testing |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Name,Comments |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0"?> | ||
<xsl:stylesheet | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<!-- ********************************************************************** | ||
Post Statuses - CSV Import Stylesheet | ||
CSV column...........Format..........Content | ||
Name.................string..........Name | ||
Comments.............string..........Comments | ||
*********************************************************************** --> | ||
<xsl:output method="xml"/> | ||
|
||
<!-- ****************************************************************** --> | ||
<xsl:template match="/"> | ||
<s3xml> | ||
<xsl:apply-templates select="./table/row"/> | ||
</s3xml> | ||
</xsl:template> | ||
|
||
<!-- ****************************************************************** --> | ||
<xsl:template match="row"> | ||
<resource name="cms_status"> | ||
<data field="name"><xsl:value-of select="col[@field='Name']"/></data> | ||
<data field="comments"><xsl:value-of select="col[@field='Comments']"/></data> | ||
</resource> | ||
</xsl:template> | ||
<!-- ****************************************************************** --> | ||
|
||
</xsl:stylesheet> |