承接 volta-framework/component-books 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

volta-framework/component-books

最新稳定版本:v1.1.2

Composer 安装命令:

composer require volta-framework/component-books

包简介

A component to read compose a book from a specified folder structure

README 文档

README

Features

  • A portable Book Format
  • Customizable content parsers for different content types
  • Web and EPUB publisher

Intro

In the realm of Volta Books, we encounter a distinctive form of book that operates on files. These books are comprised of two fundamental elements: DocumentNodes and ResourceNodes. Within this structure, each DocumentNode has the potential to be linked to zero or more other DocumentNodes. When a DocumentNode exists independently, without a parent, it assumes the role of either a RootNode or BookNode.

To earn the classification of a DocumentNode, specific criteria must be met. A directory must contain two obligatory files within it. The first file is named "content.*" and serves as the repository for the document's content. The second file, "meta.json," is essential, and it must adhere to the standards of a valid JSON file, serving as the storage space for crucial metadata. Volta Books are versatile in the types of content they accept, including plain text files, HTML, XHTML files, and even PHP files.

usage

To get a Node, any Node, we pass the (absolute) path to the Node::factory() or the relative path to the Node::getChild() method of a Node instance. These methods will return a valid Node or will raise an Exception if the path does not contain a Node.

统计信息

  • 总下载量: 31
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-08