How to work with CSV importer
Here is instructions with example how to work with CSV importer.For this example I will use NastyDollars as sponsor. If you don't have account with them you can singup via my reff link: http://www.nastydollars.com/?wm_refer=wizzart or just http://www.nastydollars.com/ without reff link.
1. step:
By default you don't have it as source so you need to click on "add new one" link.
!Important: do not enter NastyDollars as source, because it can confuse your visitor because it will show on site fronend. It's much better to use RealityKings as source name because it's well know porn site for surfers.
In future when you want to update that source with new videos you can select it from drop-down menu.
2. step:
After you logged in into N$ account visit this page: http://apps.nastydollars.com/tube/
At bottom of that page you already have exported CSV for all their sites, so you just need to copy data from textare and to paste it into textare in your admin panel.
For most other sponsors you will need to sort fields and click on button before that data apier into textarea.
3. step:
For sorting rows for this source you need to click on "Advanced CSV Settings" link in http://apps.nastydollars.com/tube/ page
You will see order of fields and delimeter, so that order you need to sort in your site admin panel.
In this case it's: Title,Date,Thumb,Src,Desc,Site
So same order you need to make in admin panel.
4. step:
In 99% of case delimeter is "|" (pipe) but in this case it's "," (comma) , you can change it but don't need, just in admin panel select "," as delimeter
5. step:
Most of sponsors have same duration of videos (1min, 3 min, 5min) but some of them have that info in CSV data. If they don't have that info like N$ you need to enter valu here.
N$ videos are near 3 minutes duration, so you need to enter 180, because it must be in seconds always.
6. step:
Click on button import and wait until it not show output.
Sometime it can happen to don't show any output just ajax-loading gif image disapier , but don't worry about that, script run in backend.
If output show some error message check CSV data, probablly sponsor's site don't generate output right.
7. step:
a) If script show output with one video details how it will look, and you check that everything is Ok, like title,ID,duration, embed code etc. bellow you will see number how much videos are imported.
!Important: they are still not in main DB table, they are now in temporary table so you need to move it right place, clicking on green button.
In next screen it will show you how much videos was successfully imported. Congrats your are done it right.
b) If script not show any output, you need to wait 5-10 mins more for any case to it finishing inporting in backend.
After that access to CSV importer page again (click on Content in topp menu and after that in CSV button, just like you do it in first time).
You will not see screen like you was see first time because there is videos in temporary table that you need to decide did you want to move them into right table or to delete it.
It will show all info for one video like : title , ID, duration, embed code etc. and number of how much videos is in temporary table.
If everything looks OK, click on green button to approve it, or if something is not right click on red button to delete them and check CSV data to find where is problem.