Add new serializer for the data send by Orpheo. We receive XML so we parse it to json. Then we parse some html to get the proper data of each attribute.
Add xmlToJson parser module to requirements.txt
.slide {
margin-top: -20px;
}
.slide-title,
.slide-nav,
.slide-content {
border-bottom:1px solid grey;
}
.slide-nav{
padding:10px 0;
display: inline-block;
width: 100%;
}
.slide-content{
padding:10px 0;
height: 524px;
}
.media{
border-right:1px solid grey;
height: 100%
}
.media img,
.media video{
max-height: 100%;
max-width: 100%;
display: block;
margin: auto;
}
.caption {
color: #000;
position: static;
text-shadow: none;
text-align: left;
overflow: scroll;
height: 100%
}
.original-text {
font-style: italic;
}
.user-details textarea.form-control {
height: 140px;
margin: 10px 0;
}
.user-details input.form-control{
margin: 10px 0;
}
#back{
float:left;
margin: 0 10px;
}
#previous,
#next{
float:right;
margin: 0 10px;
}
.user-details p,
.user-details h4{
border: 1px solid #ededed;
min-height: 21px;
padding: 6px 12px;
border-radius: 4px;
}
.user-details p.description{
min-height: 140px;
}