Posting a blog entry with RealStudio (REALbasic) - rss

I want to write a utility in RealStudio that will post a blog entry to a blog server... If that makes sense.
Has anyone done this before and is willing to give an example of what they did?

You'll need to know the API that is used to post to the server. Check out HTTPSocket and the Post method for one way to communicate with web servers.

As the oldest answer says, you will need to know the API the server uses (for the blog). Then you will need to read/write to the API using the HTTPSocket.
Is there a reason you are writing a new application to post to a blog? There are many tools out there.

Related

Integrate NetSuite SOAP request into WordPress

I know that this is a question already done in the past here but I cannot find a solution because my level in this kind of development is quite low.
I need to integrate a soap web service request to netsuite in WordPress. I would need to show to user something like the form in this page: http://magazzino.plastidite.com/sito/stock.jsp
A developer will give me the request code and an example of the reply in XML format.
Where do I have to start? Is it possible to use a form plugin and let communicate it with the web service or maybe the only solution is to work with vanilla PHP and use it to create an HTML layout integrating it in a WordPress page?
Please be kind with me :)
A need of this type had never occurred to me and I really don't know where to start.
Thanks in advance to anyone who wants to help me.

Use API on a WordPress site

Hello stackoverflow friends 🙂
I want to make a portal in wordpress with the Zabbix API. Can I do it in the WordPress platform itself or do I have to write the code elsewhere?
Is this possible?
Does anyone ever tried to do this kind of stuff?
Is there a plugin to call APIs?
I really need an answer to know if it is possible to do this type of things or if I need to look for another type of CMS’s.
Thanks and good work!
Yes it is possible to use that API in WordPress. You can create it as a plugin. Here's more details on how to create a plugin, from the official documentation : https://developer.wordpress.org/plugins/
To make the API calls, have a look at the HTTP API : https://developer.wordpress.org/plugins/http-api/
To do database interactions(like saving the data to your db or fetching it), have a look at the wpdb class : https://developer.wordpress.org/reference/classes/wpdb/
If you want to run cron jobs (scheduled tasks), please have a look at the WP-Cron: https://developer.wordpress.org/plugins/cron/
There are several built functions, hooks and classes in WordPress that will aid you. Just go through the developer documentation provided by WordPress.

Display products from Woocommerce in external application

I have a question about integration e.g. Woocommerce with external app.
What is the best and safe method to accomplish this goal?
Woocommerce has REST API but it might be quite vulnerable and will not show anything (products etc.) to non logged user(which is understandable).
Only safe idea that's comes to my mind is creating scripts inside WordPress and access them via AJAX but I'm worrying about performance of this method.
Maybe there is a right way that I'm not familiar with?
For that purpose, you should create an API from scratch of the wordpress database. wordpress databse has all of you need in a good way and only some php codes needed to create and execute the API. then in you app with AJAX you should access that.
this link may help you:
https://developer.okta.com/blog/2019/03/08/simple-rest-api-php
The right way is likely creating your own API if you don't want to use Woocommence's one. That means you make a plan of what you need to expose, all the routes and start building the API. I warmly recommend the book by Phil Sturgeon - Build APIs you won't hate. The author is also a co-founder of https://phptherightway.com/ so it's quite reputable.

Creating a WordPress plugin that uses the HTTP API to connect to external API

I am trying to build a plugin that connects to an API to fetch a list of products and display information about each of them. I understand that I will most likely use the HTTP API provided from WordPress, but I found the documentation very vague and I don't know where to start. I searched for other materials on this matter but I couldn't find anything related to WP plugins that get data from external APIs.
Does anyone know any good resource about this or have any suggestion about what steps I should follow?
EDIT: What I am looking for is maybe an example of how the WP HTTP API is used in a WP Plugin. I have searched everywhere but all I can find is the WP REST API and that is something completely different from what I am looking for.
This post on Sitepoint is a bit old, but still does a pretty good job at explaining the different parts of the HTTP API: https://www.sitepoint.com/the-wordpress-http-api/
Just be sure to look up the functions mentioned there to see if they changed in the past four years.

wordpress java xml rpc library and/or client

Can anyone recommend an xml rpc library or client for wordpress using java?
I've run into migration hell moving a joomla install to wordpress.
Main reason for wanting to use rpc now is because i will be using it as my primary way of posting to the blog so i'm putting a simple client together and it needs to be configurable enough to allow me to port my joomla posts.
Some posts in future will just be reports generated from a java program as well so, its kinda essential i get something now if possible.
BTW if anyone understands the current wordpress table structure and can advise on how to do direct mysql inserts then i'm open to that too.
thanks in advance.
Have a look at http://code.google.com/p/wordpress-java , I've just added a few features.
I've just posted this link on a different WordPress question:
Database Description from WordPress Codex. That will help you understand WordPress' table structure.
Your project sounds pretty interesting. A quick google search shows some info on Java and XML-RPC: 1, 2 (javax.xml.rpc ).
Second link belongs to Apache XML-RPC, probably a good option for your project.

Resources