Project

link2epub

0.0
No commit activity in last 3 years
No release in over 3 years
link2epub is a tool to turn a list of url links to a epub book.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

introduction

Link2epub can make a epub book based on a list of links (url)..

install

$ gem install link2epub

how to use

First make a conf.yaml file, like this:

link: http://coolshell.cn/
title: 酷壳 – CoolShell.cn
subtitle: 陈浩的博客
author: 陈浩
description: 陈浩的博客
links_file: links2.txt
file_name: coolshell.epub
rule:
    title: .post h2
    author: .post .author
    date: .post .date
    content: .post .content

then make a links2.txt file:

http://coolshell.cn/articles/10249.html
http://coolshell.cn/articles/10217.html

and then:

$ link2epub conf.yaml

that's all, you will get a epub file in the current directory.