Joomla 到 Drupal 迁移问题

发布于 2024-09-04 05:32:46 字数 593 浏览 2 评论 0原文

使用 Joomla to Drupal 模块将 joomla 1.5 站点迁移到 Drupal 6 后。导入时我勾选了完整 HTML。现在有些页面有令人讨厌的代码,如下所示:

<!--[if gte mso 9]>

Normal
0
21

false
false
false

TR
X-NONE
X-NONE

MicrosoftInternetExplorer4


<![endif]--><!--[if gte mso 9]>

DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">

UnhideWhenUsed="false" QFormat="true" Name="Normal"/>

UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>

我认为它们是从 MS Word 复制和粘贴的。我该如何解决这些问题? 谢谢

AFter migrating a joomla 1.5 site to Drupal 6 by using Joomla to Drupal module. While importing I ticked full HTML. Now some of the pages have are annoying codes as shown below:

<!--[if gte mso 9]>

Normal
0
21

false
false
false

TR
X-NONE
X-NONE

MicrosoftInternetExplorer4


<![endif]--><!--[if gte mso 9]>

DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">

UnhideWhenUsed="false" QFormat="true" Name="Normal"/>

UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>

I think they are copied and pasted from MS Word. How could I fix these?
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

波浪屿的海角声 2024-09-11 05:32:46

我可以想到两种可能性:

  1. 尝试使用“过滤的 html”重新导入,这将删除未经批准的标签(可以自定义过滤的 html 以允许某些标签,例如 )。我不知道导入模块是否有选择此选项的设置。
  2. 在 drupal 上使用富文本编辑器,并手动编辑每个节点。我知道所见即所得编辑器 ckeditor 有一个配置参数可以强制将纯文本粘贴到文本框中

I can think of 2 possibilities:

  1. Try re-importing with 'filtered html', this will strip non-approved tags (filtered html can be customised to allow certain tags e.g. <img>). I don't know if the import module has a setting to choose this or not.
  2. Use a rich text editor on drupal, and manually edit each node. I know the WYSIWYG editor ckeditor has a config parameter to force pasting into the textbox to be plain text
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文