在 MySQL 中导入非英语维基百科 XML 转储?

发布于 2024-07-22 03:48:05 字数 119 浏览 3 评论 0原文

我正在寻找一个可以将 XML 维基百科 DUMP 转换为 MySQL 兼容 SQL 的脚本。 我已经找到了英文版本的现成 SQL 转储,但没有简单的方法来导入其他语言。

谢谢,

皮耶罗

I'm looking for a script that can convert the XML wikipedia DUMP in MySQL compliant SQL. I've found a ready SQL dump for the english version but no easy way to import the other languages.

Thanks,

Piero

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

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

发布评论

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

评论(2

久而酒知 2024-07-29 03:48:06

根据 wikipedia 自己关于该主题的页面(非常值得研究),帮助将 wikipedia xml 转储导入到mysql 可以在 此 mediawiki 页面 上找到。

Per wikipedia's own page on the subject (well worth studying), help for importing wikipedia xml dumps to mysql is found on this mediawiki page .

无力看清 2024-07-29 03:48:06

维基百科有一个 API

您可以使用此 API 迭代文章并下载每个页面。

Wikipedia has an API

You can use this API to iterate over the articles and to download each page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文