GithubHelp home page GithubHelp logo

tecnwebsite / wp-elgg-bridge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypejunction/wp-elgg-bridge

0.0 0.0 0.0 9 KB

WordPress client for interfacing with Elgg's web services

JavaScript 40.35% PHP 59.65%

wp-elgg-bridge's Introduction

=== Elgg Bridge ===
Contributors: hypejunction
Donate link: http://hypejunction.com/
Tags: elgg, integration
Requires at least: 4.5
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Bridges WordPress with an Elgg installation via Web Services

== Description ==

This plugin is intended for developers that need an easy way to access Elgg's web services from WordPress.

`
// Retrieve blogs from Elgg
elgg_bridge()->getClient()->get('blog.get_posts');

// Get a user auth token
$token = elgg_bridge()->getClient()->getAuthToken($username, $password);

// Post a blog on behalf of the user
elgg_bridge()->getClient()->post('blog.save_post', [
   'title' => 'Blog title',
   'text' => 'Lorem ipsum',
], $token);
`

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/elgg-bridge` directory, or install the plugin through the WordPress plugins screen directly
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Settings -> Elgg Bridge screen to provide the URL and the API Key of your Elgg installation

You will most likely need to activate `web_services` plugin in Elgg.
This plugin assumes to have `web_services_apis` plugin or similar that provides a set of web services that you can access.

== Contact ==

If you have ideas for out of the box integrations, please email me at [email protected]

wp-elgg-bridge's People

Contributors

hypejunction avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.