Thread: read the DOM from another url - domain policies issues

  1. #1
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694

    read the DOM from another url - domain policies issues

    I have a page and from this page, I want to access another page (which is actually mine too, but they are different domains). I tried several methods, but I got errors, because I am trying to access a different domain I guess...

    How can I overcome or bypass this issue?

    What I want to do:
    From the personal page of my uni, I want to access a specific url I have in my blog (this one), parse the DOM and actually read the results of the matches played on a selected month. Then, back on the page of my uni, I want to process these data.
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    The solution came from the chat of facebook... I am going to use YQL and JSON
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Domain name from URL
    By kmachstang in forum C Programming
    Replies: 6
    Last Post: 11-17-2010, 01:08 PM
  2. One of those nasty file read/write issues
    By CodeMonkey in forum C++ Programming
    Replies: 5
    Last Post: 12-21-2006, 05:20 PM