我如何将HTML转换为Textile? [英] How can I convert HTML to 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屋!