Reply to thread

Okay i´ll try:


[CODE]    <retrieve name="links_page_com" url="http://www.cinefacts.de/kino/film/${movie.site_id}/${movie.title}/externe_links.html"/>

     <parse name="imdb_com" input="${links_page_com}" regex="${rx_imdb_com}"/>

      <if test="${imdb_com[0][0]!=">

       <set name="movie.imdb_id" value="${imdb_com[0][0]}"/>

      </if>[/CODE]


[CODE]    <retrieve name="links_page_de" url="http://www.cinefacts.de/kino/film/${movie.site_id}/${movie.title}/externe_links.html"/>

     <parse name="imdb_de" input="${links_page_de}" regex="${rx_imdb_de}"/>

      <if test="${imdb_de[0][0]!=">

       <set name="movie.imdb_id" value="${imdb_de[0][0]}"/>[/CODE]


If the result is found in the first try then set name, if no result is found, try second one and if found set name .


Hope this makes sens to you now :)


Thanks


Schenk


Sorry i forgot an e


Top Bottom