Greetings for everybody here!
Well, I am trying to set an appendChild in my code just to add "..."
at the end of title of each entry, I am using The FeedControl and I
Tried something like this:

feedControl.appendChild(document.createTextNode(entry.title +"..."));

But it didn't work!

Here is my code:

<script type="text/javascript">

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

      function initialize() {
        var feedControl = new google.feeds.FeedControl();
        feedControl.addFeed("http://www.pernambuco.com/rss/
rss_ultimas.xml", "Pernambuco.com - Últimas Notícias");
        feedControl.setLinkTarget(google.feeds.LINK_TARGET_BLANK);
        feedControl.setNumEntries(8);
        feedControl.draw(document.getElementById("feed"));
        feedControl.appendChild(document.createTextNode(entry.title +"..."));


      }
      google.setOnLoadCallback(initialize);

  </script>


Could anybody help me?
Thanks for all!

-- 
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.

Reply via email to