Hi.
I'm having a problem with updating my metadata.
I'm trying to display a default title if there is no metadata available.
I've  tryed to do as much research as possible but the code I am using doesn't 
seem to be working.
I keep getting the following message:
Error 2: Parse errorr
Here is my code
def metadata_function(metadata) =
    if metadata["title"] == nil then
        metadata["title"] <- "Default Title"
    end
    return metadata
end
Any help would be greatly appreciated.
Thanks in advance.
Regards
Martin
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to