Support Forum
Team,
I see that Simple:Press has excellent RSS "export" facilities at various levels in the SP data hierarchy, BUT I am looking for a way to get or input data that is located in an RSS aggregator like but not limited to e..g. Feedly and to populate Simple:Press with that data. Maybe Yahoo Pipes is a possibility?
Any ideas how to do this please.
Thanks
Ken
Well …. I could try …. but I do not know the ins and outs of SimplePress AND I certainly am not as good as I am sure you are or others you know who have written code for the Simple:Press Product or plugins for it
I just want to run a Forum not become a super php coder.
What I was as subtly as possible asking was …. what's it gonna cost me to get what I need ….. code that feeds RSS data into SimplePress from Feedly.
Thanks
Best Regards
Ken
Well we would need to first establish what data items we would be getting. New topics need a forum ID and a topic title and post content, a user ID or guest poster name and email - at the very least. Existing topics need the above plus topic ID and the post (of course). So what could we expect to receive?
YELLOW
SWORDFISH
|
(1) Lets say that I can provide a JSON feed over HTTP.
(2) Lets say I can provide the needed fields in that JSON/HTTP that would match the variable names required to populate all the Simple:Press fields where I would like that data to go including Groups, Forum ID, Topic Title, Poster Name, email etc etc … basically anything you would need (i.e whatever variables you tell me you need) to populate the forum with the data from the JSON/HTTP feed.
I assume what would then be needed was some code to parse the array and feed MySQL statements into the database.
Of course if Simple:Press had a REST API or some way of talking to my REST source, this would be even better. Maybe I could even use bbPress or PHPbb to be an intermediary to act as an REST API intermediary. Just tossing some ideas around.
Basically I can get you whatever data you need with whatever variable names you need and in whatever datatype you need, so as to populate every element of the Forum a typical user may typically want (no statistical data just post content). What I don't know are the variable names and datatypes that are essential to populate your Forum with that typical data.
I also would like to set this up so that it is not sensitive to any future changes you may make to the database schema already exposed by Simple:Press
Is this any help?
Thanks
Ken
If you take a quick look at the file /simple-press/forum/library/sp-post.php then basically you would need to be replacing all of the $_POST variables on your JSON response. If that is possible then it really shouldn't be a hard task to just re-construct that code accordingly.
We will need to discuss it a little here but we can get back to you on it...
YELLOW
SWORDFISH
|
Guys,
I have taken a loo at this code and I can see how it could be made to work. It looks like it does not recognise Groups in Simplepress. Or maybe a Group is recognised by forumid?
It may be possible to use: http://developer.wordpress.com/docs/api/ (REST API) ….. I see that this MAY have a wordpress.com focus feather than wordpress.org, but it looks like everything is there to recognise JSON/HTTP if we could use it in a plugin.
All that would remain is to make an 'interface" which would allow this REST API to "interact" with sp-post.php
Ideally if this combination could be made into a ServicePress plugin, I think we would be very close to aching my objective.
Best Regards
Ken
1 Guest(s)