Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Personal Nodelet Maintenance

by Coruscate (Sexton)
on Dec 05, 2003 at 06:44 UTC ( #312447=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Personal Nodelet Maintenance
in thread Personal Nodelet Maintenance

it cannot be accessed by programs if it is marked as 'not public', even if you provide your login and want to access your scratchpad.

Wanna bet? :) (replace 'xxxxxx' in below code with your homenode id)

use LWP::Simple; use XML::Simple; my $home_id = 'xxxxxx'; my $f = XMLin(get '' . $home_id . '&displaytype=xml' ); print $f->{data}{field}{scratchpad}{content};

Update, moments after posting this reply: I am too tired. My eyes read "it cannot be accessed by programs even if it is marked as 'not public'". I still maintain that you can get the scratchpad contents of a non-public scratchpad. Simply parse the textarea from the edit user information page. Also, why do you mention that as a bad side effect of scratchpads? You can't access the personal nodelet in any special outside manner either...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2021-01-19 14:51 GMT
Find Nodes?
    Voting Booth?