Store Content in IDOL Server > Index Data > DREADDDATA: Index Data over a Socket > DREADDDATA Examples

DREADDDATA Examples
Example 1
POST /DREADDDATA?&DREDBNAME=News HTTP/1.0\n
Content-Length: 1000\n\n
#DREREFERENCE 392348A0\n
#DREFIELD authorname1="Brown"\n
#DREFIELD authorname2="Edgar"\n
#DREFIELD title="Dr."\n
#DREDATE 1998/08/06\n
#DRETITLE\n
Jurassic Molecules\n
#DRECONTENT\n
Using a technique called test tube evolution, scientists created a nucleic acid enzyme, the first known enzyme that uses an amino acid to start chemical activity. Scientists hope that the creation of this molecule will lead to the elusive precursor. The precursor, by definition, will have to contain both the genetic code for replication and an enzyme to trigger self replication.
#DRETYPE text\n
#DREDBNAME Science\n
#DREENDDOC\n
#DREENDDATAREFERENCE\n\n
Example 2
POST /DREADDDATA?&DREDBNAME=News HTTP/1.0\n
Content-Length: 1000\n\n
#DREREFERENCE 572801A2\n
#DREFIELD author="George Eliot"\n
#DREDATE 2005/24/03\n
#DRETITLE\n
Roses\n
#DRECONTENT\n
You love the roses - so do I. I wish\n
They sky would rain down roses, as they rain\n
From off the shaken bush. Why will it not?\n
Then all the valley would be pink and white\n
And soft to tread on. They would fall as light\n
As feathers, smelling sweet; and it would be\n
Like sleeping and like waking, all at once!\n
#DRETYPE text\n
#DREDBNAME Poetry\n
#DREENDDOC\n
#DREENDDATANOOP\n\n