E
E
Evgeny Petryaev2021-08-17 14:06:52
Java
Evgeny Petryaev, 2021-08-17 14:06:52

Write a page editor program in wordpress?

There is a code in Java, it prepares a text report, how can this report insert the text from it into the WordPress page automatically? Which way to dig

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2021-08-17
@Gremlin92

Good afternoon!
I had to write similar applications.
You need to work with the Wordpress REST API.
There is a Java client.
Use this lib:
https://github.com/Afrozaar/wp-api-v2-client-java
Also install this plugin on the WP site so that you can authorize a third-party client
https://github.com/WP-API/Basic -Auth
If you need to edit metadata on the wp site, then install this plugin on the site
https://github.com/Afrozaar/wp-api-v2-client-java-...
You can also look at:
https://github .com/Afrozaar/wp-api-v2-afrozaar-extras
If necessary, you can use another framework:
Apache Camel + Apache Camel WP Component
https://camel.apache.org/
https://camel.apache.org/components/3.4.x/wordpres...

A
Alexey Ukolov, 2021-08-17
@alexey-m-ukolov

"Wordpress page" is an entry in the database. Dig there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question