The rating wire-frame
Collecting articles and news is not enough and we want to know which entry has the highest score for investigation. The question is how do we rate them and what measures and factors should we use in our rating mechanism.
Initially, we can come up with some basic rules. For example, if the source of the news or article is a well known news agency, we should give them a different rank compared to the articles coming from a personal web log. Or if the news title has some trending keywords - which we can find from Google Trends, for example - then we should give them a higher rank compared to general and bland titles.
Also the date of the entry matters, too. We don't want to waste our resources on investigating old news. So everything about an entry counts.
Once again, we will spend a whole chapter on dealing with all of these business rules. For now let's just create the Rating component and modify the root component so it can recognize it.
The rating component
Like before...