Results 1 to 3 of 3
  1. #1
    Newbie
    Join Date
    March 9th, 2011
    Posts
    10
    Double or Multi Replace tags
    Can i use tag syntax like this?


    < ! -- Manufacture Category -- >
    < a hr ef ='[WM-FIELD: THIRDPARTYCATEGORY raw replace(comma,empty) replace("/"," ") replace(" "," ") replace(" ","-")]/[WM-FIELD: ADVERTISERCATEGORY raw replace(comma,empty) replace("/"," ") replace(" "," ") replace(" ","-")]/[WM-FIELD: MANUFACTURER raw replace(comma,empty) replace("/"," ") replace(" "," ") replace(" ","-")]/ '>[WM-FIELD: MANUFACTURER raw replace(comma,empty) replace("/"," ") replace(" "," ")]< / a > |


    I have tried this and it looks like it doesn't work. any ideas on how to daisy chain replace tags?

    -Jeff

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    You can do multiple replace operations in a single WM-Field tag by just putting all find-and-replace pairs within the same replace function, separated by semi-colons, e.g.:

    [WM-Field: MyField replace("find","replace";"/","-")]
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. #3
    Newbie
    Join Date
    March 9th, 2011
    Posts
    10
    hm, nice, that's what I'm looking for.

    thank you.
    -jeff

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Double DOUBLE Markdown Deals for 4/8!
    By Stefanie Tu in forum BettyMills
    Replies: 0
    Last Post: April 8th, 2014, 05:15 PM
  2. How can I replace commas. Replace wont' do it
    By sotonman in forum WebMerge (Fourthworld.com)
    Replies: 8
    Last Post: April 25th, 2007, 04:37 AM
  3. WM tags into the Replace attribute!!
    By it2shoes in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: March 21st, 2006, 11:45 PM
  4. Multi Cheap Mini website vs Multi domain Hosting
    By probiz in forum Domains & Hosting
    Replies: 2
    Last Post: December 30th, 2003, 06:01 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
  •