Replace Data From field

scott.mcquilkin
Posts: 9
Joined: Mon Jan 29, 2007 11:45 am

Replace Data From field

Post by scott.mcquilkin »

Hi there,
I am trying to replace a custom extra field called "Company" with a fixed text string called "citi". So that the resulting xml file will be like

<company>citi</company>

"citi" is not found anywhere in the site being searched. Is there any way to fix this static string to the field?
scott.mcquilkin
Posts: 9
Joined: Mon Jan 29, 2007 11:45 am

Replace Data From field

Post by scott.mcquilkin »

If you press the refresh button on a post is automatically adds another post of the same subject.
User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Replace Data From field

Post by John »

The simplest method is to probably pick a short field like URL, search for .+ to match the entire field, and replace with your fixed string "citi".
John Turnbull
Thunderstone Software
scott.mcquilkin
Posts: 9
Joined: Mon Jan 29, 2007 11:45 am

Replace Data From field

Post by scott.mcquilkin »

Thanks for the advice. I tried it a few times like that (i thought) and it didnt work. I tried it again now...viola. Thanks!!!