Skip to content

Instantly share code, notes, and snippets.

@nickdunn
Created July 29, 2011 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nickdunn/1114078 to your computer and use it in GitHub Desktop.
Save nickdunn/1114078 to your computer and use it in GitHub Desktop.
Symphony extension meta XML
<?xml version="1.0" encoding="UTF-8" ?>
<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>
<!-- string, required (must be Github for clever API things to happen) -->
<url type="repo">https://github.com/nickdunn/search_index</repository>
<!-- string, optional (@type=repo|homepage|wiki|other?) -->
<url type="homepage">http://symphony-cms.com/downloads/extensions/search_index</repository>
<!-- list, optional (Symphony to define suggested vocabulary, suggest leaving this out initially?) -->
<types>
<type>Field</type>
<type>Interface</type>
<type>Workflow</type>
</types>
<!-- list, required -->
<authors>
<author>
<!-- string, required (@github, @symphony, @twitter optional) -->
<name github="nickdunn" symphony="nickdunn" twitter="nickdunn">Nick Dunn</name>
<!-- string, optional -->
<email>nick@nick-dunn.co.uk</email>
<!-- string, optional -->
<website>http://nick-dunn.co.uk</website>
</author>
</authors>
<!-- list, optional -->
<dependencies>
<dependency version="0.5">stage</dependency>
</dependencies>
<!-- list, required at least one. Largest version number is assumed latest -->
<releases>
<release>
<version>0.9.1</version>
<date>2011-07-08</date>
<!-- list, optional -->
<compatibility range="yes">
<symphony>2.0</symphony>
<symphony>2.0.5</symphony>
</compatibility>
</release>
<release>
<version>1.3</version>
<date>2011-03-12</date>
<compatibility>
<symphony>2.0.6</symphony>
<symphony>2.0.8</symphony>
</compatibility>
</release>
</releases>
</extension>
@nils-werner
Copy link

I'd suggest using AppID's/ExtensionID's to identify extensions and dependencies. So instead of

<dependency>https://github.com/nilshoerrmann/stage</dependency>

I'd use

<dependency>com.nilshoerrmann.symphony.stage</dependency>

Or whatever ID he'd be using.

@nickdunn
Copy link
Author

I've updated the forum thread, could you add your reply there please? :-)

http://symphony-cms.com/discuss/thread/34727/4/#position-78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment