Jump to content

- - - - -

Google Rss Feed Api On Page

rss feed special page

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 lasjoh



  • Members
  • 12 posts

Posted 06 November 2012 - 09:46 AM

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:

<script type="text/javascript" src="

Please Login or Register to see this Hidden Content

<script type="text/javascript">

google.load("feeds", "1");

function initialize() {
var feed = new google.feeds.Feed("

Please Login or Register to see this Hidden Content

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 id="feed"></div>

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,


#2 catrina



  • Members
  • 12345 posts

Posted 06 November 2012 - 04:51 PM

This code requires that you create a new file and add this code in there. Have you tried looking for a WP plugin solution that creates a Google RSS Feed?