SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2009
    Location
    Oakland, Ca
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Google ajax feed API help

    Im trying to add functionality to a simple google feed reader (gfeedfetcher.js).

    The html can be found at zerosquadron.com/google.htm
    the JS can be found at zerosquadron.com/js/gfeedfetcher.js

    There are two things I'm trying to do, actually, but seem to be just stuck on the first.

    1) I've been messing around all day trying to change the URLs on the link. I've set this, or tried, to setlinkurl() in the docs.

    THEN... If I can get past that hurdle, its on to

    2) the option to show the full article as one of the showoptions features.

    The original docs can be found at:
    dynamicdrive .com/dynamicindex18/gajaxrssdisplayer.htm

    any help, suggestions or better ways to accomplish this would be greatly appreciated. Im unable to use php or anything else. I know all the stuff I need is returned by the feed api, I just can't seem to get my mind around how this is all put together.

  2. #2
    SitePoint Addict Mirek Komárek's Avatar
    Join Date
    Dec 2006
    Location
    Prague
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1/It works normaly with http://dynamicdrive.com/dynamicindex18/gfeedfetcher.js why did you remove this?
    Code:
    gfeedfetcher.prototype.setlinkurl=function(linkurl) {   // set alternate link url 
    	linkurl= ""
    	this.linkurl=linkurl
    	if (linkurl=="")
    	this.linkurl=feeds[i].link
    }
    2/it can display only contens of rss, so full article = description
    Code:
    cssfeed.displayoptions("description");


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •