Coder Social home page Coder Social logo

wp-parse-api's Introduction

WordPress Parse Api

Bridge between Parse api and WordPress

Description

The goal of this plugin its to replicate all your posts to Parse so you can easily develop mobile apps, because I find very useful their SDK and help us to develop apps faster without worring about the security or if someone else can read data from our blog and use it.

Features

  • Post object saved (create/update) to Parse
  • Push notifications when new post published
  • Turn on/off push notifications when new post published
  • Sync old post to Parse
  • Plugin can be updated from github, thanks to WordPress Github Plugin Updater

Installation

  1. Create your account on Parse
  2. Create an app
  3. Create an class in the data browser with those fields:
    • categories (Array)
    • content (String)
    • date (String)
    • guid (String)
    • photos (Array)
    • thumbnail (Object)
    • title (String)
    • videos (Array)
    • wpId (Number)
  4. Upload wp-parse-api to the /wp-content/plugins/ directory
  5. Activate the plugin through the 'Plugins' menu in WordPress
  6. Go to Settings -> Parse Api
  7. Fill the form with the data from your Parse.com app dashboard
  8. At this point it must be ready to use it

Frequently Asked Questions

Why Parse.com?

Because I find there a well documented SDK's for the most popular mobile platforms.

How it works?

Configure the plugin under Settings -> Parse Api as describe in the instalation. Every time you publish or save a published post it will create/update their respective row on Parse

Then use the SDK of your prefered platform and start coding.

TODO

  • Better way to handle synchronization (don't research so much if wp has a build in cronjob)
  • Prepare for submit into the wordpress plugin repository
  • Built a log event registry and visualization
  • Add test case files

Changelog

0.5.0

  • Added date internationalization support (English, Español)
  • Bug fixes

0.4.1

  • Bug fixes

0.4

  • Added support for youtube videos
  • Added some comments on the source code

0.3.1

  • Fixed bug that send push notification if category is null or an empty string, seems that my previous fixes not work :(

0.3.0

  • Added an option to turn on/off push notifications
  • Added github plugin updater

0.2.9

  • Fix issue if no push certificate or valid push certificate was configured (thanks to raymondmuller)

0.2.8

  • Small improvement, if categories are empty no push notification will be send

0.2.7

  • Fix push notifications, now it get the categories from the post

0.2.6

  • Fix to remove the bbcode and their content

0.2.5

  • Fix sync, now update/insert works
  • Added log helper

0.2.4

  • Fix sync, now update/insert works
  • Fix img src isolation
  • Changed limit per page from 20 to 10

0.2.3

  • Fix sync, now the pagination works fine
  • Now refresh via javascript, instead of php wp_rediect to prevent browser error "too many redirections"
  • Changed sort tag php with full php tag

0.2.2

  • Added guid and photos fields
  • Embed photos in the content field will be extracted and pushed on photos field
  • Strip all html tags from the intro content
  • Strip certain html tags from the extended content

0.2.1

  • Fix: now sync all posts instead of the first 5

0.2

  • Add a fix for the 3rd party class parseRestClient to get to work in php < 5.3
  • Readme: changed thumbnail type to Object
  • Fixed thumbnails tag img was returned before the fix, now returns the url
  • In wp-parse-api.php changed functions to class

0.1 Initial Commit

About

Contributors: normanpaniagua

Tags: parse.com, api

Requires at least: 3.0.1 (not tested)

Tested up to: 3.5

License: GPLv2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

wp-parse-api's People

Contributors

norman784 avatar

Watchers

James Cloos avatar Trí Dũng Lê 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.