Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: How to get raw node content

by roboticus (Chancellor)
on Sep 15, 2017 at 21:02 UTC ( [id://1199483]=note: print w/replies, xml ) Need Help??


in reply to Re: How to get raw node content
in thread How to get raw node content

huck:

Thanks, but that still has the HTML entities encoding and bracket ([ ]) munging.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^3: How to get raw node content
by karlgoethebier (Abbot) on Sep 16, 2017 at 14:38 UTC

    How raw can we get?

    lynx -dump http://perlmonks.org > dump.txt

    Lynx?

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

      I think you are missing the point, compare the data inside the xml link with the produced html.

      For instance you can see find* the original line breaks and indentation in the raw form if a poster forgets surrounding code tags

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

      *) The xml view inside FF doesn't display the (included) line-breaks, but if one's copy the content to an editor it becomes visible again.

        "... missing the point..."

        Ah, OK. Thanks Lanx. Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

        perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-16 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found