panxianhai / typexport Goto Github PK
View Code? Open in Web Editor NEWTypecho导出WXR插件
License: MIT License
Typecho导出WXR插件
License: MIT License
里面也有一个类,但是应该没有加载,也没有类似1.0里面的convert方法,所以需要判断typecho版本,0.9的时候没有markdown默认应该全部是html内容的文章,判断版本小于1.0,直接插入内容就好了。
安装插件后选择导出数据出现如题的错误,文件夹的权限设置的是777
环境
Windows Azure “网站”
Typecho 1.0
SQLite数据库
导出的 WXR 的 attachment 类型由于缺少 wp:attachment_url
字段,导致无法通过 WordPress 的选项自动地导入附件到 WordPress。
它看起来像:
<wp:attachment_url>http://example.com/wp-content/uploads/2017/05/example.jpg</wp:attachment_url>
刚刚在网上找TYPECHO 2 wordpress,就发现了这个,插件很有效!
我反馈一个问题:
文章正文中,有些图片还在,有些图片就没有了
具体是:如果是用typecho编辑的文章,图片都还在
如果是之前就导入正文的文章,图片就没有了。。。
我怀疑是是不是 // 处理markdown时候的问题?从数据库里面可以看出来
因为新写的文章typecho启用了markdown,而之前的直接是html源码
$content = Markdown::convert(strip_tags($row[‘text’]));
能否简单加个判断语句。。
谢谢
Warning: file_get_contents(http://upgrade.sinaapp.com/typecho/TypExport/version.php): failed to open stream: HTTP request failed! HTTP/1.1 600 domain_not_exists in /plugins/TypExport/panel.php on line 4
访问插件页面,顶部出现上面的错误
点击导出数据后,出现下面的错误呢
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12288 bytes) in /var/Typecho/Db/Adapter/Pdo.php on line 102
请问下怎么解决呢
如题
开启插件的时候出现 Server Error
首先感谢开发出这么方便的转换工具
我试用之后发现文章评论成功转换过去了,但是转换之后文章的ID跟原先的不一样,这样就导致原先的地址完全失效或者错位了,请问这个问题能解决么?还是我操作的姿势不对导致的ID不一致?
文件不符合标准,请登录WordPress导出空间数据。
🌚
博客彻底炸了...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.