How can I automate a process with FTP and XML for a news site?

[ad_1]

**Here’s a visual representation of what follows, for your ease of reading:**

\+ Manually
\+ FTP
\—-> XML
\+ RSS
\—-> Compilation
\—-> Per category

**Here’s the problem at hand:**

I am setting up a news portal with N categories. I have a local news agency, who offer three ways to access their news data. All three are subscription based.

The first way is to manually log in to their platform and copying whatever is of interest. That one is ruled out, because it would require a lot of human hours to run.

The second and third ways are machine based.

The second one is via an XML file which contains all the information one might need, and is made accessible via FTP.

The third way is via an RSS feed. In this case there are two variations to choose from:
\– The first one is that of a compilation of news from various categories, but no real data for what category each story belongs to. That would mean manual labor on running the site should be included again, so this method is ruled out as well.
\– The second option for an RSS feed is news organized in categories. Therefore there would be one RSS feed for Crypto, and another RSS feed for Sports. That is the easiest to set up, and I already know how to do it. For that reason it seems the most appealing, but the cost might be higher. Also there is not much information included, other than a title and a content.

So there are really only two candidates; the XML via FTP option, and the RSS per category option.

What I am missing is information on how I could set up a flow for reading the XML via FTP automatically and update my portal by some kind of mapping based on a specified field in their XML.

Could you offer me some help, or advice on the latter please?

[ad_2]

 

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