Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[LanX]: cho: your joke has very limited impact on a non German+Czech speaking board ... we need to create one and invite Lichtkind and "Peta...Monk"

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-03-27 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.