I'm currently running a Google AJAX API feed control script that indexes the feed then truncates it a the specified number of lines (in this case 3 lines). Currently I have this running throughout my site using a Blogger feed (works great).
Moving forward I am now hosting my own blog within using WordPress (http://runadun.com/wordpress/). So far the script allows me to run the new feed but I can't truncate the list. Does anyone have a suggestion for the URL code string? I've tried every possible syntax and I'm left with no result. HELP!!!! :( INFO: The working URL with Blogger is: http://runadun.blogspot.com/feeds/posts/default?start-index=1&max-results=3. The working URL for WordPress is: http://runadun.com/wordpress/feed?start-index=1&max-results=3 but it doesn't truncate the list to 3. It shows all. --- ORIGINAL CODE: function LoadDynamicFeedControl() { var feeds = [ {title: '', url: 'http://runadun.blogspot.com/feeds/posts/default?start- index=1&max-results=3' }]; var options = { stacked : false, horizontal : false, horizontal : false, title : "" } new GFdynamicFeedControl(feeds, 'feed-control', options); } // Load the feeds API and set the onload callback. google.load('feeds', '1'); google.setOnLoadCallback(LoadDynamicFeedControl); --- --- NEW CODE: function LoadDynamicFeedControl() { var feeds = [ {title: '', url: 'http://runadun.com/wordpress/feed?start-index=1&max-results=3' }]; var options = { stacked : false, horizontal : false, horizontal : false, title : "" } new GFdynamicFeedControl(feeds, 'feed-control', options); } // Load the feeds API and set the onload callback. google.load('feeds', '1'); google.setOnLoadCallback(LoadDynamicFeedControl); --- -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
