How would I go about formatting an xml feed onto a php page?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #1

    How would I go about formatting an xml feed onto a php page?

    I want to take a rss feed, like this http://rss.news.yahoo.com/rss/topstories

    and have it translate onto a php page....any idea how to do this?
  • newbreed
    Confirmed User
    • Nov 2003
    • 9898

    #2
    Dude I can't believe you don't know how to do this.

    format c:

    Duh.

    PS - I have no idea how to do it either so here is a bump.

    Loryn ‎(3:16 PM):
    I love it, just as long as we keep the bedroom door closed from all ears then we can have throw down hard core sex that makes us money haha
    fuck it we can have sex on money never did that before

    Comment

    • Jace
      FBOP Class Of 2013
      • Jan 2004
      • 35562

      #3
      Originally posted by newbreed
      Dude I can't believe you don't know how to do this.

      format c:

      Duh.

      PS - I have no idea how to do it either so here is a bump.
      hahahaha, you fag

      Comment

      • Jace
        FBOP Class Of 2013
        • Jan 2004
        • 35562

        #4
        wonder where chio is, he knows all about this shit

        Comment

        • beta-tester
          Rock 'n Roll Baby!
          • Sep 2004
          • 22562

          #5
          good question...I would like to know how to do that, too.

          So, here's one bump for you.

          Sig for sale. Affordable prices. Contact me and get a great deal ;)

          My contact:
          ICQ: 944-320-46
          e-mail: manca {AT} HotFreeSex4All.com

          Comment

          • who
            So Fucking Banned
            • Aug 2003
            • 19593

            #6
            You could ask me politely on ICQ if you want

            Comment

            • Jace
              FBOP Class Of 2013
              • Jan 2004
              • 35562

              #7
              WOO HOO

              got it

              go to http://www.rssfeedreader.com/ and sign up (free)

              and fill in all the info you want to be there, including the feed url, and it spits out something that looks about liek this:

              Code:
              <?php
              $olderror_reporting =error_reporting(0);
              include ("http://www.rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fwww.ainews.com%2Fnewsfeed%2FAINewsFP.rss&newpage=1&chead=&atl=&desc=1&owncss=&eleminate=&auth=1&dts=1&width=745&max=15&tlen=0&rnd=1&bt=3&bs=None&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=1&lc=&dlttime=0&bg=%23ff96d9&bc=BLUE&spc=&ims=&tc=BLACK&ts=10&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
              error_reporting($olderror_reporting);
              ?>
              and there it is, an rss feed pusblished on my php pages

              Comment

              • 2HousePlague
                CURATOR
                • Jul 2004
                • 14572

                #8
                Also...


                <?php
                include 'http://yoursite.com/rss2html.php?XMLFILE=http://RSSfeedURL&TEMPLATE=http://templateURL&MAXITEMS=20'; ?>


                Because you supply the template, it gives a lot of control over how it looks.

                For example: http://profitlabinc.com


                2hp
                Last edited by 2HousePlague; 02-02-2006, 03:01 AM.
                tada!

                Comment

                • Jace
                  FBOP Class Of 2013
                  • Jan 2004
                  • 35562

                  #9
                  Originally posted by 2HousePlague
                  Also...


                  <?php
                  include 'http://yoursite.com/rss2html.php?XMLFILE=http://RSSfeedURL&TEMPLATE=http://templateURL&MAXITEMS=20'; ?>


                  Because you supply the template, it gives a lot of control over how it looks.

                  For example: http://profitlabinc.com


                  2hp
                  yeah, I saw that, but I didn't see a thing that said I could use more than one news feed per page....I have 10 news feeds that I am putting on one single page

                  edit: nevermind, I guess since it is an include I can do as many as I would need

                  oh well, this works for now

                  Comment

                  • 2HousePlague
                    CURATOR
                    • Jul 2004
                    • 14572

                    #10
                    Sure you can. You can drop as many of those SSI lines on a page as you like, and RSS2HTML has a concatenate feature that lets you bring multiple feeds into one template.





                    2hp
                    tada!

                    Comment

                    • 2HousePlague
                      CURATOR
                      • Jul 2004
                      • 14572

                      #11
                      More useful RSS display tools and ideas:

                      http://www.rss-specifications.com/display-rss.htm




                      2hp
                      tada!

                      Comment

                      • devilspost
                        Confirmed User
                        • Feb 2004
                        • 3980

                        #12
                        Check out the tutorial I have to see if you can use it.

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

                        Brothels and Escorts Worldwide.

                        Comment

                        • beta-tester
                          Rock 'n Roll Baby!
                          • Sep 2004
                          • 22562

                          #13
                          Thanks for great info guys

                          Sig for sale. Affordable prices. Contact me and get a great deal ;)

                          My contact:
                          ICQ: 944-320-46
                          e-mail: manca {AT} HotFreeSex4All.com

                          Comment

                          Working...