我如何将HTML转换为Textile? [英] How can I convert HTML to Textile?

查看:155
本文介绍了我如何将HTML转换为Textile?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在抓取一个静态HTML网站,并将内容转移到数据库支持的CMS中。我想在CMS中使用Textile。

有没有将HTML转换为Textile的工具,所以我可以刮掉现有网站,将HTML转换为Textile,并将数据插入数据库? / p>

解决方案

我知道这是一个古老的问题,但我发现自己试图在前些日子做这件事,我找到了 Pandoc 。它也可以转换其他标记格式的负载 - 这相当出色。


I'm scraping a static html site and moving the content into a database-backed CMS. I'd like to use Textile in the CMS.

Is there a tool out there that converts HTML into Textile, so I can scrape the existing site, convert the HTML to Textile, and insert that data into the database?

解决方案

I know this is an old question, but I found myself trying to do this the other day and not finding anything useful, until I found Pandoc. It can convert loads of other markup formats as well - it's quite brilliant.

这篇关于我如何将HTML转换为Textile?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆