1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to determine "AJAX" updates of webpages?

Discussion in 'Visual Basic .NET' started by jangedoo, Oct 19, 2010.

  1. jangedoo

    jangedoo Registered Member

    Joined:
    Jan 12, 2010
    Messages:
    59
    Likes Received:
    41
    I'm making a bot that automatically posts on wordpress blogs but i'm not able to figure out how to monitor AJAX or whatever changes in webpages???

    Ok heres the scenario:
    I wanted the software to post content on the Wordpress blog using Quick Press feature but it cannot find out whether the post has been published or not.
    I tried to monitor it by seeting up a new thread that constantly analyses currently loaded page but with no sucess.

    Can anyone help?
     
  2. smack

    smack Junior Member

    Joined:
    Feb 1, 2010
    Messages:
    182
    Likes Received:
    78
    Occupation:
    Software Engineer/Evil Genius
    Location:
    inside .NET
    constantly analyzes it how?

    most of the time you can tell if your request was a success based on the response from the remote server. if that isn't good enough just reload the page and see if your post showed up.
     
  3. prometheussoft

    prometheussoft Newbie

    Joined:
    Jun 29, 2010
    Messages:
    41
    Likes Received:
    41
    Occupation:
    DBA
    Location:
    Kailua, HI
    Home Page:
    AJAX, being javascript is a client side function. You shoudl be able to easily tell when the script has finished running. If you show us some of your code it might be easier to help you.
     
  4. fletcherhook

    fletcherhook Registered Member

    Joined:
    Aug 16, 2010
    Messages:
    56
    Likes Received:
    0
    Occupation:
    web designer/SEO
    Home Page:
    too many AJAX script man you need to see the code first in the html before you detremine that is a AJAX.
     
  5. prometheussoft

    prometheussoft Newbie

    Joined:
    Jun 29, 2010
    Messages:
    41
    Likes Received:
    41
    Occupation:
    DBA
    Location:
    Kailua, HI
    Home Page:
    I agree with fletcher but I'd venture to say if its a .net site its probably ajax
     
    • Thanks Thanks x 1