Results 1 to 4 of 4

Thread: Dynamic Ajax Content

  1. #1
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem: I was wondering if the script can be easily modified so that the text link can load another site page, ie
    <li><a href="javascript:ajaxpage('http://mysite.com','content');">My Site</a></li>

    It works great loading my server pages but would like to load some external server pages.

    Thanks in advance

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You're talking possible copyright infringement there. It could make the other site's content look as though it were your own. And on another front, browser security prevents cross domain AJAX calls. That's to prevent making one site look like another in order to get personal information from users.

    This is not to say that something can't be worked out. But it's certainly more complicated than a same domain AJAX call. And since we cannot be sure the net effect wouldn't present a copyright and/or security violation, we are not allowed to help you here. It's against forum rules.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default query

    Hi John,
    So what is the difference from getting a external webpage to show on my site from a common ahref text link on a page. What I am trying to do is be able to put external content into a div by clicking a text or button link, say I want to have a side bar navigation that links to a rss feed or a website news page and I want it to show in a div on my page. The Dynamic Ajax Content script will take any page form my server and show it but external href pages won't display. Is this still infringement and if not can it be done?
    Steve

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    For a feed, you can use any of the many and various scripts available for that purpose. You cannot take another sites content though - say a page, and show it in a division on your own site. That could be plagiarism. But I'm not here to judge that, only to say that because I cannot I'm not allowed to help you with it as per forum rules. Also though, as I said before, browsers won't allow it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •