First of all, sorry if anything I have written or am going to might sound stupid - Hands down, I am a complete newb when it comes to programming, so bear with me :)
If I do understand abovely posted code phragment correctly, one would still have to enter each link individually, is that correct...