public static ArticleModel buildArticleModelFromVars(String[] vars, String url) {
        ArticleModel article = new ArticleModel();

        article.setHref(url);
        for (int i = 0; i < vars.length; i++) {
            String[] var = vars[i].split("=");
            if (var[0].equals("msg_title")) article.setTitle(var[1]);
            if (var[0].equals("msg_link")) article.setMediaId(var[5].split("&")[0]);
            if (var[0].equals("msg_desc")) article.setDescription(var[1]);
            if (var[0].equals("msg_cdn_url")) article.setCoverImageUrl(var[1] + "=" + var[2]);
            if (var[0].equals("img_format")) article.setImageFormat(var[1]);
        }
        return article;
    }