I am looking to build a plugin for an adult site.
Here is how I imagine the plugin working.
I would like to create a csv file based on the fhgs I get from my affiliate program
Separate the fields using a | delimeter
Scene name| Model name | Site name | Short Scene Description| Category |FHG URL|
I would like a tools page for the plugin where I would upload the csv file.
Once uploaded it would be great to be able to see a visual of the breakdown by field to make sure everything is lined up right.
I would also like the option to edit a field or remove an entire line if I notice a mistake, this would enable me to fix an entry instead of having to reimport entire batches.
Ok for the actual post this is how it would spit out.
The title of the post would always be the (Scene name) + with (Model Name)
The first thing in the post would be the scene description, If a longer scene description is supplied in the FHG itself I would like the plugin to grab that instead. In the affiliate program for this FHG for example it has a 1 line description but on the FHG itself it has a full paragraph. I would prefer using the full paragraph. Ex: [url removed, login to view] if a long description is not provided then use the short description instead.
Then a gallery of pictures is skinned from the fhg. I do not want to use the FHG itself instead I want to import the pictures into my media folder.
I would like the pictures to be renamed (Model Name) + (Scene Name).
The category field would match up with my wordpress categories and add new categories if they do not exist already.
Tags need to be created for the post in this format Model name, Site name
If the script finds a longer description in the FHG I would like it to auto insert the short description provided in the csv as my meta description in my seo by yoast plugin.
A featured image would have to be selected from the posts gallery. The Script would have to be able to choose the first vertical image from the gallery as it fits the site’s thumbnails best. If all images are horizontal then choose the first horizontal picture.
I would like to be able to schedule the imports by date and by quantity ( I.e 5 posts or 10 posts a day) and see what is queued, I would also like to be able to cancel the entire import batches in case I make a mistake.
The script would have to function with my post to twitter plugin and post to plugrush plugin, which are automatic.
I would also like my wordpress to not time out when I import a large batch. A timer letting me know how long it is taking would also be great.
This is everything, if you have ideas to improve our simplify the process feel free to add to it.