Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to get xml page source if url is given

by ajt (Prior)
on May 29, 2009 at 08:16 UTC ( [id://766825]=note: print w/replies, xml ) Need Help??


in reply to How to get xml page source if url is given

You can use any number of HTTP clients to get a URI, wget, curl, GET (from LWP) from the Linux command line. Within a Perl program, as others have said there are also a range of HTTP clients, LWP being the most obvious.

However your question suggests you want the XML source of a page before it is turned into a (X)HTML page. That is more complex as the transformation usually takes place at the server side and you may or may not be able to gain access to that depending on how the server is configured.


--
ajt

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://766825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-19 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found