how can one do this with php

Discussion in 'PHP' started by Lukas, Feb 6, 2007.

  1. #1
    well, my website idea is all on 1 site. They did it just like I wanted to.

    anyway, how does one use rss feeds by only displaying the description and then it links to another full article page within your site.
    Normally, it will link to the feed sources page. so , how did they do that.?

    if you want to see the site Pm me.

    thanks.
     
    Lukas, Feb 6, 2007 IP
  2. DeViAnThans3

    DeViAnThans3 Peon

    Messages:
    785
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There are different possibilities how they did that. One possibility is that they extracted the full article from the feed sources page, with a quite advanced regular expression. That could be done in 2 ways: or with cURL, or with fsockopen().
    Another possibility is that there also is some feed (second feed) which has the full article into it, however I doubt if this second possibility is used on the site You are referring to.

    There might also be other possibilities, which I'm not familiar with. :)
    Just my few cents :)
     
    DeViAnThans3, Feb 7, 2007 IP