Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1064321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:54:59+00:00 2026-05-16T18:54:59+00:00

i have a little problem with the Google Feed API and jquery each. The

  • 0

i have a little problem with the Google Feed API and jquery each.

The problem:

I get a reload when i click on the start button.

Can somebody explain me why?

HTML

<input type="button" onclick="tkk_rss_check();" value="start"/>

JS

$(document).ready(function trt()
{   
    tkk_rss = {};
    tkk_rss['32'] = new Array("gulli:News", "http://ticker.gulli.com/rss", "0", "gulli:News", "0", "gle", "0");  
    tkk_rss['36'] = new Array("Golem.de", "http://rss.golem.de/rss.php?feed=RSS1.0", "155", "IT-News fuer Profis", "0", " ", "0");  
    tkk_rss['37'] = new Array("Heise", "http://www.heise.de/open/news/news-atom.xml", "156", "", "0", "", "0"); 

});

function tkk_rss_check()
{
     $('body').append('Start<hr />');
     google.load("feeds", "1");

     $.each(tkk_rss, function(i, val)
     {
        function initialize() {
          var feed = new google.feeds.Feed(''+tkk_rss[i][1]+'');
          feed.setNumEntries(10);
          feed.load(function(result) {
            if (!result.error) {
              for (var i = 0; i < result.feed.entries.length; i++) {
                var entry = result.feed.entries[i];
                var attributes = ["title", "link", "publishedDate", "content", "contentSnippet"];
                $('body').append(''+entry[attributes['0']]+' <br />');
              }
            }
          });
        }
        google.setOnLoadCallback(initialize);

     });
}

working example
http://www.jsfiddle.net/V9Euk/587/

Thanks in advance!
Peter

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:54:59+00:00Added an answer on May 16, 2026 at 6:54 pm

    You need to suppress the button click, like this:

    <input type="button" onclick="tkk_rss_check(); return false;" value="start"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little problem with the google analytics API on IOS. When I
I have a little problem about Google Maps. I'm using Geocoding (xml) for getting
I have a little problem with Jquery getJSON function. my json here { entries:
I have a little problem with google bot, I have a server working on
Hello guys i have a little problem i get an error: File C:\Users\kokki\Desktop\gb1\main.py, line
I have a little problem with a Google Maps page I have put together.
I am try the Google Maps API and run into a little problem. Look
I have this little problem I couldn't find in Google: UITableView works fine until
I have a little problem showing html file as documentation on my google code
I have little problem with a replacement of a little part in an url.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.