Tuesday, July 27, 2010

Re: Generate dynamic command string with imbedded token?

0 comments
In the regex you mention movietitle, yet in the incoming data its an
artist list. Can you please confirm the incoming data format and the
regex you are using?

Also, try setting a global token (choose target type as global)

If you want to assign the string to a dynamic image, you can use
onmatch item to reference the capture group by name and assign a
serial value:
Target = serial
Join = join of your image in the list item (you must also set the list
join in the feedback properties)
Value = http://192.168.20.113:5005/getart?guid=$[guid]$&h=300&w=234&c=1&rfle=3&rflh=30&rflo=40&rz=15&fmt=png.png

Jarrod

On Jul 28, 4:13 am, Brad <b...@verohomies.com> wrote:
> Hi All -
>
> I am trying to build a dynamic command string that includes a token
> from a list.
>
> The following commands displays cover art graphic as a dynamic image:http://192.168.20.113:5005/getart?guid=37942400-87cf-4305-8ad6-3cc320...
>
> I am filling a dynamic list from the following data:
> BeginArtists Total=4 Start=1 Alpha=1
>   Artist {6b993d37-7aef-49c5-aff5-e64669ad3891} "The Allman Brothers
> Band"
>   Artist {a03784a8-1f2c-4f43-a386-08678544d99c} "The Band"
>   Artist {1bd6bbea-2f35-4594-a20a-b783dbd28a7f} "The Beatles"
>   Artist {cda0dd4f-cef1-43e9-9a90-b1f7f44c40d9} "The Who"
> EndArtists NoMore
>
> I am capturing the token with this regex:
> (?ims)movietitle \{(.*?)\} "(.*?)"
> Name=[guid]
> Capture index=1
> Data type=serial
> Target type=digital
> Join=253 (my list button digital)
> Token type=Token
> List index=
>
> I want to build a string with an imbedded token such as:http://192.168.20.113:5005/getart?guid=[guid]&h=300&w=234&c=1&rfle=3&rflh=30&rflo=40&rz=15&fmt=png.png
>
> What am I missing?
>
> TIA - Brad
>
> BTW the artist list builds just fine.  The dynamic cover art also
> works as a pure command.  I just need the secret to dynamic commands
> using tokens from lists.

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "Re: Generate dynamic command string with imbedded token?"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com