Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by ajt (Prior)
on May 29, 2009 at 08:16 UTC ( #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


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-09-02 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls