English > Scripts and Templates

Show database on Android

<< < (4/4)

ssadoff:
Nevermind - I created the following template that works well
%OPTIONS%
replace="<<->&lt;"
replace="><->&gt;"
replace=""<->&#34;"
replace="'<->&#39;"
replace="Á<->&#193;"
replace="é<->&#233;"
replace="&<->&amp;"
filter="XML Files|*.xml"
encoding="UTF8"
imagepath="images\"
%OPTIONS%
%HEAD%<?xml version="1.0" encoding="windows-1252"?>
<AntMovieCatalog Format="42" Version="4.2.0 (2014-04-20)" Date="{%value=231} {%value=232}">
 <Catalog>
  <Properties/>
  <Contents>
%HEAD%<Movie Number="{%value=num}"
Checked="True" ColorTag="0"
OriginalTitle="{%value=origtitle}"
FormattedTitle="{%value=title}"
Director="{%value=directors}"
Actors="{%value=actors}"
Producer="{%value=producers}"
Composer="{%value=composers}"
Writer="{%value=writers}"
Country="{%value=country}"
Year="{%value=year}"
Description="{%value=description}"
Comments="{%value=comment}"
Category="{%value=genre}"
URL="{%value=url}"
Date="{#StringReplace '{#ExtractFilePath {#StringReplace '{#StringReplace '{#StringReplace '{#StringReplace '{%value=dateadded}' ':' ''}:\i.txt' ' AM:\i.txt' ''}' ' PM:\i.txt' ''}' ' ' ':\'}}' ':\' ''}"
DateWatched="{%value=viewdate}"
Rating="{%value=imdbrating}"
Length="{%value=length}"
Subtitles="{%value=subs}"
MediaLabel="{%value=medialabel}"
MediaType="{%value=type}"
Languages="{%value=langs}"
Resolution="{%value=resolution}"
Framerate="{%value=framerate}"
VideoFormat="{%value=videocodec}"
VideoBitrate="{%value=videobitrate}"
AudioFormat="{%value=audiocodec}"
AudioBitrate="{%value=audiobitrate}"
Size="{%value=size}"
Picture="{%value=poster}"
/>
%FOOT%
  </Contents>
 </Catalog>
</AntMovieCatalog>
%FOOT%

svenne:
Since it was asked by rick some time ago...
http://www.videodb.info/forum_en/index.php/topic,2328.msg12254.html#msg12254

Dolphin browser (which became more or less the standard browser for android) now can handle iframes. So the HTML frames template works fine with that, now.

Navigation

[0] Message Index

[*] Previous page

Go to full version