How should I evaluate writing quality to compare two articles(which article is better suited/written for a topic ) according to their content?
"Source credibility" of Internet articles is best calculated through the Page Rank algorithm.

Algorithmically determining writing quality might be intractable. However Page Rank could be a proxy. If an article is a hub then it is the authority on the topic and can be assumed well written (or at least very useful).