was it portrayed in any novel?
Yes, it was featured in the novel "Jurassic Park"
Dilophosaurus
"Dilophosaurus" was featured in the 1990 novel "Jurassic Park", by the writer Michael Crichton, 
what is the spitting dinosaur in jurassic park "Dilophosaurus" when was it discovered? 1940 by whom? Navajo Jesse Williams what are it's features? Slender and lightly built, its size was comparable to that of a brown bear. how does it move? They found that "Dilophosaurus" would have been able to draw its humerus backwards until it was almost parallel with the scapula, but could not move it forwards to a more than vertical orientation. The elbow could approach full extension and flexion at a right angle, but not achieve it completely. what does it feed on? They are known to have eaten fish, and gharials, which is the modern crocodile that eats the most fish. what is it classified into? Gregory S. Paul classified the halticosaurs as a subfamily of the family Coelophysidae, and suggested that "Dilophosaurus" could have been a direct descendant of "Coelophysis".
wiki:1878810
Dilophosaurus [SEP] Cultural significance
"Dilophosaurus" was featured in the 1990 novel "Jurassic Park", by the writer Michael Crichton, and its 1993 movie adaptation by the director Steven Spielberg. The "Dilophosaurus" of "Jurassic Park" was acknowledged as the "only serious departure from scientific veracity" in the movie's making-of book, and as the "most fictionalized" of the movie's dinosaurs in a book about Stan Winston Studios, which created the animatronics effects. For the novel, Crichton invented the dinosaur's ability to spit venom (explaining how it was able to kill prey, in spite of its seemingly weak jaws). The art department added another feature, a cowl folded against its neck that expanded and vibrated as the animal prepared to attack, similar to that of the frill-necked lizard.