该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Import Bookmarks

描述

Export bookmarks from your browser and import them as WordPress posts. Supports Custom Post Types.

Credits

Icon, Copyright 2016 Nick Roach
Licensed under the terms of the GNU GPL, Version 2
Source: https://www.elegantthemes.com/blog/freebie-of-the-week/beautiful-flat-icons-for-free

评价

2021 年 5 月 27 日 4 回复
Please add these functions. $ post_content. = "\ n \ n <a target = \" _ blank \ "rel = \" nofollow \ "href = '". esc_url ($ bookmark ['uri']). "'>". $ post_title. '</a>'; A PHP redirect function would of course also be good. PS, I'm currently trying to expand the plugin with automatic screenshots and an extended description.
2021 年 2 月 28 日 5 回复
I think this plugin is really usefull. But when I tried to import the bookmarks, it was returning an empty array from the netscape bookmark parser. If you want make it work, change line 85 from this $lines = explode("\n", $this->sanitizeString($bookmarkString)); to this //$lines = explode("\n", $this->sanitizeString($bookmarkString)); $lines = preg_split('/\r\n|\r|\n/', $bookmarkString); on vendor/netscape-bookmark-parser/NetscapeBookmarkParser.php
阅读所有3条评价

贡献者及开发者

“Import Bookmarks” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Import Bookmarks」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Import Bookmarks”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.2.8

Fixed import for Windows servers. Fixed import as custom post type.

0.2.7

Added plugin icon.

0.2.6

Additional bookmarks validation. Implemented code standards.

0.2.5

Added support for Post Formats. Fixed readme.txt.

0.2.4

Fixed translation support.

0.2.3

Removed call to set_time_limit(). Updated documentation.

0.2.2

Modified the import_bookmarks_post_content filter to accept a 3rd argument.

0.2.1

Fixed error handling. Added import_bookmarks_post_content filter hook, to allow for custom bookmark markup.

0.2

Added translation functionality.

0.1

Initial release.