Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: How to get raw node content

by roboticus (Chancellor)
on Sep 15, 2017 at 21:02 UTC ( #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 (Prior) 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
Node Status?
node history
Node Type: note [id://1199483]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-10-24 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (286 votes). Check out past polls.

    Notices?