SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot zompus's Avatar
    Join Date
    May 2006
    Location
    England
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scraping an iFrame's website

    Right, so i've got an iframe on my website which is showing another website inside it, what im trying to do is using that iframe scrap some text from it.

    Is this possible? How can it be done? Any tutorials?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,875
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    You would need server side processing to do it because Javascript cannot access info from other domains.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •