Hi Monks.
I have used the LWP::UserAgent to retrieve a web page (something I do a lot that usually works). This time, however, when printing the web page
(http://www.keynote.co.uk/kn2k1/CnIsapi.dll?nuni=98781&usr=11402srv=04
+&alias=kn2k1&uni=1147832502&fld=S&S_type=search&db=KEYNOTE&search_0=c
+ats&Field0=AT&OpList_0=AND&search_99=KN&Field99=C4&OpList_99=AND&NoAu
+toAnd=1)
this is what I got:
<!--Copyright 2002 Clarinet Systems Ltd.-->^M
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">^M
<html><head><title>Welcome to Key Note.co.uk</title>^M
<META HTTP-EQUIV="Expires" CONTENT="Mon, 12 Jul 1999 17:45:00 GMT">^M
^M
</head>^M
<frameset border="-2" framespacing="-2" cols="190,*">^M
<frame noresize noresize name="side" src="/kn2k1/\11402_04\FRM4123\
+SUMMARY.FRM\side.HTM" scrolling="auto">^M
<frame noresize noresize name="main" src="/kn2k1/\11402_04\FRM4123\
+SUMMARY.FRM\main.HTM" scrolling="auto">^M
<noframes>^M
<body bgcolor="#FFFFFF">^M
<p><b>This web page uses frames, but your browser doesn't support th
+em.</b></p>^M
</body>^M
</noframes>^M
</frameset>^M
^M
</html>^M
I used FireFox to view the source code, and found it possible to view the frame I needed (with all the info I wanted).
Does anyone know how I can get frame source code from the LWP::UserAgent?
thanks in advance,
Guy Naamati
Edit: g0n - code tags
Thanks for the help, it now works just fine
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.