What code do i use to put this feed on my website

Discussion in 'XML & RSS' started by TheSyndicate, Sep 27, 2006.

  1. #1
    TheSyndicate, Sep 27, 2006 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    you use a software like zFeeder
    http://sourceforge.net/project/showfiles.php?group_id=84348
    to cache each RSS feed on your server
    adapt the CSS and template you want to use to your own site's style and needs
    and then insert the code you get from your zfeeder documentation

    its a simple PHP include code line that you insert at the exact location of template or page where you want the feed to be displayed

    never pull a feed life into each page else you create huge stress on source-site of feed if each user pulls full feed

    cache from zfeeder can be configured for any TTL - usually 2-3 hrs TTL may be plenty depending on how often feed is updated
     
    hans, Sep 27, 2006 IP
  3. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,410
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #3
    Ok i will check that i let you know how it goes :) I can use my shared server for this?
     
    TheSyndicate, Sep 27, 2006 IP
  4. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,410
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #4
    Does anyone have a script that does not give a link to script like a PHP Script?

    Have anyone used this script and know if i can set it to show more text in every feed? I can not find the settings for that
     
    TheSyndicate, Oct 4, 2006 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    i fail to understand the first part of your question "...a script that does not give a link to script like a PHP Script? .."

    if you look at the examples on my page Philippine business news

    there are a few default links in every such SSI feed
    these are
    feed-URL
    feed-homepage ( NOT website home but feed home - for those sites having many sections with each one a feed )
    URL to the actual article mentioned in a feed
    and in mRSS feeds sometimes links inside feed text

    the template you use to display via SSI a feed allows you to remove any of these links

    however

    when you insert foreign/remote feeds it is a quesiton of honesty to leave the URL to the feed as well as the feed-homepage and article itself in exchange for using the value service for free.

    if you insert your own feed you also would want to leave all such links as croiss-reference within your site
    however you may make the anchor-text smaller fonts if you wish
    also the overall layout can be modified in ANY/ALL possilbe ways using CSS and/or template modifications

    as to the amount of text displayed for each feed

    the amount of text in a feed entirely depends on the author of the particular feed / item
    some feeds have title only and no additional description
    while other feeds have title PLUS a shorter or longer description / summary of each particular item.
    some have pictures others pure text only

    if you want to use a script for remote AND own feeds
    then you definitely want to use a NON-javascript version - hence SSI perl or PHP because you will want the links created by a feed to become firm part of your pages to be SEO effective!!!
     
    hans, Oct 4, 2006 IP
    TheSyndicate likes this.
  6. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,410
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #6
    Thanks for the answer. You answer number 1 as well :) I am using the script above.

    Green coming you way :D
     
    TheSyndicate, Oct 4, 2006 IP
  7. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,410
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #7
    TheSyndicate, Oct 9, 2006 IP