How to allow media to increase their traffic by optimizing their publications on the networks and detecting trends