SpryData Help


hi,

 

this first tim ei have looked @ sprydata seam missing (a brain).

i want display rss feed bbc wesite, here code on page:

 

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>rss feed</title>
<script src="js/xpath.js" type="text/javascript"></script>
<script src="js/sprydata.js" type="text/javascript"></script>
<link href="js/sprystackedcontainers.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
var ds1 = new spry.data.xmldataset("http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/programmes/click_online/rss.xml", "rss/channel", {sortonload: "title", sortorderonload: "ascending", distinctonload: true});
//-->
</script>
</head>
<body>
<div spry:region="ds1" class="stackedcontainers">
<div spry:repeat="ds1" class="rowcontainer">
<div class="rowcolumn">{title}</div>
<div class="rowcolumn">{link}</div>
<div class="rowcolumn">{description}</div>
<div class="rowcolumn">{language}</div>
<div class="rowcolumn">{lastbuilddate}</div>
<div class="rowcolumn">{copyright}</div>
<div class="rowcolumn">{docs}</div>
<div class="rowcolumn">{ttl}</div>
<div class="rowcolumn">{image}</div>
<div class="rowcolumn">{item}</div>
</div>
</div>
</body>
</html>

i have checked paths , fine when page loaded nothing translated, user gets blank page.

where going wrong?

ajax requests cant go cross domain need server side proxy appropriate file you.

 

also point .x ml file... should .xml without space



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???