• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Any way to examine text as a browser presents it?

I am trying to figure out if there is a way to examine a web page as the browser presents it. I want to be able to parse just the text that is visible on a web page when it is published to the browser.  Anyone know of a way to do this?

Thanks,
David
0
David Aldridge
Asked:
David Aldridge
  • 3
  • 3
1 Solution
 
FishMongerCommented:
Take a look at HTML::Parser
0
 
David AldridgeAuthor Commented:
I've been looking at that one along with HTML::Tree, but none of them seem to want to do what I need.
0
 
FishMongerCommented:
You need to provide more info on what you want to accomplish.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
David AldridgeAuthor Commented:
I was afraid I might not have been clear.  I'm sorry about that.  What I usually do in this situation is use LWP to dump the code into an array or variable.  I then parse the code for whatever I want.  I've got a situation now (and it may be because of poor coding on the html side) where I have several pages I need to check for links and coresponding fields which indicate a queue is filling up.  The problem is, in the raw html code, there are SEVERAL references to a single link and I only want the ones with the different queues associated with them.  This looks even more confusing.  Let me see if I can get a screen shot of the page and highlight what I want to capture, and post an example of the html code.  The problem there is the code is very extensive.  Anyway, let me see what I can do to clear this question up. Thanks in advance for your help.  I'll bump this up to a 500 pointer.  It's not going to be as easy as I thought.
0
 
David AldridgeAuthor Commented:
I was able to work out a solution which is ALMOST what I need, but it will work with the HTML::ListScraper.  Thanks for pointing me in the right direction!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now