in rssCloud

rssCloud testing – Day 3

Decided to start to try to send a HTTP POST to rsscloud.andysylvester.com using the Curl application. I was able to run Curl from the Node.js command prompt window.

After lots of experiments, I came up with the following test command based on the cloud element content of the RSSCloud test site feed:

curl –data “port=80” –data “path=/?rsscloud=notify” –data “protocol=’http-post'” –data “url1=http://rsscloud.andysylvester.com/feed/” http://rsscloud.andysylvester.com/?rsscloud=notify > test.txt

The resulting text file content (test.txt) was as follows:

<?xml version=’1.0′?>
<notifyResult success=’false’ msg=’Only http-post notifications are supported at this time.’ />

I had tried using “https” in the fields in the test command, but got the same response text as before. I think my next step is to look at the RSSCloud WordPress plugin.

Resources:

Everything Curl book: https://ec.haxx.se/

Curl http scripting: https://curl.se/docs/httpscripting.html

Curl command line command for HTTP POST: https://superuser.com/questions/149329/what-is-the-curl-command-line-syntax-to-do-a-post-request

Blog post on release of RSSCloud WordPress plugin (has some example PHP code): https://blog.josephscott.org/2009/09/07/rsscloud-for-wordpress/

Andrew Shell RSSCloud server docs: http://rpc.rsscloud.io:5337/docs

Write a Comment

Comment