4 Replies Latest reply on May 1, 2011 3:44 PM by manovasilakis

    Scrub HTML from web viewer app

    manovasilakis

      Title

      Scrub HTML from web viewer app

      Post

      I want to get a certain block of text from a website.

      for  instance on this website:

      http://www.crossfit.com/mt-archive2/007600.html

      i  would like to extract this part of the text:

      Complete as many  rounds in 20 minutes as you can of:
      15 ft Rope Climb, 1 ascent
      Run 400 meters
      Max rep Handstand push-up

      Every day the WOD (workout  of the day) changes and i would like to navigate to the page with the WOD I plan to use and set up a button to click to quickly copy and paste the WOD to the WOD field .

      So far my understanding is that I  will need to create a seperate field and copy the html to it via  GetLayoutObjectAttribute ( "ViewerObjectName" ; "Content" ) (which im not so sure i get in usage anyway so help there would be great also.)

      but  then how do i scrub the part i want from the html?