Skip to content

Commit

Permalink
Update README, extension.meta.xml, remove about() and delegate subscr…
Browse files Browse the repository at this point in the history
…iption
  • Loading branch information
brendo committed May 12, 2012
1 parent f9865de commit 86392e7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 51 deletions.
38 changes: 0 additions & 38 deletions extension.driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,6 @@ class Extension_XmlImporter extends Extension {
Definition:
-------------------------------------------------------------------------*/

public function about() {
return array(
'name' => 'XML Importer',
'version' => '1.1.0',
'release-date' => '2011-11-21',
'author' => array(
array(
'name' => 'Nick Dunn',
'website' => 'http://nick-dunn.co.uk'
),
array(
'name' => 'Rowan Lewis',
'website' => 'http://rowanlewis.com',
'email' => '[email protected]'
),
array(
'name' => 'Brendan Abbott',
'website' => '[email protected]'
)
),
'description' => 'Import data from XML documents directly into Symphony.'
);
}

public function getSubscribedDelegates() {
return array(
array(
'page' => '/backend/',
'delegate' => 'InitaliseAdminPageHead',
'callback' => 'initializeAdmin'
)
);
}

public function fetchNavigation() {
return array(
array(
Expand All @@ -52,10 +18,6 @@ public function fetchNavigation() {
);
}

public function initializeAdmin($context) {
$page = $context['parent']->Page;
}

/*-------------------------------------------------------------------------
Utilities:
-------------------------------------------------------------------------*/
Expand Down
22 changes: 13 additions & 9 deletions extension.meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,21 @@
</author>
</authors>
<releases>
<release version="1.1.0" date="2011-11-21" min="2.2">
- Fix issues with XPath and namespaces
- Add `$entry_id` to `prepareImportValue` function
- Added README information about the `prepareImportValue` function
- Use the unique Duplicator (where available) to improve the UX
- Tiny performance enhancements
<release version="2.0.0" min="2.3">
- Symphony 2.3 support
- Improved localisation support
</release>
<release version="1.1.0" date="2011-11-21" min="2.2" max="2.2.x">
- Fix issues with XPath and namespaces
- Add `$entry_id` to `prepareImportValue` function
- Added README information about the `prepareImportValue` function
- Use the unique Duplicator (where available) to improve the UX
- Tiny performance enhancements
</release>
<release version='1.0.0' date='2011-03-03' min='2.2'>
- Updated to be compatible with Symphony 2.2
- Improved validation by adding an XPath validator.
- Improved handling of automatic namespace fetching.
- Updated to be compatible with Symphony 2.2
- Improved validation by adding an XPath validator.
- Improved handling of automatic namespace fetching.
</release>
<release version='0.1.0' date='2010-01-10' min='2.0.7' max='2.2'>
- Initial beta release for Symphony 2.0.7.
Expand Down
7 changes: 3 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# XML Importer

- Version: 1.1.0
- Version: 2.0.0
- Author: [Rowan Lewis](http://rowanlewis.com/), [Nick Dunn](http://nick-dunn.co.uk/), [Brendan Abbott]([email protected])
- Release Date: 21st November 2011
- Requirements: Symphony 2.2
- Release Date: unreleased
- Requirements: Symphony 2.3


## Description

XML Importer is a way of creating repeatable templates to import data from XML feeds directly into Symphony sections. It provides a way of mapping content from XML nodes directly onto fields in your sections, and the ability to both create new and update existing entries.


## Installation

1. Upload the `xmlimporter` folder in this archive to your Symphony 'extensions' folder
Expand Down

0 comments on commit 86392e7

Please sign in to comment.