Hi,
I was tried to make a slideshow from site:
Priceless420
It works, but it download images from all days, not only from today.
Where i've made mistake?
It is a code:
[CODE]
<?xml version="1.0" encoding="utf-8" ?>
<root>
<bot name="Priceless420" author="Lestek" deleteAfterDays="2">
<![CDATA[

// DETERMINE CURRENT DATE
var now = new Date();
var day = now.getDate();
var month = now.getMonth();
var year = now.getFullYear();
if (month < 10) month = "0" + month;
if (day < 10) day = "0" + day;
if (year < 10) year = "0" + year;
var date = month+day+year;


var text=slideshow.DownloadText("http://priceless420.com/NewPics.htm");

var re = new RegExp("<a href=\"(Pr["+date+"]([a-z0-9\-\_]*)*.jpg)\">","g");
var arr;
while ((arr = re.exec(text)) != null)
{
slideshow.AddImage("http://priceless420.com/"+arr[1], "http://priceless420.com/", "Priceless420");
}


]]>
</bot>
</root>
[CODE]