jeffreygaydos / pe-custom-mods Goto Github PK
View Code? Open in Web Editor NEWThis is mostly a place for me to track things that need done with PE, but also I will inevitably make some sort of plugin for Plane Encyclopedia at some point...
This is mostly a place for me to track things that need done with PE, but also I will inevitably make some sort of plugin for Plane Encyclopedia at some point...
This should be something we can do through cPanel. The big goal is to get this automated, but for now, let's see if we can manually create a backup. Contact Ed if you run into issues, he's done this before
Edit: Ed uses the cPanel UI to create backups, not SFTP access.
Before diving too deep into getting SFTP access, determine if a backup can be created using an SFTP download in the same way that cPanel does in the UI, this way if we need to restore, we hopefully don't need to "roll our own" restore process, we can just upload files in the cPanel UI.
There's got to be a good way to run a script that will automatically connect to the SFTP locally and grab all the files for us. We could then hook into this automation later on if we needed to add any more checks to something like this. Some Ideas I have right now:
robots.txt
(or lack thereof) to make sure nothing malicious is getting added to it
After creating the dropdowns, we need to add the categories as listed in the docs to subdivide each kind of plane. The articles themselves do not have any classification tied to them, and there is not a consistent styling to the articles that would allow us to scrape the classification from the article headers.
Research a way to get multiple categories or some sort of custom tags that we could then use to automatically classify articles. See if someone already has a plan to do this, and ask around TE to see how they are currently doing these kinds of classifications.
EDIT: Looks like there are "tags" on the posts that have useful metadata we can hook into
TE uses https://wordpress.org/plugins/list-category-posts/ to get categories listed out
This one also doesn't have to be local because we have the nation pages hidden behind redirects and our previous pec-hidden
CSS.
It seemed like the bot was working during the domain transfer, but not so much anymore.investogate and fix
Using whatever system we decided on to determine classification, update the nation pages locally to (hopefully automatically) add the categories and associated planes to the pages. Again, do this locally to make sure we don't encounter any issues.
This again does not need to be local since we have the nation pages behind redirects and pec-hidden
CSS
Change the title to Germany (1919-1945) and the image to the imperial German flag
This is just to get a feel for how long this process will take and if we need to notify users that this kind of maintenance will be happening and they will see things shifting around a bit. This is also just good to make sure the child theme is able to handle more tabs and such. It might require modifications to the child theme which we would definitely need to test locally first.
Note that this will not be copied to the live site until the rest of the redesign has been complete and tested locally so that we know nothing will go wrong when we do the modifications to the live site.
We have just random <script>
just laying around the nation pages to make it automatically remove categories that are empty, but what if we want to make some drastic change to the nation page? I'd have to go back through each one and regenerate after updating the script. Wouldn't it be nice if I could just update the script, and it would apply to all pages? Something like a shortcode for the shortcodes
Keep any content, but remove the hand made list of vehicles and add it automatically
Now that we've essentially gotten our local set up with the redesign, we need to copy whatever we did over to the real site, as quickly and as seamlessly as possible. If necessary, inform the internal (and maybe external) channels that an upgrade is coming and will likely cause the site to be changing frequently within the next couple of hours or whatever.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.