Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

Fillet Bundle - A Bundle interface for working with Fillet

This bundle allows for Fillet integration directly into Sculpin.

Currently supported parsers:

  • WordpressExport

Sample Usage

Add the bundle to your site's sculpin.json file:

"require": {
        "dragonmantank/fillet-sculpin-bundle": "~0.1"
    },

and update sculpin's dependencies:

php sculpin.phar update

This will pull down the necessary files for Fillet. You then need to add the bundle to Sculpin by adding it to your app/SculpinKernel.php file. If this file doesn't exist, you can use the following to get going:

<?php

class SculpinKernel extends \Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel
{
    protected function getAdditionalSculpinBundles()
    {
        return array(
            'Fillet\FilletBundle\FilletBundle',
        );
    }
}

You can now call Fillet by doing the following:

php sculpin.phar fillet:fillet --file=path/to/file.xml --parser=WordpressExport

Fillet will then parse the file and generate the output! Assuming nothing blows up...

Update sculpin.phar!

If you get an issue trying this and encounter a sculpin.phar error running update, you might need to update sculpin.phar to a version built after 2015-02-26. This affects people using the blog skeleton, as some of the dependencies that get pulled in have versions that aren't compatible with older versions of Sculpin. That's fixed now, so just update sculpin.phar and you are all set.

About

Bundle wrapper for Fillet

Resources

License

Languages

You can’t perform that action at this time.