Automated Custom Blog Post Styles

Hi,

As a newbie to wordpress, CSS and nodejs I apologise if my question is garbled or confusing…

But I’d like to get an opinion on whether or not my idea is rubbish, or it holds some merit (in which case I can progress further and try to find some help to implement it!).

I have text output which is articles, with:

An Article Title
An image url
Section Headings
Paragraph Text within the Section Headings.

I’d like to post the articles to WordPress using their REST api.

I’d like to add a series of styles to each of the posts so that I’d end up with posts that might look something like this:

[https://omfurniture.co.uk/creating-a-cosy-living-room-this-winter/])
[https://omfurniture.co.uk/factors-to-consider-when-buying-a-new-sofa/])
[https://omfurniture.co.uk/top-sofa-trends-in-2022/])

My idea (dream?) is that I could save many “sets” of styles and when my script creates a post, randomly pick a style and apply it and then add the post to wordpress. Each style could define background colors, fonts, dividers, and anything else necessary.

Is it a silly idea or might it be do-able?

Many thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer