【问题标题】:How can import blogger posts using custome xml or any other way?如何使用自定义 xml 或任何其他方式导入博主帖子?
【发布时间】:2022-03-02 11:27:36
【问题描述】:

我尝试导入 50 个帖子,但它需要很长时间才能继续显示正在写帖子消息但没有收到任何错误。

我的步骤: 1.使用博客设置选项将内容备份为xml。 2.添加与现有xml标签和格式相同的自定义帖子详细信息。 3.使用导入内容选项并上传xml文件而不使用发布选项。

但它成功了 1 或 2 次,但现在它也不能用于 5 个帖子。 我遵循博主限制,即每天 4 个导入 50 个帖子。

如果有任何选项可以在博客中上传帖子,请指导。 我不是从 wordpress 或任何其他博客迁移的帖子。它是自定义帖子,需要在 google 条款内批量上传。

【问题讨论】:

    标签: xml blogs blogger


    【解决方案1】:

    很遗憾,当您的 xml 中有错误时,博主不会通知您。它不是在导入它。就我而言,导入 200 多个帖子需要 30 秒。

    我还看到,每当我导入帖子时,我从不选中立即发布复选框,因为这基本上需要更多时间来导入,无论您的 xml 是否有效。

    所以:

    1. 有一个有效的 xml(测试一篇文章的首发、日期格式、标签的正确关闭等)
    2. 只要您正确导入一个..
    3. 尝试导入更多内容,但不要选中“立即发布”复选框。

    这对我有用。

    您使用的过程似乎是正确的。

    我使用以下格式:

    <?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>
    

    【讨论】:

      【解决方案2】:

      刚才我尝试导入到我的博客,这种格式适合我。

      <?xml version='1.0' encoding='UTF-8'?>
      <feed xmlns='http://www.w3.org/2005/Atom'>
      <generator version='7.00' uri='https://www.blogger.com'>Blogger</generator>
      <entry>
        <id>1</id>
        <published>2019-11-28T01:18:00.005-08:00</published>
        <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/blogger/2008/kind#post'/>
        <category scheme='http://www.blogger.com/atom/ns#' term='LABELS'/>
        <title type='text'>TEST IMPORT POST</title>
        <content type='html'>KONTEN POST TEST</content>
      </entry>
      </feed>
      

      别忘了把&lt;published&gt; 和&lt;id&gt; 放上

      【讨论】:

        【解决方案3】:

        2022...这适用于我最近的 blogger.com 博客

        来自 sneeit.com here 上的帖子生成器

        我认为 blogger.com 对您每天可以上传的文件数量(或者可能是文件的总容量)有一些限制。我只是想找到一个有效的文件格式,而这个是有效的...它将“文章”的全文发布到 blogger.com 博客中的帖子中)。

        <?xml version='1.0' encoding='UTF-8'?>
        <ns0:feed xmlns:ns0="http://www.w3.org/2005/Atom">
          <ns0:title type="html">Any Theme</ns0:title>
          <ns0:generator>Blogger</ns0:generator>
          <ns0:link href="http://www.sneeit.com" rel="self" type="application/atom+xml" />
          <ns0:link href="http://www.sneeit.com" rel="alternate" type="text/html" />
          <ns0:updated>2018-12-05T16:35:50Z</ns0:updated>
          <ns0:entry>
            <ns0:category scheme="http://www.blogger.com/atom/ns#" term="Heath" />
            <ns0:category scheme="http://www.blogger.com/atom/ns#" term="Nutrition" />
            <ns0:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/blogger/2008/kind#post" />
            <ns0:id>post-10</ns0:id>
            <ns0:author>
              <ns0:name>Tien Nguyen</ns0:name>
            </ns0:author>
            <ns0:content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xeuA6Ac9EJk/VffMDx0-hBI/AAAAAAAAOJI/RLMUCFMV92w/s1600/health_fitness-and-exercise_318K.jpg" imageanchor="1" style="margin-left: 1em; margin-right:
              1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-xeuA6Ac9EJk/VffMDx0-hBI/AAAAAAAAOJI/RLMUCFMV92w/s1600/health_fitness-and-exercise_318K.jpg" alt="Dummy Image With Link to Itself"/&gt;&lt;/a&gt;&lt;/div&gt;9 things that won't happen in
              fitness programs. Why nutrition facts should be 1 of the 7 deadly sins. Why you'll never succeed at vaccination schedules. How fitness magazines are making the world a better place. Why our world would end if vaccine ingredients disappeared. 13
              myths uncovered about healthy eating tips. 15 least favorite travel vaccines. How healthy eating meal plans are the new healthy eating meal plans. The 11 worst weight loss supplements in history. The 13 worst healthy eating tips in history.&lt;br
              /&gt;&lt;!--more--&gt;&lt;br /&gt;How high cholesterol food can make you sick. Why weight loss supplements are the new black. 15 things about weight loss supplements your kids don't want you to know. How cholesterol levels can help you live a better
              life. Why you'll never succeed at preventative medicines. The oddest place you will find health care solutions. Why health questions should be 1 of the 7 deadly sins. Ways your mother lied to you about cholesterol levels. Why the world would end
              without fitness programs. Why mom was right about weight loss meal plans.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Jt2RanYUyhM/VffMCI_D0yI/AAAAAAAAOIY/jURMkJ0bCMc/s1600/health_body-building-for-girls_141K.jpg"
              imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-Jt2RanYUyhM/VffMCI_D0yI/AAAAAAAAOIY/jURMkJ0bCMc/s1600/health_body-building-for-girls_141K.jpg" width="320"
              alt="Dummy Image With Link to Itself"/&gt;&lt;/a&gt;&lt;/div&gt;19 things you don't want to hear about health questions. The 15 biggest medicine shop blunders. Expose: you're losing money by not using fitness programs. Expose: you're losing money
              by not using health informatics. Why our world would end if healthy eating facts disappeared. 6 things that won't happen in weight loss meal plans. Why mom was right about fitness programs. What experts are saying about travel medicines. 19 myths
              uncovered about fitness programs. What wikipedia can't tell you about travel vaccines.&lt;br /&gt;&lt;br /&gt;12 things that won't happen in primary preventions. 9 things you don't want to hear about fitness magazines. Ways your mother lied to you
              about travel vaccines. Why primary preventions are afraid of the truth. What wikipedia can't tell you about nutrition facts. The oddest place you will find health quotes. Will weight loss meal plans ever rule the world? The best ways to utilize
              health care providers. How nutrition facts can help you live a better life. The best ways to utilize cholesterol levels.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-OSCe_Ifv6z4/VffMEP73ogI/AAAAAAAAOJE/JWBvtEQUijQ/s1600/health_fitness-is-easy_128K.jpg"
              imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-OSCe_Ifv6z4/VffMEP73ogI/AAAAAAAAOJE/JWBvtEQUijQ/s1600/health_fitness-is-easy_128K.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;14
              things your boss expects you know about travel vaccines. Why you'll never succeed at fitness programs. The evolution of weight loss success stories. Why the next 10 years of relapse prevention worksheets will smash the last 10. What experts are
              saying about healthy eating meal plans. 7 bs facts about fitness equipment everyone thinks are true. The complete beginner's guide to weight loss success stories. What wikipedia can't tell you about travel vaccines. What wikipedia can't tell you
              about healthy eating tips. 8 least favorite cholesterol lowering food.&lt;br /&gt;&lt;br /&gt;Why our world would end if travel vaccines disappeared. If you read one article about weight loss supplements read this one. If you read one article about
              healthy eating tips read this one. If you read one article about healthy eating tips read this one. Why the next 10 years of fitness programs will smash the last 10. The only health question resources you will ever need. The 13 best resources for
              travel vaccines. Naturopathic medicines by the numbers. 5 things your boss expects you know about fitness equipment. How preventative medicines can help you live a better life.</ns0:content>
            <ns0:published>2018-11-28T16:22:28Z</ns0:published>
            <ns0:title type="html">Why your preventative medicine never works out the way you plan</ns0:title>
            <ns0:link href="http://www.sneeit.com/?p=10" rel="self" type="application/atom+xml" />
            <ns0:link href="http://www.sneeit.com/?p=10" rel="alternate" type="text/html" />
          </ns0:entry>
        </ns0:feed>

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多