RSS needed please help

Discussion in 'XML & RSS' started by Blasingame, Sep 4, 2006.

  1. #1
    I have a nice site and figuered it out that no one will ever see it if I don't have RSS. So where do I start... I looked at MagpieRSS and i'm sure it's simple to install however i have read everything I thought i need to know and still have no Idea how to get this think to work for me

    Help
     
    Blasingame, Sep 4, 2006 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,830
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #2
    sarahk, Sep 4, 2006 IP
  3. Blasingame

    Blasingame Peon

    Messages:
    761
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Red part are not understood
    1. Visit the Magpie site and download the latest version of the files.
    2. Unzip the files on your local file system. They come with some examples which may be good to have a play with, but you actually only need to upload these into a “magpie” directory
      • rss_cache.inc
      • rss_fetch.inc
      • rss_parse.inc
      • rss_utils.inc
      • extlib/Snoopy.class.inc
    3. Now, decide which page you want to add the feed to and open the appropriate file in your favourite editor (mine is Zend).
    4. Now you just have to add these lines to the file, save and upload!
      define(’MAGPIE_DIR’, ‘magpie/’);
      require_once(MAGPIE_DIR.’rss_fetch.inc’); 
      $rss = fetch_rss( ‘http://www.propertyinvestor.info/articles/feed/’ );
      $items = array_slice($rss->items, 0, 5);
      
      $output = “
      {$item[’title’]} “;
      }
      echo ‘
      ‘.$output;
      PHP:
    #3 Does that mean that if i want it to show feeds for a particular page?
    Like maybe a second page I have on my blog?

    #4 What file?
    How do i know what my feed url is?

    I really don't the page received this fron has loaded right?
     
    Blasingame, Sep 4, 2006 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,830
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #4
    3 - yes, it's referring to the page on your site

    4 - will you be displaying your own feed? it depends on the site. Try http://www.itamer.com/feed/ for an example.
     
    sarahk, Sep 4, 2006 IP
  5. Blasingame

    Blasingame Peon

    Messages:
    761
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What page I have a few pages that i would like to add to a single Rss Feed.. And i did see in the exampl how there were several different URL however is this only like this cause they are posted on the front page?

    i think I just confused myself... go figure
     
    Blasingame, Sep 4, 2006 IP