Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
e

express-ifttt

An IFTTT WordPress XML-RPC proxy middleware for express

0.0.1
latest
67

Supply Chain Security

100

Vulnerability

72

Quality

76

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Issues
0

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);

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