Php Xml Feed Script Simple
Hello,
What I am looking for is for an XML feed script to use with a tube script.
What I am looking for is I can setup a csv/txt | seperated file or point a current XML feed into the script you would build. It would have the ability to only allow 2 videos from each sponsor be released per cron job or web url request. This way it can go to each sponsor and show 2 videos from each of them each request this way the main script will import the video data as new content and it will not all be solely by one or two sponsors. For example 450 videos from the same sponsor would have the chance to be blended with all the rest.
Each sponsor feed on the script must have their own xml feed generated by the script so the script can call and import the data to the correct sponsor.
the main script is programmed to avoid duplicates so it is ok to have the previously released flv videos in the feed and it will go onto the next flv video info that is in the feed.
So lets say the xml feed from the sponsor has 450 videos it would import 2 videos onto the output xml feed 2 at a time then move to the next 2 on the next request.
It sounds more complicated that it actually is. I can convert the txt/csv to xml format to plugin or if you feel if the txt/csv file can feed this please advise.
—–
A possible solution I am calculating as typing is in the new script admin you could add a sponsor with feed data of the txt/csv or url xml feed to import the data into a mysql database to act as an API to release the data being called on seperate XML feeds that each could be called to show two flv videos per each request of the generated xml feed to the specific calling code of the sponsor.
It more than likely would need to look at the data as lines as dates may not work like 1,2 is first call 3,4 second call and 4,5 is the third and so on resulting in 1,2,3,4 and 5 all in the xml feed that is being showed so the FLV videos can be imported slower to look nicer =)
I can see you understand better. =)
Please bid so we can get started. It is adult content. The last programmer could not look at adult samples due to personal differences.