Download the PHP package rarst/wprss2hugo without Composer

On this page you can find all versions of the php package rarst/wprss2hugo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wprss2hugo

wprss2hugo — WordPress to Hugo importer

Go static. Hugo static.

Scrutinizer Code Quality Latest Stable Version PHP from Packagist PDS Skeleton

wprss2hugo is an importer from the WordPress eXtended RSS export file format to the Hugo static site generator.

It aims to be comprehensive and reasonably flexible, but mostly to lower my hosting bill.

Install

wprss2hugo is a command line PHP 7.3+ project and installs with Composer:

Use

Results are generated in the output folder.

Note: WordPress might not store and export valid HTML paragraphs markup. You might want to add something like add_filter( 'the_content_export', 'wpautop' ); to the WP installation before export.

Command line arguments

Note: conversion to Markdown for the post content is best effort and might be suboptimal on complex markup.

Note: TOML format is not meant for data, data files in TOML will have the data assigned to a dummy data root key.

Data map

Source Destination
site title, URL, description config.[data type]
posts, pages, attachments, custom post types content/[post type]/[slug].[content type]
tags, categories, formats, terms content/[taxonomy]/[term]/_index.[content type]
authors content/authors/[login]/_index.[content type] (taxonomy)
comments data/comments/[post ID].[data type]

Data retrieval

Attachments

Attachments are stored as attachment page type and can be retrieved by a parent post ID:

Comments

Comments are stored as data files and can be retrieved by a parent post ID:


All versions of wprss2hugo with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
ext-libxml Version *
ext-simplexml Version *
ext-json Version *
mnapoli/silly Version ^1.7
prewk/xml-string-streamer Version ^0.11.0
symfony/yaml Version ^4.3
league/html-to-markdown Version ^4.8
symfony/filesystem Version ^4.3
pimple/pimple Version ^3.2
yosymfony/toml Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rarst/wprss2hugo contains the following files

Loading the files please wait ....