【发布时间】:2019-01-22 09:58:40
【问题描述】:
我在 python 中生成以下 xml 格式以将帖子批量导入博主。我看到博主可以选择在使用网络表单时为帖子设置标题链接。
你知道我如何修改下面的 xml 以包含标题链接吗?
<?xml version="1.0" encoding="UTF-8"?><ns0:feed xmlns:ns0="http://www.w3.org/2005/Atom"> <ns0:generator>Blogger</ns0:generator> <ns0:entry> <ns0:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/blogger/2008/kind#post" /> <ns0:category scheme="http://www.blogger.com/atom/ns#" term="CATEGORY C" /> <ns0:category scheme="http://www.blogger.com/atom/ns#" term="CATEGORY D" /> <ns0:id>Sample Blog Post</ns0:id><ns0:content type="html">Blogger CONTENT 2</ns0:content> <ns0:published>2019-10-30T03:22:00.001-07:00</ns0:published> <ns0:title type="html">Sample Blog Post</ns0:title> </ns0:entry> </ns0:feed>
谢谢!
【问题讨论】: