Maybe it's because I don't know enough of Pagelines or Wordpress, but I want to create a special page withe the Google Feed API. This is Google's documentation:
<html>
<head>
<script type="text/javascript" src=" ></script>
<script type="text/javascript">
google.load("feeds", "1");
function initialize() {
var feed = new google.feeds.Feed(" );
feed.load(function(result) {
if (!result.error) {
var container = document.getElementById("feed");
for (var i = 0; i < result.feed.entries.length; i++) {
var entry = result.feed.entries[i];
var div = document.createElement("div");
div.appendChild(document.createTextNode(entry.title));
container.appendChild(div);
}
}
});
}
google.setonloadCallback(initialize);
</script>
</head>
<body>
<div id="feed"></div>
</body>
</html>
Now, I just don't know where I put this code in, because Pagelines doesn't have pages (page-id.php) for every page. And if i look at the page-alpha, beta etc code, it doesn't look like I can put the code in there because the pages are build in teh setup_pagelines_template function.
Any help appreciated,
John
1 reply to this topic
Also tagged with one or more of these keywords: rss, feed, special page
RSS Feed Does Not WorkStarted by Claude203 , 25 Apr 2013 |
|
|
||
Super Widgets
Store Product Support →
Store Products →
Products by Nick Haskins →
Links opening in new tabStarted by rud10 , 24 Mar 2013 |
|
|
||
How can i create an archive page for my blog?Started by mavincan , 03 Feb 2013 |
|
|
||
PageLines Framework →
Customizations →
Standard RSS icon and Feedburner linkStarted by bartulens , 23 Jan 2013 |
|
|
||
Posts feed in boxes i.eStarted by jennalyn11 , 04 Jan 2013 |
|
|










