Adding RSS feed to simple PHP page?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gleem
    Confirmed User
    • Jun 2001
    • 5593

    #1

    Adding RSS feed to simple PHP page?

    anyone know of any good articles on how to add an RSS feed to a php page as an include? Can't seem to find good articles on it, and all google pulls up is RSS feed parser services that add links back to them in the feed with ads.




    Contact me: \\// E: webmaster /at/ unprofessional.com
  • GrouchyAdmin
    Now choke yourself!
    • Apr 2006
    • 12085

    #2
    [overstrike]If you have the title, content, etc as a variable, then it's easy. Encapsulate that in RSS compatible tags. Otherwise, you're going to have to parse it; regex is your friend for that.

    If you're using a DB I could probably whip you up a solution for a few bucks. I recently implemented RSS 2.0 for SBL.[/overstrike]

    I parsed you backwards. If you want to include RSS in your content, you're going to have to be able to read the feed, parse it, then convert it back to HTML.
    Last edited by GrouchyAdmin; 09-09-2006, 10:48 AM.

    Comment

    • devilspost
      Confirmed User
      • Feb 2004
      • 3980

      #3
      http://www.makemoneywithporn.com/rss-feeds.html

      Brothels and Escorts Worldwide.

      Comment

      • viki
        Confirmed User
        • Jan 2005
        • 2640

        #4
        I use MagpieRSS for that - download/view instructions here: http://magpierss.sourceforge.net/

        viki [at] realsexcash [dot] com
        228 263 454

        Comment

        • gleem
          Confirmed User
          • Jun 2001
          • 5593

          #5
          Originally posted by viki
          I use MagpieRSS for that - download/view instructions here: http://magpierss.sourceforge.net/

          I couldn't get it to parse a google RSS feed, so I deleted it.




          Contact me: \\// E: webmaster /at/ unprofessional.com

          Comment

          • garce
            Confirmed User
            • Oct 2001
            • 7103

            #6
            Have a look at RSS2HTML

            Comment

            • Zarathustra
              Confirmed User
              • Oct 2005
              • 1094

              #7
              why not use simplepie?

              Comment

              • martinsc
                Too lazy to set a custom title
                • Jun 2005
                • 27047

                #8
                Originally posted by garce
                Have a look at RSS2HTML
                Make Money

                Comment

                Working...