Moodle plugins directory: WordPress Feed | Moodle.org
WordPress Feed
Blocks ::: block_wpfeed
Maintained by Igor Sazonov
Plugin allows to show last posts from external WordPress website via WordPress REST API v1/v2. A lot of settings and skins support.
Latest release:
8 sites
6 downloads
15 fans
Current versions available: 1
If you have an external website based on WordPress with your company news, you can show these news items in WordPress Feed Block. All you need is install and activate WordPress REST API v1 plugin or WordPress REST API v2 plugin on your WP website. Read more documentation at GitHub repository
Useful links
Contributors
Igor Sazonov (Lead maintainer)
Please login to view contributors details and/or to contact them
http://integration.moodle.org/job/Precheck%20remote%20branch/21457/artifact/work/smurf.html
https://github.com/danmarsden/moodle-plagiarism_urkund/blob/600144acbadd6ed3c083f009e4a0c33dd3354eef/lib.php#L1632
Thanks Igor for sharing the block with the community. And thanks Dan for the peer-review. I like the idea of the block and I think there are valid cases where it can be useful. I must admit I was very surprised that this block does not allow for per-instance configuration (as reported by Dan in the issue #5). As a result, if a block is configured in one course with course-specific contents, it can't be then used anywhere else for different feed. I see this as a big limitation in the usability of the block. Please see how other blocks work with
block_base::instance_allow_multiple()
to allow per-instance configuration.Another consequence is that teachers can't really do much with the block, it heavily relies on the site admin. For many sites, this is not natural workflow at all.
As Dan already commented in the issue #3, the config.ini files really look and feel like aliens in the Moodle world. Why not to follow how other plugins do these things. Consistent user experience is important.
I am going to mark this as needing more work to encourage you to rethink the current design of the block features and turn it into actually usable and useful feed reader for Wordpress sites.
Hi Igor. Thanks for sorting out the config.ini issue. Please note that, strictly speaking, the added constants with the
B_WPFEED_
prefix violate the naming policy described at https://docs.moodle.org/dev/Plugin_contribution_checklist#Namespace_collisionsAs I can see, the block still does not support per-instance configuration. Let me mention again that this significantly limits the block's usefulness in my opinion. Pity.
I am going to approve the plugin to give you an opportunity to gather feedback from wider community. Good luck with the maintenance and further development of the block. You are cleared to land, welcome to the Plugins directory!