PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : External Data Provider


Boothby
13.07.2003, 19:47
Bevor das funktioniert müßt ihr erstmal die entsprechenden Optionen bearbeiten.

Ich hab schon mal versucht (mehr schlecht als recht) eine JS-Kompatible HTML-Page zu basteln. An RSS- oder XML-Scripts wäre ich schon interessiert.

Hier meine JS-Seite.



<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>

<script src="http://localhost/boards/vb3/external.php?type=js"></script>
<title>vB Titel</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<script language="JavaScript">
<!--

for (var i=0; i < threads.length; i++) {
document.write(threads[i]['poster'] + " schrieb am " + threads[i]['threaddate'] + " um " + threads[i]['threadtime'] + " Uhr<br \/>");
document.write("<a href=\"http://localhost/boards/vb3/showthread.php?p=" + threads[i]['threadid'] + "\">" + threads[i]['title'] + "</a><br \/>");
}

//-->
</script>

</body>
</html>



Die URL muß natürlich entsprechend angepasst werden.