Hello fellow monks, I have a question for you all, and hopefully you can give me some insight into which direction I should take this project. Please bear with me, the explanation is quite long.
I work for a university and we just moved off of our custom in-house CMS system to post news as it was old and quite frankly, didnt work very well. We are actually using Blogger now, departments can just log in and post news themselves.
I have to write code that will take the Atom feed from blogger, parse it, and display a 'Top 5' of news headlines. I cannot directly use perl since some department pages dont have perl enabled, so it has to be some sort of javasrcipt solution.
The two ways I have come up with are as follows:
1) Write a perl script to parse the Atom feed and return javascript, for example:
<script language="JavaScript" src="foo/bar.pl" type="text/javascript"></script>
2) Write a perl script that runs every so often that would generate a javascript file with the updated news headlines in the file itself.
For example,
displayNews()
We are worried about speed and how much a performance impact solution #1 would have on the mainpage, as it gets a lot of hits.
Thoughts?
janitored by ybiC: Retitle from less-than-descriptive "I need direction" for better site search