moodleou / moodle-mod_forumng

ForumNG forum module for Moodle
19 stars 20 forks source link

New Feature: export to Wordle (tm) #31

Open nadavkav opened 9 years ago

nadavkav commented 9 years ago

Hi Jason and Tim,

I would like to share a working experiment of exporting the content of a discussion thread to Wordle(tm) web service (http://www.wordle.net/advanced).

https://github.com/mofet/moodle-mod_forumng/commit/c7565c574f65977ed15cb47adffc2679df7260f3

I would LOVE to get some feedback and ideas about a better way to implement it Nadav :smile:

jason-platts commented 9 years ago

Interesting, thanks.

Having it as a feature sub-plugin is definitely the right approach.

The way you are getting discussion and post text is probably OK as well.

Is there any way to generate the Wordle image itself - that would be pretty cool? It doesn't appear to have an API from my quick look but perhaps you could do a CURL post to their form or something like that?

If more of these sub-plugins turn up I can start linking to their github repos in the forumng docs so other can benefit.

nadavkav commented 9 years ago

Thank you for the feedback!

I wish I could get the Wordle image from a real RESTFul API call, but they have some restrictions on the way you can use their service. So I had to POST the data directly into their site, and redirect too. They only generate Wordle maps with the Java applet.

Their are other "wordle" like services, but they do not support Hebrew characters. So I did not use them. they are much more elegant to use. Maybe this plugin will inspire some one to implement other services.