Herman Chiu 0 Posted March 16, 2011 Report Share Posted March 16, 2011 Hello! Anyone can help me with my first bot.I`ll try to complete my wordpress blog to add articles from a csv files.I have an csv with 2columns title and descriptionI want to go to wordpress and add 1 by 1 to the wordpress blog.I attach my ubot source till now, maybe an admin can help me with this.wordpress-notdone.ubot Quote Link to post Share on other sites
UBotBuddy 331 Posted March 16, 2011 Report Share Posted March 16, 2011 I moved your thread to this spot since it will get looked at by more botters. The other sub-forum is for requesting Tutorials. Quote Link to post Share on other sites
JohnB 255 Posted March 16, 2011 Report Share Posted March 16, 2011 Hi Herman. here is the format you need to loop through a csv file using more than one column. It works like this. Set two variables (one for each column). I called then #titlecolumn (set to 0) and #descriptioncolumn (set to 1). You then set a variable for the row. I called it #row, and it's set to 0. Use the $total table rows for the number of cycles in the loop When you fill each field, you will use $table cell with the appropriate variables (you will see that in the script). Increment the variable #row. When you run this script you will see the two fields being filled with the next table row items (in this case all the titles are numbers and all the desc's are letters). Place the .csv file on your desktop to run this script. csv_loop.zip John Quote Link to post Share on other sites
fdtkz 0 Posted October 10, 2011 Report Share Posted October 10, 2011 Hi, There is a problem with this bot - it seems it is built for Ubot3X and now we are operating Ubot4. Is there any way to change it for Ubot4? The problem is that I can not apply the succession of commands in order to fill a list of register forms from CSV and all available materials point to Ubot old versions (BTW -are there any tutorials on Ubot 4 concerning the matter) Best Regards UPDATE - read the explanation carefully and created necessary script Quote Link to post Share on other sites
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.