I would like to automate the generation of discussion items based upon activities taking place elsewhere on the web (RSS feeds primarily).  Are there any plans to expose discussions via the API?

Views: 63

Reply to This

Replies to This Discussion

No current plans. We don't have any major work going on with the API right now, but I can understand how this could be an interesting implementation. 

Thanks Eric.  I wrote a very light-weight  RSS-> Blog Article Importer and would love to do the same for Twitter Search -> Discussion Importer.  Let me know, if possible, if there is ever a better for this type of functionality as this would be a quick win for my network, clearly work on Ning's end.

Hi John,

I noticed in your reply that you wrote an importer for Blogs.  I assume you used the Ning API ( http://developer.ning.com/docs/ningapi/1.0/reference/blogs.html ) and were hoping to do the same with Discussions.  But as you know, that can't be done via the Ning API.

But I'm fairly sure it can be done with jQuery.  If you are the NC of your site, you could create a "page" with a trigger button that would run jQuery code to grab twitter search results and automatically add them, one by one, as discussions.  You can get the twitter search results in json format (one example: http://www.lupomontero.com/fetching-tweets-with-jquery-and-the-twit... ) and then open another browser tab with code, adding the tweet to the querystring, and have js in your custom code box read that and insert the data in the right fields of the Discussion Add page and then trigger the "Add Discussion" button.  Might sound confusing but I did something similar with modifying thousands of blog posts with jQuery for a client.  It was kind of cool to sit at my computer and watch things happening on the screen automatically by code.

I don't know your level of knowledge with jQuery but just wanted to let you know that there is probably a way to do this, if it's really something you have to have on your site.

Best wishes!

"TJ"

Great idea TJ!  I may do that as the jQuery should be pretty straight-forward.

Brilliant!  Thank you.

You're welcome, John.  Glad to be of help!

RSS

Latest Activity

Michael Goebel replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I also don't think Ning will take much notice... I have been asking them for YEARS to fix the…"
48 minutes ago
Strumelia replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"It becomes a very serious problem if, along with taking away members' music player, also the…"
53 minutes ago

NC for Hire
JFarrow replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"you guys are starting to impress me all over again!  thanks for the updates!"
2 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Wishing for some response from Ning here... thanks Patrick for sharing these details :) "
2 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"I'm thinking bringing back the  RSS feed box would be a good thing as well. What's…"
2 hours ago
Melinda Orr replied to Michael Goebel's discussion 'Where have the text boxes on the profile pages gone ?!?!'
"Thanks Kos! "
3 hours ago
Kos replied to soaringeagle's discussion 'killer penguins'
"Here's the updated Keyword Tool link http://bit.ly/16hsT0x"
3 hours ago
Jordon McGee (Jords) replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Thanks Allison!"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service