function to get article content (clj-side)