ASPit - Totally ASP JSit - Totally JavaScript
Search PHPit

Use this textbox to search for articles on PHPit. Seperate keywords with a space.

Advertisements

Screen scraping your way into RSS

(Page 3 out of 3)

In this tutorial I have shown you how to create a RSS feed from a website that does not have a RSS feed themselves yet. Though the regular expression is different for each website, the principle is exactly the same.

One thing I should mention is that you shouldn�t immediately screen scrape a website�s content. E-mail them first about a RSS feed. Who knows, they might set one up themselves, and that would be even better.

View sample script | Download sample script

« Previous: The code



4 Responses to “Screen scraping your way into RSS”

  1. What the? Says:

    When trying to view the code:

    Security Alert! Breach has been logged for review (IP Address: xxx.xxx.xxx.xxx).

  2. Robert M Says:

    I’m getting the same in Firefox.

    Security Alert! Breach has been logged for review (IP Address: xxx.xxx.xxx.xxx).

  3. Jim M Says:

    Viewing the code in Internet Explorer 6 works fine. Thanks for posting this example! :)

  4. rigorouslogik Says:

    The code works great!
    How could I scrape just meta data or links ect into a text file?
    Thanks for any input.

Leave a Reply

About the author
Dennis Pallett is the main contributor to PHPit. He owns several websites, including ASPit and Chill2Music. He is currently still studying.
Article Index
  1. Introduction
  2. The code
  3. Conclusion
Bookmark Article
Download Article
PDF
Download this article as a PDF file