Hi Romain,
Thanks for the syntax check. It works great.
One little problem remains. In this elsif code, the final 'else' needs the
'content' line as well, but I'm not clear where/how to add it.
****
Original code:
else ("title", "Special Program - see www.RuralCatholicRadio.com for
details")
Would this work?
else
content = list.hd(get_process_lines("cat
/usr/local/radio/current/special/mp3/title.txt"))
("title", "Special Program - #{content}")
Thanks,
Andre
On Thu, 16 Jun 2011 15:28:48 -0400, Romain Beauxis <[email protected]>
wrote:
> Hi!
>
> 2011/6/16 <[email protected]>:
>> I'm not clear how to use the 'content' in my 'elsif' statement. Would it
>> look
>> like:
>
> It should be:
>
> elsif m["filename"] ==
> "/usr/local/www/rcr/radio/current/special/mp3/today-special-mp3-32.pls"
> then
> content = list.hd(get_process_lines("cat
> /usr/local/radio/current/special/mp3/title.txt"))
> ("title", "Special Program - #{content}")
>
> %include foo.liq is a very special keyword that should be used only to
> include .liq scripts in a given script. It is equivalent to copying
> and pasting the code of the included file in your script.
>
> Romain
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users