Need help avioding 10000+ copy & pasting

Associate
Joined
31 Jul 2009
Posts
2,224
Location
127.0.0.1
EDIT: Can a mod please help me correct the 'avoiding' spelling mistake in the title. Thanks

Hi all, I am in the process of compiling an adblocker list for IE8. I already have all the addresses (from adblock firefox addon). The problem now is putting it all into xml form and thats it! (will share it once its done).

Heres the problem:

I have the list that contains all the addresses 5000+:

addresses.PNG



The addresses will then be put into this template individually, between the red highlighted characters:

template.PNG


Here is an example using the first 3 addresses (highlighted in green):

sample.PNG


As you can see, if i were to copy and paste all 5000+ addresses it would take for ever, not to mention possible mistakes. I also plan to update it monthly or even weekly. So is there any method i can use (program or anything) that can make the process faster?
Thx in advance:D
 
Last edited:
Oh and just to be sure about something; Will the 'input.txt' be the name of the file containing all the addresses? And will the 'output.txt' be a blank file that gets filled when I run the script?
 
Back
Top Bottom