Find Jobs
Hire Freelancers

Custom Wordpress Plugin to check for Duplicate Pending Posts by Custom Field, and Publish them if they are Unique.

$30-250 USD

Completed
Posted over 4 years ago

$30-250 USD

Paid on delivery
I have a localhost wordpress installation with an RSS-to-Post plugin that scrapes 100+ news sources and puts links to their articles into my wordpress site as posts. I have 100,000 unpublished posts, they are all "pending" status. Many of these posts are duplicates. All of the posts have a custom field called "wpe_sourcepermalink" which contains the URL link (example: "[login to view URL]") that leads back to the article's page. Any Post with the same url in the custom field "wpe_sourcepermalink" as another Post is a duplicate and needs to be deleted. Not moved to trash, but deleted. Some of the URLs in "wpe_sourcepermalink" also need to be cleaned up before being compared to each other. I need a plugin to: (0) I can set which custom field to check in the options/settings. (1) Plugin runs every 5 minutes. (2) Go through all of the "Pending" status Posts and look at the "wpe_sourcepermalink". If there is a "&" in the url, the first "&" and everything after it needs to be deleted. Example: "[login to view URL]" should become "[login to view URL]". Be careful some URLs might have multiple "&" in them. Find the first "&" and delete everything after it, so only the clean URL is left. (3) Compare the custom-field "wpe_sourcepermalink" of the Pending Posts to the "wpe_sourcepermalink" of the Published Posts. If a Published Post has that same URL, then delete the Pending Post. If no Published Post has that same URL, then make the Pending Post a Published Post. EXAMPLE: - I have 100,000 pending posts, and 0 published posts - Go to the first Pending Post. - Found Pending Post with title "Twitter erupts with flamethrower memes as Bolsonaro v DiCaprio feud over Amazon flares up" - check the custom field wpe_sourcepermalink for a "&" symbol in the url string. - IF it has a "&" symbol in the URL, go to the first "&" in the string and delete it and everything after it. - IF it does not then leave the URL alone. - Found "[login to view URL]" in the custom field wpe_sourcepermalink. - removing "?utm_source=rss&utm_medium=rss&utm_campaign=RSS" from custom field wpe_sourcepermalink. - custom field wpe_sourcepermalink is now a clean url string "[login to view URL]" - Does any Published Post have "[login to view URL]" in its custom field wpe_sourcepermalink? - IF yes, then the current pending post is a duplicate, delete it. - IF no, then the current pending post is unique, Publish it by setting it's status to "PUBLISHED". - Move on to next Pending Post. - Found Next Pending Post with title "Twitter erupts with flamethrower memes as Bolsonaro v DiCaprio feud over Amazon flares up". - check the custom field wpe_sourcepermalink for a "&" symbol in the url string - Found "[login to view URL]" in the custom field wpe_sourcepermalink. - customfield wpe_sourcepermalink does not have a "&" in it, the URL string is clean. move to next step. - Does any Published Post have "[login to view URL]" in its custom field wpe_sourcepermalink? - Yes, there is already a Published Post with "[login to view URL]" in its custom field wpe_sourcepermalink. - Delete the current Pending Post. - etc.... Unless you have any suggestions, I think this is the best way to design the plugin. I have about 1,000+ pending posts added a day that need to be checked constantly for duplicates so the plugin needs to be able to handle running every 5 minutes.
Project ID: 22626781

About the project

15 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as an experienced WordPress programmer to create plugin to cleanup 'wpe_sourcepermalink' into 'clean_wpe_sourcepermalink' and publish pending post if 'clean_wpe_sourcepermalink' unique. Otherwise, if 'clean_wpe_sourcepermalink' is not unique, duplicated post will be deleted. 2000+ successfully completed projects, including 300+ WordPress projects, speak for me. Links and reviews from my past clients available in my profile. I am an individual, I am not a company in any meaning. I need FTP or SSH access to start right now. And login/password into "wp-admin" Dashboard. I can communicate via Freelancer.com. -- Sergey aka Takereal
$90 USD in 2 days
5.0 (2031 reviews)
8.3
8.3
15 freelancers are bidding on average $163 USD for this job
User Avatar
Hello there. I can write this plugin to run every 5 minutes and perform duplicates check, delete and publish unique posts by doing all the steps mentioned.
$250 USD in 7 days
4.9 (412 reviews)
7.2
7.2
User Avatar
hi i am a wordpress expert and i will create that plugin i create one plugin for property import so same concept i sued for that ... will you talk here with me thanks.. Regards Raees
$350 USD in 4 days
4.9 (345 reviews)
6.9
6.9
User Avatar
I can start work right now and I can show you perfect result in a short time. Please contact me freely. Waiting for you with your great news.
$140 USD in 7 days
5.0 (73 reviews)
6.4
6.4
User Avatar
Hi! Nice to meet you! Your project is interesting to me. We have over 7 years IT experience as a back-end, front-end. We've been successfully completing many projects from simple project to complex one. Our key skills are: JavaScript - Magento - PHP5 - Node.JS - ExpressJS -AngularJs - ReactJs - Vuejs - HTML5 - Bootstrap - CSS - jQuery - Laravel - Prestashop - OpneCart - WordPress - Shopify Python - Django - Flask As a fulltime workers, We can work 50 hours per week. We have enough passion , strength and endurace. We will serve you whenever you want. No Worry About Difference of Timezone! We are reliable, outstanding and flexible developers and as a creative persons we like generating extraordinary ideas! Thanks for your attention!!
$140 USD in 7 days
5.0 (56 reviews)
5.9
5.9
User Avatar
Hello, I have gone through your requirements and understand what you need. I am a Web developer with 7 years experience I have used a lot of technology to implement my clients solutions. List of Services that i can help you - Build custome web applications using Native PHP with all php versions - Build custome web applications using PHP Frameworks ( Codeigniter - Laravel - Cakephp) - Using PHP CMS ( Wordpress - Drupal - Joomla) - Website Management - Server or Website maintenance and technical support - Data Scraping - RestAPI - SDK ( google map - Facebook - Twilio ) - Version control using (Git - Bitbucket) I look forward to speaking with you about this opportunity. I'm mostly on the internet, we can talk there in a fast way. Thanks & Regards
$190 USD in 6 days
5.0 (37 reviews)
5.2
5.2
User Avatar
Hi, Greetings. I read your project description and I am very interested in your project. You will not be disappointed. ❤️Thanks for giving me the opportunity to bind on your project.❤️ You can check my skills in my profile. I have good hands on ... ☆ Main skills ☆ - Requirement analysis and technical suggestion. - Project Estimation and Schedule to complete this project - Fashion UX/UI designing and implement. - Kotlin/Java, Swift, SwiftUI, REST API, MVVM - Well commented source code delivery - Bug fixing + maintenance support. We can discuss other details on chat. Are you available for discussing now? Regards,
$140 USD in 7 days
5.0 (14 reviews)
5.0
5.0
User Avatar
Hi, Thanks for Looking over my Bid. I have read your details and understood well. I can fulfill your requirements as per your needs. Although, I am new at this platform but have 8 years of experience in Web development. I have done Diploma in Web Development, Have expertise in Html, PHP & Wordpress. I’m very familiar with current market trends & I have unique strategies to provide an outstanding piece of work for your brand. I’m excited to work on this project, Message me to discuss in more detail. For Portfolio please contact. Thanks. Regards, Muniza
$50 USD in 2 days
5.0 (1 review)
1.7
1.7
User Avatar
satisfied results 100 % with my work giving solution is my hobby. money is not matter my work is matter.
$166 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
St Louis, United States
5.0
2
Payment method verified
Member since Jun 10, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.