BostonGlobe / slush-globeapp

Starter project for a Boston Globe app website
MIT License
5 stars 1 forks source link

Split fetch methode into multiple files if desired #169

Closed kowall116 closed 7 years ago

kowall116 commented 7 years ago

Adding a filename string to a methode story object will pipe the text and images into that file. Having multiple stories with the same filename will pipe those all into the same file.

Usage:

    ...
    "methode": {
        "story": [
            {
                "path": "path/to/xml"
            },
            {
                "path": "path/to/another/xml",
                "filename": "name-of-hbs-file"
            }
        ]
    }