Results 1 to 2 of 2

Thread: gAjax RSS Feeds Displayer

  1. #1
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default gAjax RSS Feeds Displayer

    1) Script Title: gAjax RSS Feeds Displayer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...sdisplayer.htm

    3) Describe problem: Is there anyway you can update this script to display the 'Author' please?

    Yours Roy

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Use this update (right click and 'Save As'):

    gfeedfetcher.js

    Now when you set the instance.displayoptions for a feed, you may use the 'author' keyword if desired, example:

    Code:
    <script type="text/javascript">
    
    var socialfeed=new gfeedfetcher("example2", "example2class", "_new")
    socialfeed.addFeed("Slashdot", "http://rss.slashdot.org/Slashdot/slashdot") //Specify "label" plus URL to RSS feed
    socialfeed.displayoptions("label datetime snippet author") //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
    
    </script>
    Be aware that many feed items have no author. If you specify author and there is none for a particular item, the script will check in order to see if there's:

    a copyright for the item
    an author for the feed
    a copyright for the feed

    and display that if found. If it still cannot find one, it will come back as 'unavailable'.

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    Last edited by jscheuer1; 09-10-2012 at 01:32 AM. Reason: detail
    - 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, 07: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, 10:18 PM
  3. Replies: 0
    Last Post: 09-05-2011, 09: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, 08:40 AM
  5. gAjax RSS Feeds Displayer: Feeds with no publishedDate
    By mfreeman in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-30-2008, 07:56 AM

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
  •