How to update a Joomla! article programmatically

LeTay used Ask the Experts™
I am looking for a working example (PHP code and also I presume SQL stuff) of how to update an existing article on a site where Joomla! is the running software.
Practically, I have an existing article but I want from time to time to programmatically update his content and his title.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David FavorFractional CTO
Distinguished Expert 2018

Commented: provides info about how to call the Joomla API for each different version of Joomla.

This is a good starting point.


Can you give me more advice in that API about the goal I want to reach ?
I am not very familiar (not a all in fact) in these APIs
Fractional CTO
Distinguished Expert 2018
You just have to go through the API calls + pick those which seem to work best.

The way you become familiar is to just jump in + use the calls.

How exactly you arrange to call the API will depend greatly on the language you use.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial