Difference between revisions of "Widget:Feed"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
feed.load(function(result) { | feed.load(function(result) { | ||
if (!result.error) { | if (!result.error) { | ||
− | var container = document.getElementById("feed"); | + | var container = document.getElementById("feed-{$url|escape:'url'}"); |
for (var i = 0; i < result.feed.entries.length; i++) { | for (var i = 0; i < result.feed.entries.length; i++) { | ||
var entry = result.feed.entries[i]; | var entry = result.feed.entries[i]; | ||
Line 25: | Line 25: | ||
</script> | </script> | ||
− | <div id="feed"></div> | + | <div id="feed-{$url|escape:'url'}"></div> |
− | URL <!--{$url|escape:'url'}--> | + | URL <!--{$url|escape:'url'}--> |
</includeonly> | </includeonly> |
Latest revision as of 20:11, 12 November 2013