Skip to content

Instantly share code, notes, and snippets.

<review>
<section id="1" handle="reviews">Reviews</section>
<entry id="1">
<title handle="...">...</title>
<related-entries section="books">
<entry id="2">
<title handle="...">...</title>
<publisher handle="...">...</publisher>
<description mode="formatted">
<p>...</p>
@nickdunn
nickdunn / dabblet.css
Created March 19, 2012 17:58 — forked from JoelBesada/dabblet.css
CSS States
/* CSS States */
body {
background: url(http://dabblet.com/img/noise.png);
background-color: #F5F2F0;
font-family: Georgia, serif;
font-size: 18px;
line-height: 1.6em;
text-shadow: 0 2px 0 white;
color: #222;
}
<data>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
<entry>Text</entry>
{
query: {
bool: {
must: [
{
query_string: {
default_field: "_all",
query: "\"lord of the rings\""
}
},
<data>
<hello>paste your xml here!!</hello>
</data>
<data>
<hello>paste your xml here!</hello>
</data>
@nickdunn
nickdunn / authors.xml
Last active September 28, 2015 12:18
Extension Metadata Schema v1.0
<authors>
<author>
<name github="username" symphony="username" twitter="username">Your Name</name>
<email>[email protected]</email>
<website>http://domain.co.uk</website>
</author>
...
</authors>
@nickdunn
nickdunn / extension.about.xml
Created October 21, 2011 14:38 — forked from nils-werner/extension.about.xml
Symphony extension meta XML
<?xml version="1.0" encoding="UTF-8" ?>
<extension id="search_index" xmlns="http://symphony-cms.com/extensions/1.0">
<!-- string, required -->
<name>Search Index</name>
<!-- string, required (@lang optional) -->
<description lang="en">Index text content of entries for efficient full-text search.</description>
<!-- string, required (must be Github for clever API things to happen) -->
@nickdunn
nickdunn / extension.about.xml
Created October 21, 2011 14:38 — forked from nils-werner/extension.about.xml
Symphony extension meta XML
<?xml version="1.0" encoding="UTF-8" ?>
<metadata version="1.0">
<extension id="search_index">
<!-- string, required -->
<name>Search Index</name>
<!-- string, required (@lang optional) -->
<description lang="en">Index text content of entries for efficient full-text search.</description>
@nickdunn
nickdunn / master.xml
Created September 30, 2011 14:33
Blah blah blah
<?xml version="1.0" encoding="UTF-8" ?>
<stuff>
<more>TEST</more>
</stuff>