Jump to content
Server Maintenance This Week. ×

Scrub found HTML


This topic is 4750 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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 I'm 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?

Link to comment
Share on other sites

This topic is 4750 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.