Creating single web page from extract of data from multi site setup - wordpress

I was tasked with moving a WP web site from one server to another by a client, the issue I am having is that it is not as simple as was first made out.
I do not have access to the original site, all I have is an extract of the data and the php files that constitute the site.
I am told by the previous developers that this will be all that we need to reconstruct the site, however I cannot find any guidance on line as to how to go about this, everything that I see talks about exporting using the WP export/import plugins and it generating and XML file...
I have no XML file.
Any guidance on this would be appreciated.

Related

Import / Export comments on Wordpress site

A few months ago I created a staging Wordpress site to implement some changes on my website. The databases run on phpMyAdmin (although I'm not sure if this is relevant). I would like to save the comments (the ones that are already published and the ones I've received recently), so my plan is to save them as it follows:
Save all comments and disallowed IPs from the regular website. I believe this is done by downloading the Commentmeta and Comment databases, although I'm not 100% sure. Are there other relevant databases?
Import those comments to the staging site.
Export the whole staging site (databases and webspace) to the regular website and let it run all the updates.
If this isn't the right way to do it or you know a better / more effective / safer method I'd appreciate to know it.
I'm trying to locate the file in which the Comment Blacklist / Disallowed List of my website is stored. I don't use any comment plugins besides the Subscribe to Comments Reloaded, although I don't think this one would store the data I'm looking for.
I'm fairly new to web developing, but I'm not sure if this file should be on a specific database or on a certain folder of the webspace, so all insights are welcome and much appreciated!

Access Sharepoint files in WordPress media library

Is there a known way of connecting WordPress and Sharepoint in a way, that i can choose files located in Sharepoint inside my WordPress media library?
I searched for hours, but cannot find a solution.
Probably looking the wrong direction.
I read the Sharepoint API -Documentation on files, and learned that I could probably write a Plugin myself, but this will probably get pretty time consuming.
I also found a tutorial on how to automatically create posts in WP from Sharepoint using Powerautomate. I could probably adjust this in order to push files from Sharepoint to WordPress. But I actually don't wont to copy files to WordPress, I want to access them directly.
As a further approach i integrated OneDrive into WordPress using this plugin
But this just creates a new problem because I can't find a way to access the folder, created by the Plugin in OneDrive from Sharepoint.
It boggles my mind, that I can't find a ready made solution.
I can't be the only one with that requirement, or am I?
Help is greatly appreciated

WordPress Export/Translate/Import Single Pages

Back story:
My company has recently expanded into other countries and requires the site have multiple iterations with different translations and the user be redirected based on their geolocation. I manage our public facing website which is part of the marketing department (no other developers on the team but me). Our website is a custom WordPress template that I inherited, originally developed by a third-party agency. Our parent global company has a relationship with a company called Language Wire, who will take files of many formats and translate them by hand to ensure quality, and then return them translated. In this case they will accept .html and .xml files. Before we get into a workflow of sending and receiving files regularly, they wanted me to send them some test files which they will machine translate quickly and send back to me so we can make sure the workflow will be smooth.
Issues:
I did a WordPress export (which I've never done before) and I believe it exported our entire site in the form of an .xml file but I'm not sure what this file really is. Their machine translation translated a lot of dependencies that needed to remain in english which broke the file and disallowed me from importing back in but I'm assuming their agents who do manual translations will be able to navigate this better so I'm going to ask them to do a manual translation as a test. However, I'm wondering if there is a better way to export single pages or groups of single pages and then import them back in after translation without losing the template so I can send them a smaller file to manually translate.
Anyone have experience with this kind of situation? I'm also researching geolocation redirect plugins and have no idea how I'm going to organize the subdirectories of translated versions of our site. My main issue right now though is exporting and importing wordpress pages. Thanks!

Wordpress migration to a new developed webpage

Case:
A old website developed with wordpress and run for serveral years.
Now, this wordpress website is giveup and will be re-developed to a new website which is not using wordpress anymore.
Old data i.e. article content, uploaded image file, members' info etc will be migrated to the new website.
Question:
1. Is it any tools for this type of migration?
2. If there is no tool for data transfer and I need to export the content from mysql, where can I get the article content in database?
3. Where can I find the uploaded file?
Data migration is always dependant on two things.
1. If your current framework/CMS can export the data you have, and
2. If the new framework/CMS can import data that you have just exported.
Since both frameworks are different, i.e. WordPress to any other CMS, your new CMS must be able to map the exported XML files. Which means, it must be able to customize the import process to tell what bits of data is Title, Content, Categories etc.
To answer your questions
Is it any tools for this type of migration?
Since you didn't mention what you new framework is, no one can really suggest a tool. Just google for "WordPress to YOUR-NEW-FRAMEWORK migraiton" and you'll get a number of tools. If the new framework is a custom PHP framework then I think you'll have to import the data manually or code an import script for it.
WordPress has a pretty good export tool. Check this page to learn how to export WordPress content.
Where can I find the uploaded file?
The uploaded files are referenced in the exported XML file, so at the time of import anywhere else, they can be fetched and downloaded if you can. Otherwise, you can find them in the uploads directory located at YOUR-SITE-ROOT/wp-content/uploads/
UPDATE:
As you are not targetting any framework/CMS but want to show the data with custom PHP, I'd suggest two methods.
Use the current database that WordPress is using and build your PHP script around it, benefiting from wp_posts and wp_postmeta tables.
A better way to go with this is using the WP REST API. This way, you keep the WordPress installation as is and still use it's data in your custom PHP site. Advantage of this method is that you won't have to bug your mind with scripting around database structures you have less information of.

wordpress, a download manager for outside URLs

I'm working on a online file library for one of my clients. It's a library for mostly PDFs and office documents. Because they are a huge amount(almost 2gb in files), I'm hosting them on another site(divshare), so that the hosting account we have doesn't get blocked by the excess of files, and also because of excess traffic downloading can generate.
So, my question is if there is a good download manager(even with some search for download categories and so) that can handle instead of local uploaded files, URLs of files hosted somewhere else?
The advice about any plugin or the like is very appreciated.
You ask how to code such manager, right? Otherwise, your are on the wrong site...
I think you need to make a kind of file manager, except that instead of generating HTML pages to view the files and act on them, it exposes a Web API, returning XML or Json data, that a WordPress plugin can manage.
From Divshare:
The DivShare Uploader Plugin for Wordpress replaces your regular
uploading frame with a DivShare upload form, allowing you to easily
upload and add files without ever leaving your "Write a Post" page.
It's a great way to speed up your blogging and take the load off your
servers when hosting big files and images.
It can be found here: http://www.divshare.com/integrate
Good Luck!
Marcelous

Resources