info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cim@manacim
Cim - 0 likes
- Gerd@Gerd
Gerd - 0 likes
- Cim@manacim
Cim - 0 likes
- Gerd@Gerd
Gerd - 0 likes
- Cim@manacim
Cim - 0 likes
- Gerd@Gerd
Gerd - 0 likes
- Cim@manacim
Cim - 0 likes
- Gerd@Gerd
Gerd - 0 likes
You must log in to post replies.what kind of data? like a feed? elgg is setup ready for rss, xml, and json as far as i know. here's an example of this community's activity json data:
Thank you. I forgot to tell you that it has to be over https. we use xml and json.
welcome
do you have an example of how I can connect to that json data? can I use soap over https?
i don't think it matters if you use https or not but here's a sample code to get the data and decode it. i'll use this current discussion we are having right now as a sample:
code to retreive, decode, and dump JSON data:
which will output an array:
Thank you for your answer. we are using xml. When I try to call file_get_contents($url) with the https returns back a bool(false).
Is there any other way I can call the webservice to get the data over https?
instead of var_dump, try print_r($data);
now I have tried the print_r method, but that gives me no result at all.