home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 July & August
/
Gamestar_64_2004-07-08_dvd.iso
/
Programy
/
sidebarb67.exe
/
install.msi
/
_B22B9B4A2362BC0B8C5367867DF806C7
/
_D1A9F9E4826C4FEF896FFFA2ED576B0A
< prev
next >
Wrap
Extensible Markup Language
|
2004-04-04
|
759b
|
28 lines
<?xml version="1.0" encoding="utf-8" ?>
<root>
<bot name="National Geographic Slideshow">
<![CDATA[
var exist=false;
var re = new RegExp("<a href=\"/pod/pictures/sm_wallpaper/([^\"]+)\">","g");
var text=slideshow.DownloadText("http://lava.nationalgeographic.com/pod/index.html");
var lines=text.split("\n");
for(var i=0;i<lines.length;++i)
{
var line=lines[i];
var arr = re.exec(line);
if (arr!=null)
{
slideshow.AddImage("http://lava.nationalgeographic.com/pod/pictures/sm_wallpaper/"+arr[1],"http://lava.nationalgeographic.com/pod/index.html","");
exist=true;
}
}
if (!exist) {
slideshow.log("Cannot find links in National Geographic Slideshow");
}
]]>
</bot>
</root>