Hello,
I have developed a demo for your task, you can see it here:
* [login to view URL]
Just click on Run to open it and test it, the code is accessible, you can download it or fork it. At the moment this is not a complete solution, as I have still not implemented the javascript wordlist and the final file generation.
To see it in action just paste the XML feed link, given in the example, and click on submit, it should return a table with the headings and the score, for the Danish language, with default settings of the Afinn script.
If you are interested in my solution, please let me know, I will complete it to met the requirements. Please let also me know about the dates to show in the results: should these be localized, UTC or server based?
Also, a CSV file is acceptable? I can generate an Excel file if needed.
I also need to know which PHP version will be used, the current script should work with PHP 5.4 and above.
Please, consider that there could be still some bugs, as I have coded fast to provide the demo, but any spotted errors will be fixed.
Kind regards,
Giuseppe
//Edit
Small note: the final script will deal also with timeouts from the remote source and with different feed formats: RSS 1.0, RSS 2.0 and ATOM.