@atjson/source-prism
TypeScript icon, indicating that this package has built-in type declarations

0.28.34 • Public • Published

🌈 @atjson/source-prism

💁‍♀️ What is PRISM

PRISM is an acronym for Publishing Requirements for Industry Standard Metadata. The format is used in publishing to provide information about published works, primarily those that are printed in magazines, books, or other media.

Brands at Condé Nast such as the New Yorker, WIRED, and Vogue have versions of their print magazines annotated in PRISM XML that provides necessary metadata for our teams to extract data from.

🖍 How to use

Read the XML as a string and pass it directly to the PRISM source:

import PRISMSource from "@atjson/source-prism";

let prism = PRISMSource.fromRaw(xml);

From here, you can do all the things you'd do in other sources, like convert to another source, and render out to other sources.

🤷‍♀️ How can I test my XML?

We've supplied a little application alongside this package, which can be run using npm start from inside @atjson/source-prism. Once the app's running, you can navigate to localhost:1234.

Readme

Keywords

none

Package Sidebar

Install

npm i @atjson/source-prism

Weekly Downloads

107

Version

0.28.34

License

Apache-2.0

Unpacked Size

229 kB

Total Files

61

Last publish

Collaborators

  • copilot-robot
  • andrealandonio
  • igostu
  • nayeemrehman
  • varun9110
  • anurag-cn
  • tce
  • bbui
  • gmedina
  • dkorenblyum