/[webpac2]/trunk/conf/mungle/perlmonks-xml.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/conf/mungle/perlmonks-xml.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1001 - (show annotations)
Sun Nov 4 17:27:14 2007 UTC (16 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 318 byte(s)
 r1542@llin:  dpavlin | 2007-11-04 18:24:56 +0100
 quick
 
 $ ./run.pl --only perl --offset 600 --limit 1 --debug
 
 to add another field to output

1 # special mungle file which prepare data_structure from XML
2
3 my $h = get_ds->{node};
4 #warn "## hash to work on = ",dump( $h );
5
6 set_ds(
7 Node_ID => $h->{id},
8 Title => $h->{title},
9 Author => $h->{author}->{content},
10 Date => $h->{created},
11 Content => $h->{doctext}->{content},
12 Type => $h->{type}->{content},
13 );
14
15

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26