Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    16
    2.5 feature request
    I am constantly using the excel len(A2) function to conditionalize statements

    Ex.
    if Product name len > 225 char.
    concatenate(left(A2,225),"<br>",right(A2,225))

    It would save me 3 steps if you put a length test
    as an option in the WM-If feature.

    I imagine many marketers would fine the feature useful.

    Regards
    Debra Leitl

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    I like it, and it would be easy to do. This would give you syntax like:

    [WM-IF len(Field: ClientName) > 255]

    Would that work for you?

    If so, I may be able to add an attribute to handle truncation at the same time. This would be very helpful for providing short descriptions where you may not have control over the description content and want to show only the first few words.

    The syntax for this would look like:

    [WM-Field: MyField cutoff=200]

    ...where the "cutoff" value would be the maximum number of characters to be displayed, rounded down to the nearest word. The rounding by word would be important to maintain readability.

    As an example, if you had a Description field with this text:

    "WebMerge is ultra cool and you really gotta be using it every day for efficient data feed handling or you're wasting your time!"

    ..then using this:

    [WM-Field: Description cutoff=25]

    ..the output would be:

    "WebMerge is ultra cool..."

    The ellipsis would be added automatically for any text that's truncated. Any text whose length is equal to or shorter than the specified cutoff would not be altered.

    Question: which would be a better term for that: cutoff, trunc, or maxlen?

    They all sound a bit geeky to me, so I'd like the one that sounds the least geeky to keep the syntax as friendly and easy to remember as possible.

    If I squeeze these into v2.5, can you commit to testing the heck out of them early next week? v2.5 is otherwise quite close to release, and I'd prefer not to delay it further. If not, I would add these in v2.6.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    16
    RE testing 2.5 feature request
    This syntax is inline with my vision.
    [WM-IF len(Field: ClientName) > 255

    I am used to the term truncate so for me trunc or truncate is geeky, but part of my daily lexicon. Maxlen is what it says it is, so that is also a solid choice.

    Word rounding, or space detection is definately key to humanizing the output.

    I will be available for testing pretty much straight through until the Friday the 20th. I have predefined processes that I can port over quickly.

    email me at debraleitl@usa.net
    Ciao
    \D

  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    Thanks for your offer to help test this. I was able to add both features, posted in b6:
    http://www.fourthworld.com/products/...load.html#beta
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Feature Request
    By Convergence in forum Impact Radius
    Replies: 8
    Last Post: August 27th, 2013, 03:13 PM
  2. Feature Request
    By janew in forum ShareASale - SAS
    Replies: 3
    Last Post: July 1st, 2010, 03:07 PM
  3. Feature request
    By jazzylee77 in forum PopShops
    Replies: 2
    Last Post: December 21st, 2009, 02:07 AM
  4. Feature Request
    By HardwareGeek in forum Commission Junction - CJ
    Replies: 2
    Last Post: October 23rd, 2005, 10:09 PM
  5. CJ feature Request
    By HardwareGeek in forum Commission Junction - CJ
    Replies: 0
    Last Post: December 18th, 2004, 02:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •