Skip to content

Commit

Permalink
Moved config to yaml to resolve #4
Browse files Browse the repository at this point in the history
  • Loading branch information
camfindlay committed Jan 26, 2014
1 parent 38c1542 commit 511cc23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
9 changes: 0 additions & 9 deletions _config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
<?php
// Add wordpress import extension to BlogHolder page type
if (class_exists('BlogHolder'))
{
Object::add_extension('BlogHolder', 'WpImporter');
Object::add_extension('BlogEntry', 'WpImportedObject');
}

if(class_exists('Comment'))
Object::add_extension('Comment', 'WpImportedObject');
12 changes: 12 additions & 0 deletions _config/wordpressimport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
Name: wordpressimport
---
BlogHolder:
extensions:
- WpImporter
BlogEntry:
extensions:
- WpImportedObject
Comment:
extensions:
- WpImportedObject

0 comments on commit 511cc23

Please sign in to comment.