Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Display Image with gAjax RSS Feeds Displayer v2.0

  1. #11
    Join Date
    Jul 2010
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you for all your help!

  2. #12
    Join Date
    Jul 2010
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I'm sorry - I can't find a way to open a new thread. My question is again about gAjax RSS Feeds Displayer v2.0 (hosted) (http://www.dynamicdrive.com/dynamici...sdisplayer.htm)

    What do I tweak (and where) to make a feed display more characters?

    Thank you!

  3. #13
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,973
    Thanks
    67
    Thanked 3,340 Times in 3,301 Posts
    Blog Entries
    12

    Default

    This API is no longer offered by Google, so folks will have to look elsewhere for RSS and other feed parsing scripts. See:

    http://www.dynamicdrive.com/dynamicindex18/

    Pick one that IS NOT marked (hosted). These will require PHP though. So if that's unavailable for you, you can try the web for other solutions.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #14
    Join Date
    Aug 2004
    Posts
    10,120
    Thanks
    3
    Thanked 1,003 Times in 988 Posts
    Blog Entries
    16

    Default

    Seems like Google Feeds API is working today all of a sudden. Not sure what this means...
    DD Admin

  5. #15
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,973
    Thanks
    67
    Thanked 3,340 Times in 3,301 Posts
    Blog Entries
    12

    Default

    Back by popular demand? In any case, here is the somewhat cryptic deprecation notice:

    https://developers.google.com/feed/terms

    Reading it more closely, it only appears to say that as of April of 2015 they are dropping any commitment to supporting the service, or even notifying folks of compatibility issues which may or may not arise due to changes in the service, which they now presumably may drop at any moment, again without any notice.

    I was prompted to even mention this in the first place because a user mentioned it to me and when I checked I was getting:

    Google Feed API Error: this API is no longer available.

    Alerts on the SAG Content Scroller v1.3 page, and no content on the other Google Feed API pages, (the various gAjax scripts).

    Here's what I just wrote the user in question:

    Looks like the Google Feed API is available again - today at least. They do have a deprecation notice up that basically says they may change or discontinue the service at any time without notice. I get the feeling that they might have in mind a replacement service, but that if they do unvail one at some point, it might not be backward compatible and that they are making no commitment to explaining how to adapt to the new version. Folks may just have to start from scratch, more or less, with the new API. That is if a new one is forthcoming. They're also reserving the right to drop it without any replacement. Even so, I'm thinking they would like to continue it if possible and make any transition as seamless as possible, just that they don't want to be legally bound to do so.

    For now though, I guess it's back up and running.
    And to this question:

    Quote Originally Posted by cxcskiing View Post
    I'm sorry - I can't find a way to open a new thread. My question is again about gAjax RSS Feeds Displayer v2.0 (hosted) (http://www.dynamicdrive.com/dynamici...sdisplayer.htm)

    What do I tweak (and where) to make a feed display more characters?

    Thank you!
    Use "description" instead of "snippet" For example, where you have something like so:

    Code:
    var socialfeed=new gfeedfetcher("someid", "someclass", "_new")
    socialfeed.addFeed("Slashdot", "http://rss.slashdot.org/Slashdot/slashdot") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("Digg", "http://digg.com/rss/index.xml") //Specify "label" plus URL to RSS feed
    socialfeed.displayoptions("label datetime snippet") //show the specified additional fields
    socialfeed.setentrycontainer("div") //Display each entry as a DIV
    socialfeed.filterfeed(6, "label") //Show 6 entries, sort by label
    socialfeed.init() //Always call this last
    Change that to description. Or if you don't have snippet or description there, add description, or even just snippet. If you want more characters than the snippet but less than the description, that's a little trickier. But I'm pretty sure that can be done. Let me know.
    Last edited by jscheuer1; 12-04-2015 at 02:43 PM. Reason: add answer to previous question
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #16
    Join Date
    Aug 2004
    Posts
    10,120
    Thanks
    3
    Thanked 1,003 Times in 988 Posts
    Blog Entries
    16

    Default

    I think Google basically decided to prolong Google Feed API for a little while longer to give people time to switch over to another service. The sudden outage probably created a lot of angry users, even though technically the API has been retired/ deprecated since April 2015.
    DD Admin

  7. #17
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,973
    Thanks
    67
    Thanked 3,340 Times in 3,301 Posts
    Blog Entries
    12

    Default

    I took a look at Feedzilla. Their service was unavailable as well when I checked yesterday. Server took too long to respond. I would imagine that anyone attempting to provide this service would be facing ever increasing bandwidth demand as well as the occasional, or more frequent legal complaints of content providers who might wish that their feeds only appear in the more traditional manner (as newsfeeds directly to browsers on a client by client basis and/or other more proprietary usages).

    That said, I can think of no other organization besides Google that might be able to stay ahead/on top of all that. So I wonder if maybe their notice isn't just more of a "We're trying, but can't promise anything." than anything else.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #18
    Join Date
    Jul 2016
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I also want to use images in the feed, which is showing now also.
    However i want to edit the size of the images so that it fits in the layout (responsive).

    The first example giving in this topic is hard for me to work it out.



    This is the feed url.
    http://macwork.nl/com/app.php/smartf...=3&s=0&y=2&d=3

    And this is the output url

    http://macwork.nl/com/personal.php

    As you can see the size of the images are the same.

    I use the following code which isn't working of course.
    Code:
    var newsfeed=new gfeedfetcher("example3", "example3class", "_new")
    newsfeed.addFeed("phpbb", "http://macwork.nl/com/app.php/smartfeed/feed?u=2&e=rHAyIJIWKUMDxuY33D6WBVU8l8BGjGHZHDOgYL5YaN7uYkr2uwNQ-YUAr3iAJGNElCselpBvvT2DkEdEk5_Q-A..&l=1&f=4&t=3&s=0&y=2&d=3") //Specify "label" plus URL to RSS feed
    newsfeed.displayoptions("datetime description") //show the specified additional fields
    newsfeed.setentrycontainer("p", "pclass") //Display each entry as a paragraph, and add a "pclass" class to each P
    newsfeed.filterfeed(8, "date") //Show 8 entries, sort by date
    newsfeed.onfeedload = function(){
    	var $ = jQuery, $title = $(this.feedcontainer).find('.titlefield'), mw = $(this.feedcontainer).children().innerWidth() - 5, $p, $r;
    	$.each(this.feeds, function(i, feed){
    		$p = $(feed.content).find('img').eq(0).css({maxWidth: mw, height: 'auto', maxHeight: 25, width: 'auto'});
    		$r = $p.parent('a').length? $p.parent('a') : $p;
    		if($r.length){$title.eq(i).before($('<div class="feedimage"></div>').append($r));}
    	});
    };
    newsfeed.init() //Always call this last
    Any idea how to make it work?


    I do have another small question for the layout.
    I use phpbb forum as soure.
    But i want the layout of the initial title/link to be nicer.


    It's now like this.
    Introduce yourself :: Lorem Ipsum 2 :: Author Ariel

    But i want the it to be more like this like

    Lorem Ipsum 2 (so only topic title)
    by Author Ariel (author on next line)

    Is this easy to change?

  9. #19
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,973
    Thanks
    67
    Thanked 3,340 Times in 3,301 Posts
    Blog Entries
    12

    Default

    I would skip that and just put a style like this:

    Code:
    span.descriptionfield img {
        width: 20%;
        height: auto;
    }
    in the stylesheet for the page. If you want it to be more responsive than that, use media queries to achieve differing styles for the images depending upon the device/window size.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. gAjax RSS Feeds Displayer - Edit Feeds Shown
    By dsol828 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-01-2012, 08:11 PM
  2. gAjax RSS Feeds Displayer - ignore broken feeds?
    By kblm in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-24-2012, 11:18 PM
  3. Replies: 0
    Last Post: 09-05-2011, 10:18 AM
  4. gAjax RSS Feeds Displayer - can't display multiple feeds
    By nsbrown in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-06-2008, 09:40 AM
  5. gAjax RSS Feeds Displayer - display images
    By plimfec in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 11-27-2007, 01:45 PM

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
  •