brentman Posted September 21, 2011 Share Posted September 21, 2011 So I have this killer script I wrote for article management across multiple sites. I am trying to make a drip feed so you can set up a bunch of articles for one site to drip out over x amount of days. Then you could do that for your next site etc... so you do not need to manage all of your 20 blogs/sites a day. So, I am thinking I have all these variables in a table: Table 1 Article - URL for article - Title - Keywords - Anchor Text - URL link - Category - Site to post to ID Table 2... URL - Date Posted - Drip Feed (maybe include category here because in table 1 it will repeat category for every row of the same url) Then I make a script that runs on a cron job every 2-4 hrs... Not sure the best way to make the script and also not sure the best way to post this info to different sites... ideally id like to be able to post to joomla, wordpress, blogspots, etc... basically many different kinds of sites. Any suggestions would be appreciated... no need for you to write the code I can do that, just need a plan. Quote Link to comment https://forums.phpfreaks.com/topic/247588-need-planning-logic-help/ Share on other sites More sharing options...
requinix Posted September 21, 2011 Share Posted September 21, 2011 How I would do it depends on what you mean by "drip". Normally I'd set publish times and only show things (both on the site and in any feeds) that have passed that time. If you mean drip like an IV drip then I'd still do the process as above, but when setting the drip speed I'd adjust publish times automatically according to the rate. So for 10 items over 10 hours that's one per hour, thus the publish time for each item N (1now + N * 1 hour. No cron jobs needed. Quote Link to comment https://forums.phpfreaks.com/topic/247588-need-planning-logic-help/#findComment-1271495 Share on other sites More sharing options...
brentman Posted September 22, 2011 Author Share Posted September 22, 2011 Thanks! That is a very good idea! Quote Link to comment https://forums.phpfreaks.com/topic/247588-need-planning-logic-help/#findComment-1271679 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.