New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wp-yaml

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wp-yaml

A utility to convert yaml data into a Wordpress XML import

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
3
Created
Source

wp-yaml

npm version Build Status Dependency Status devDependency Status

Node utility for converting YAML data to importable Wordpress XML.

To get started:

npm install -g wp-yaml

To transform a YAML file, pass a file path:

wp-yaml parse -i test/test.yaml

By default the command will output to stdout. If you want to write directly to a file, you can pass an output path:

wp-yaml parse -i test/test.yaml -o result.xml

Supported Fields:

title: Site Title
link: http://www.example.com
description: Just a Wordpress Site
date: Tue, 21 Jan 2015 12:00:00 +0000
siteUrl: http://www.example.com
blogUrl: http://www.example.com
items:
  - title: Hello World
    slug: hello-world
    date: Tue, 21 Jan 2015 12:00:00 +0000
    postType: post
    description: Example post
    excerpt: Hello my darlings.
    content: |
      <h2>Hello my darlings</h2>

      <p>This is a test</p>
    categories:
      - name: Example Category
        nicename: example-category

Keywords

wp

FAQs

Package last updated on 26 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts