Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Importing externalAssets and htmlAssets from NPRML #71

Open
tamw-wnet opened this issue May 20, 2020 · 1 comment
Open

Importing externalAssets and htmlAssets from NPRML #71

tamw-wnet opened this issue May 20, 2020 · 1 comment

Comments

@tamw-wnet
Copy link

Many stories retrieved from the NPR Story API refer to tweets, youtube vids, or embedded interactives that are not included in the generated WordPress post. The tweets and youtube vids are attached to the end of the original NPRML "story" as externalAssets (generally as oEmbeds), and the interactives seem to be attached as htmlAssets.

Importing those into postmeta for integration into the themes would be useful. I've made a pull request for the externalAsset import -- #69 -- and I'm in the process of doing another pull req for the htmlAssets.

@tamw-wnet
Copy link
Author

noting that I've withdrawn pr #69 because I didn't know the 'layout' response was available in the API. I've resubmitted as #74 to use that layout data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant