A team at the Universidad Politécnica de Madrid has set up an interactive map of Spanish shrines. Clicking on the individual placemarks gives details of the shrine, history, legend and any pilgrimage. Spanish only, by the looks of it. This is also available as a web service, so you can use the data on your own webpages.
http://mapas.topografia.upm.es/santuarios/
http://mapas.topografia.upm.es/santuarios/