/volume1/video/EPG/epgconrex.xml
'description'\n'actor'
The result is the existing 'description' , followed by, on a newline, the actor(s) separated by the standard WG++ element separator | .
The result:
This is the original description.
Michael Douglas|Kim Basinger
You probably don't like the | as separator between the actors, so you specify anther separator like this:
'description'\n'actor(, )'
The result:
This is the original description.
Michael Douglas, Kim Basinger
You can make this prettier by adding some text to the actors addition:
'description'\nActors: 'actor(, )'.
The result:
This is the original description.
Actors: Michael Douglas, Kim Basinger.
A small problem: Suppose the source xmltv show doesn't have any actors, then the result would be not so pretty:
This is the original description.
Actors: .
To avoid that, the added text can be linked to the element it must be added to, like this:
'description'{\nActors: 'actor(, )'.}
Result with actors:
This is the original description.
Actors: Michael Douglas, Kim Basinger.
And without actors:
This is the original description.
An example with some more elements:
'description'{\n\tYear of production: 'productiondate'.}{\n\tProducer: 'producer(, )'.}{\n\tActors: 'actor(, )'.}
Result:
This is the original description.
Year of production: 2002.
Producer: Steven Spielberg.
Actors: Michael Douglas, Kim Basinger.
And another one:
{Episode: 'episode'\t}'subtitle'
Result:
Episode: 3.2/12.1 The original subtitle
You can also remove elements (but not the title!) from the xmltv listing by specifying an empty element, like this:
This will remove all elements
And this:
Will remove the element, including all its child elements like , etc. ]]>
. The individual values will be listed with a (standard WG++ internal element separator) | as separator unless another separator is specified as follows:
'element-name(separator-string)' e.g. 'actor(, )'
- text and element-names can be linked together by enclosing them by {}. This will ensure that, when the element in it is empty, everything between the {} is ignored. E.g. {\nProduced in : ('productiondate')}
- the text in the xmltv-target elements may contain the following simple formatting :
- \n or \r to force a newline
- \t to add a tab
2. The allowed xmltv-target elements (the ones in the target file specified above) are :
= the xmltv element name containing the productiondate
(=optional new xmltv element)
e.g to add /substitute the (additional?) mdb-director
e.g to add /substitute the (additional?) mdb-actor
- IMPORTANT! : any of the above listed xmltv-target elements that is specified in this allocation specification, replaces the existing xmltv element and its content!
3. Supported element-names (from the existing xmltv listing, name definitions as in Appendix D) :
- 'title' 'description' 'starrating' 'subtitle' 'productiondate' 'category' 'director' 'actor' 'presenter' 'writer' 'composer' 'producer' 'rating' 'episode' 'review' 'subtitles' 'premiere' 'previously-shown' 'aspect' 'quality'
4. Also supported are the additional elements created by the MDB-postprocessor.
- Important : This MDB-postprocessor automatically makes use of this REX-postprocessor. In that case the REX-postprocessor uses the allocation specification from the MDB config file mdb.config.xml and ignores the specification entered here.
- 'mdb-title'
(if used in the xmltv-target element it will only be added if different from the existing xmltv title, see for more details mdb.config.xml)
- 'mdb-starrating' 'mdb-description' 'mdb-plot' 'mdb-commentsummary' 'mdb-review'
5. Attributes (might need completion)
- for each of the xmltv-elements the following attribute can be specified
(if not specified, the existing one, if present in the xmltv, will be used) :
- lang for and , default : no attribute
- system for , default : no attribute
- type for , default: type="text"]]>
{'title'}
{'title'}
{'subtitle' }{'episode' }{| 'productiondate' }{| en'rating' }{| en'starrating'}
{[COLOR goldenrod]'subtitle'[/COLOR] }{[COLOR tomato]'episode'[/COLOR] }{| [COLOR cadetblue]'productiondate'[/COLOR] }{| es'rating' }{| [COLOR gold]es'starrating'[/COLOR]}
{'description'\n\n}{Valoración: 'starrating' }{de 'composer' votos\n}{Pais: 'country(, )'. }{Año: 'productiondate' }{Calificación: ess'rating' }{\nPresenta: 'presenter(, )'.}{\nDirector: 'director(, )'. }{\nReparto: 'actor(, )'.}{\nGuionista: 'writer(, )'. }{\nProductor: 'producer(, )'.}
{'description'\n\n}{[COLOR teal]Valoración:[/COLOR] 'starrating' }{de 'composer' votos\n}{[COLOR teal]Pais:[/COLOR] 'country(, )'. }{[COLOR teal]Año:[/COLOR] 'productiondate' }{[COLOR teal]Calificación:[/COLOR] ess'rating' }{\n[COLOR teal]Presenta:[/COLOR] 'presenter(, )'.}{\n[COLOR teal]Director:[/COLOR] 'director(, )'. }{\n[COLOR teal]Reparto:[/COLOR] 'actor(, )'.}{\n[COLOR teal]Guionista:[/COLOR] 'writer(, )'. }{\n[COLOR teal]Productor:[/COLOR] 'producer(, )'.}