Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: CGI Script for Reading Newest Nodes

by epoptai (Curate)
on Jun 14, 2001 at 07:57 UTC ( #88287=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub UTF8_latin1
    { # UTF-8 to latin1 regex from XML::TiePYX (thanks to mirod)
    ...
     }ge;
    return $text;
    }
    
  2. or download this
    foreach my $node (@$nodes) {
            $node->{cdata} = UTF8_latin1($node->{cdata}); # ADDED
    ...
            $node_text .= (' ' x 2) . $q->small(" by $author") if $SH
    +OW_AUTHOR;
            print $node_text;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-12-19 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls