Originally posted by ouroborosI don't think it is so hard after all. I don't think there will be any performance problems either.
Of course, we can't comment on the coding difficulty as we haven't seen the source code to RHP. However, the other issue to consider is performance.
The information is there already. It's only to insert the alt-tag with the appropriate country name.
BTW - keep on with your good work with your scripts!
Originally posted by FabianFnasIt's difficult to say without seeing the code how hard it is. It's even harder to predict the performance especially without knowing the data structures or the database design behind it.
I don't think it is so hard after all. I don't think there will be any performance problems either.
The information is there already. It's only to insert the alt-tag with the appropriate country name.
BTW - keep on with your good work with your scripts!
The information might be there but is it hardcoded into the PHP page? Is it in a database table? How do you do the lookup? Does this require an extra join on the database? Hacking it into the alt attribute of the image tag is one thing but how should the data be stored in the PHP structure?
When I incorporated the data into the Greasemonkey script and the RHP extension, I had to balance performance on the external server and memory usage in Firefox. Do you preload all of the flag data? Do you hardcode it into the script? Do you load the data on demand?
I think that there are many issues that you have to think about if you want the codebase to remain stable and scalable.
Originally posted by ouroborosYou know more than I do, yet none of us know for sure.
It's difficult to say without seeing the code how hard it is. It's even harder to predict the performance especially without knowing the data structures or the database design behind it.
The information might be there but is it hardcoded into the PHP page? Is it in a database table? How do you do the lookup? Does this require an extra join on the da ...[text shortened]... ny issues that you have to think about if you want the codebase to remain stable and scalable.
The only one who certainly know is Russ and Chris.
If they deliver the alt code with country names, then it's fine, but anyway, I can live without it. I just love this site, with or without!