You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

express-ifttt

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-ifttt

An IFTTT WordPress XML-RPC proxy middleware for express

0.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

express-ifttt

An IFTTT WordPress XML-RPC proxy middleware for express

Usage

var express = require('express');
var ifttt = require('express-ifttt');
var app = express();

app.get('/xmlrpc.php', ifttt, function (req, res) {
  console.log(req.data);
  /* req.data should look something like the object below.
  {
    username: 'username',
    password: 'password',
    title: 'article title',
    description: 'article content',
    categories: [ 'category1', 'category2' ],
    mt_keywords: [ 'keyword1', 'keyword2' ],
    post_status: 'publish'
  }
  */  
  res.send(200);
});

// Note: This web server should be accessible from port 80
app.listen(3000);

Keywords

ifttt

FAQs

Package last updated on 31 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts