10.8.10

Random content generator


var i = 12;
while(i--) links.push({
title: 'This is a title',
article_text:
(new Array((100*Math.random())|0 + 1))
.join('Lots of dolorem in my ipsum. '),
image:
'http://9gag.com/photo/'+
((32000*Math.random())|0) +
'_540.jpg'
});


Boom.

No comments:

Post a Comment